LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

vi server exe

Solved!
Go to solution
Solution
Accepted by topic author Neil.Pate

Norbert,

 

Just before reading your post I figured it out. The trick was, and I did not know this, you need to set the VI server properties in the project target, and not the LV IDE options.This causes the correct ini file settings to be included in the build.

 

Setting a port is not required if it is left as the default .

 

I still dont really understand what you mean by a reference to its own application, all you are doing is opening a reference to the VI server which is running on localhost. It does not have anything to do with which VI/exe started the server.  

 

The main.ini file does not reallty need any entries

 

The watchdog.ini contains this:

 

[Watchdog]

server.tcp.enabled=True
server.vi.access="+*"

 

Any hey presto it works (as long as you start watchdog.exe first, which is what the code expects).

Attached is the working project + built apps.

 

Thanks for your continued help in guiding me to the correct answer Smiley Wink

Message 11 of 13
(1,011 Views)

Neil,

 

it;s good that your solution works for you. But please note that your approach does only work if you closed the developement system of LV completly. Otherwise, you will open the reference to the developement system and will not be able to access your watchdog.

If that is ok for you, just leave it like it is. If not, you have to define a port other than 3363.

 

hope this helps,

Norbert 

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
Message 12 of 13
(995 Views)

Yes, thanks Norbert. I was closing the IDE as then I did not have to change the port. Thanks again for your help.

0 Kudos
Message 13 of 13
(977 Views)