LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to save a TCP session ID opened and use it in another VI?

Solved!
Go to solution

what i want to achieve:

   open a TCP session in a VI, save the session ID to Teststand, then after certain process, write/read/close the same TCP session in another VI.

 

my question:

   1. how to pass TCP session ID between labview and Teststand

   2. how to use the same TCP session across different VIs.

 

thanks

0 Kudos
Message 1 of 2
(2,434 Views)
Solution
Accepted by topic author yongjian

You  could typecast the reference to a U32 and sent that u32 to Teststand.

 

Be aware that the VI that opens the reference should be kept active (=running) or LabVIEW might close the reference silently.

 

Ton

 

Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
0 Kudos
Message 2 of 2
(2,413 Views)