LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Initialize Session over a network

Hi all,

 

When I try to use the Initialize Session in labview 2014 over a network with a different subnet, I receive this error message (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
CVS Update Utility.vi

 

The last line is the name of my SubVI.

 

However, the code works when both systems are on the same subnet. Does anyone know what goes behind the scene in Initialize Session? Anyway to make it work?

 

Thanks,

 

Soheyl

0 Kudos
Message 1 of 7
(3,877 Views)

Hi, 

 

Maybe we will need more details about the application, what are you trying to do? Are you using any hardware? Is this happening everytime? which type of comunication are you using? Any other details that you think could be helpful let us know.

 

Regards.

0 Kudos
Message 2 of 7
(3,822 Views)

Hi,

 

I am trying to remotely restart a CVS-1458RT from a Windows PC. The two are connected (I can ping the CVS from the PC), but on different subnets. Yes, it is happening anytime. In addition to ping, I can connect to the CVS through TCP and FTP. 

 

Thanks

0 Kudos
Message 3 of 7
(3,816 Views)

It looks like a network issue. Do you have the correct IP Address? Check the following info. 

 

L_487F.tmp.PNG

 

Also, on the next link you will find more info. 

 

http://kamery.atesystem.cz/site/assets/files/1338/cvs-1458rt_manual.pdf

0 Kudos
Message 4 of 7
(3,784 Views)

Maybe you can connect a monitor to the device to check the IP address

0 Kudos
Message 5 of 7
(3,782 Views)

The IP is correct. I can connect to it and even read the streaming data.

0 Kudos
Message 6 of 7
(3,775 Views)

Hi SoheyIV,

 

Are you able to see the CVS from NI-MAX?

 

According to the Initialize Session VI help:

 

Initialize Help.JPG

 

Essentially, this VI retrieves the possible targets from the ones you have under remote systems in MAX.

 

Regards,

AGJ

 

 

0 Kudos
Message 7 of 7
(3,747 Views)