LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Initialize a session using IP address

I'm trying to restart a real-time target, similar to what is described here, in LabVIEW 2014:

 

http://digital.ni.com/public.nsf/allkb/DFD8CB158F30788D86256E6A00755495

 

As it is mentioned in this page, in LV 2009 - 2011 I could use the RT Restart Target.vi and the IP address of the target. In LV 2012, however, we need to first initialize a session. My question is how can I programmetically initialize a session when I only know the IP address of the target?

 

Thanks

0 Kudos
Message 1 of 5
(3,359 Views)

init.png

0 Kudos
Message 2 of 5
(3,343 Views)

While I try to connect to a NI-CVS-1458RT the way you mentioned, I get this error message:

 

Error Code: -2147220621: nisyscfg.lvlib:Initialize (Helper).vi:3930001<APPEND>

<b>Complete call chain:</b>
nisyscfg.lvlib:Initialize (Helper).vi:3930001
nisyscfg.lvlib:Initialize Session.vi:1230001
Restart CVS.vi

Restart CVS is the name of my VI.

 

 

0 Kudos
Message 3 of 5
(3,282 Views)

Can you scan network with find sistem vi and then manually set sys name for test init session method?

0 Kudos
Message 4 of 5
(3,273 Views)

I am trying to use Find Systems.vi to find the CVS. One of the inputs is "Device Class". According to help, "specifies the type of device for which you are searching. Common values are PXI and cRIO". What is the device class for CVS.

 

Spoiler Alert: "CVS" doesn't work!

0 Kudos
Message 5 of 5
(3,218 Views)