LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can LabVIEW read in two VISA data simultaneously?

Solved!
Go to solution

Is it possible for labVIEW to read two different VISA data simultaneously?

I have two instruments, one is reading the values another is executing the work. Therefore I would like to use labVIEW as a processing platform to program the read data before passing to the executing instrument, is this possible to do it? 

First set of VISA is to pass the value into labVIEW-First instrument

Second set of VISA is to pass the value to the instrument - Second instrument

 

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

Yes.  You can certainly do that.  Each instrument will have its own purple wire associated with it.

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

Just be careful when you use the same vi's in parallel. If the vi's are not reentrant, they will block and the devices will not run totally independent. This would become clear with execution highlighting on.

0 Kudos
Message 3 of 5
(3,852 Views)
Solution
Accepted by topic author tmd123

I had an application about 11 years ago that was based on reading data from 6 different serial ports.  That was a lot of VISA communications happening.

 

To a more modern, I had a test system that communicated with 3 different power supplies, a source meter, electronic load, DMM, and oscilloscope all using different VISA sessions running in parallel.

 

So, yes, you can have as many VISA sessions running around as needed.  How to manage all of them depends on the instruments.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 4 of 5
(3,834 Views)
Solution
Accepted by topic author tmd123

We collect data from 24 "stations" that have a dedicated Serial Device (a balance) that communicates over VISA and an IP Camera.  We read each balance 10 times/second, and acquire Video from each camera at 30 frames/second.

 

Needless to say, we don't have 24 VISA ports, instead there's a gadget has 24 serial ports, transforms them into TCP/IP Ports (actually, we have two devices each of which can handle 16 VISA lines, and use 12 ports on each of them for 24 ports.  So since the IP Camera traffic comes over TCP/IP and the VISA traffic comes over TCP/IP, we get all of our data through the single Network connector.

 

Bob Schor

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