10-07-2017 12:57 PM
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
Solved! Go to Solution.
10-07-2017 01:22 PM
Yes. You can certainly do that. Each instrument will have its own purple wire associated with it.
10-07-2017 04:37 PM
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.
10-07-2017 06:45 PM
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.
10-08-2017 06:59 PM
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