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,209 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,130 Views)

Alex, what is the outcome?

Michał Bieńkowski
CLA, CTA, CPI

  1. Did someone devote their time to help solve your problem? Appreciate it and give kudos.
  2. Problem solved? Accept as a solution so that others can find it faster in the future.
  3. Contribute to the development of TestStand by voting on the TestStand Idea Exchange.
0 Kudos
Message 3 of 3
(1,653 Views)