From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple VISA TCP clients possible?

I have multiple parallel Labview client threads communicating with single TCP socket server. The design works fine if I use Labview TCP library.  Each client preserves a unique TCP client connection ID. The clients connect to the same server port and the server starts a separate thread for each client connection and preserves unique connection ID for each thread.

 

I would like to switch Labview clients to VISA TCP socket protocol for a number or reasons. I tried opening a unique VISA session to the same VISA server socket with "duplicate session" set to TRUE. After some testing it looks to me that the clients are, in fact, share the same VISA TCP connection nevertheless. In other words, even if I open duplicate VISA session, the unique TCP connection is not preserved for following calls to VISA write and read using this VISA session ID.   I don't  see other options in VISA library. 

 

Is it possible to have multiple unique VISA TCP socket session in Labview at all?

0 Kudos
Message 1 of 3
(3,083 Views)

Hello Fedor,

 

I hope I have not bumped this topic too late. I do not have an answer for you at this time, but I will consult with our Serial (and VISA) specialist here to see if they can offer some insight.

 

Thank you for your patience,

Alex

---
Alex C.
Applications Engineer
National Instruments
ni.com/support
0 Kudos
Message 2 of 3
(3,004 Views)

Alex, what is the outcome?

Michał Bieńkowski
CLA, CTA

Someone devote his time to help solve your problem? Appreciate it and give kudos. Problem solved? Accept as a solution so that others can find it faster in the future.
Make a contribution to the development of TestStand - vote on TestStand Idea Exchange.
0 Kudos
Message 3 of 3
(1,527 Views)