LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Help ! Connection to RT vi server

Hi !
I'm trying to establish a connection to a PXI 8145RT module running a small vi (Pump Control RT.vi) that control a volumetric pump(LabVIEW 7.1).
The vi works nicely, and can be controled via the "Connect to Remote Panel...) option.

Now, I want to programmatically communicate with this VI, from my PC, to be able to read/write the variables used by the vi.
I wrote a VI (Start Pump.vi) that used to work (2 years ago !) but when trying to connect I get immediately an error 66 : Error 66 occurred at Open Application Reference in Start pump.vi : LabVIEW: the network connection was closed by the peer.

Any suggestion will be welcomed

CC
Chilly Charly    (aka CC)
0 Kudos
Message 1 of 3
(3,256 Views)
Hello,

You have first to verify that VI Server on the RT Engine is configured to allow your Host PC to access it.
You will find more details about it here :
http://digital.ni.com/public.nsf/websearch/E94F4699B7FB82E086256B6E007B0AB3?OpenDocument

regards,

Marc L.
Message 2 of 3
(3,232 Views)
Bang on !
Somebody stupid (me probably >:() had configured the RT vi server to allow access only to... himself !
Thanks for the link !!!

CC
Chilly Charly    (aka CC)
0 Kudos
Message 3 of 3
(3,216 Views)