Ok, when i search here for "windows service" i read that NI has a tutorial page (http://zone.ni.com/devzone/cda/tut/p/id/3185). So i read it to learn how to make a service, but in the step "Creating the client" it said:
- Run your CookieService.exe application. The front
panel appears because you have not actually changed the application
into a service, yet. (it's OK)
- Create the cookiefile.txt file in the
same directory as the CookieService.exe file. Add a few lines of
message text to the file and save it. (it's OK)
- Run the GetCookieClient VI a few times. It displays a random text line from cookiefile.txt each time you run it. (LabVIEW sends an error code, saying that the VI isn't in memory)
- Quit the CookieService.exe application by closing the front panel with the Close button.