LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Test if LabVIEW running problem

I have a simple LabVIEW 6.0.2 VI to test if the development environment is running. I want to build it as an exe and schedule it to run once every 24 hours on W2Kto check if my main program is running in development environment on the machine (i.e check if LabVIEW has crashed.)

The VI returns the expected results until it is built as an exe, at which point it always returns false - even when development environment is running. Anyone know what might be wrong? (VI and exe of exact same vi attached)

Thanks for any help,
Paul.S
0 Kudos
Message 1 of 4
(2,847 Views)
Thanks anyway but I fixed it by wiring 127.0.0.1 to machine name and giving myself access to vi server 🙂
0 Kudos
Message 2 of 4
(2,847 Views)
Paul,

I just wanted to explain what you where seeing, in case you were curious.

A LabVIEW executable always runs in the Run-time engine. In addition an un-wired terminal returns the local LabVIEW instance, so for an EXE that is the Run-Time engine

By adding the IP address you are now asking it to go check that IP, and no longer are looking at the local instance. It is for this reason that it can actually check if the Development System is running.

Let me know if you have any questions.

Evan
National Instruments
Message 3 of 4
(2,847 Views)
Thanks for that Evan. I sort of worked out it was checking the local instance, but it took me a while to work out I had to configure the VI server...

Regards,
Paul.S
0 Kudos
Message 4 of 4
(2,847 Views)