LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Tutorial Creating a Windows NT Service Using LabVIEW

Hi to all,

I read this tutorial (http://zone.ni.com/devzone/cda/tut/p/id/3185) and follow it step by step, but it didn't work. It seems that CookieServerService.exe don´t load GetCookie.vi in memory and I don´t know why.
I made it in Labview 8.2
Download All
0 Kudos
Message 1 of 5
(3,050 Views)
You could provide more information on what you are trying to do?
0 Kudos
Message 2 of 5
(3,014 Views)
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:
  1. Run your CookieService.exe application. The front panel appears because you have not actually changed the application into a service, yet. (it's OK)
  2. 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)
  3. 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)
  4. Quit the CookieService.exe application by closing the front panel with the Close button.


0 Kudos
Message 3 of 5
(3,001 Views)
Do you use the Automation Open.vi with the machine='localmachine' ?

Felix
0 Kudos
Message 4 of 5
(2,993 Views)
Did you remember to create a CookieService.ini file with the following lines:

[CookieService]
server.tcp.enabled=True
server.tcp.access="+*.ni.com;+*.natinst.com"
server.tcp.port=8363
runAsService=TRUE


0 Kudos
Message 5 of 5
(2,988 Views)