Quantcast
Channel: Instrument Control (GPIB, Serial, VISA, IVI) topics
Viewing all articles
Browse latest Browse all 5565

VISA: Parallel threads and locking instruments

$
0
0

Hello,

i have 50 instruments that are controlled in two threads running at the same time.

Thread 1: Only VISA write (configuration of the instruments)

Thread 2: Visa write and Visa read (read measurement from instrument)

 

Can i now simply add the "Visa Lock Async VI" before the write and "Visa Unlock" at the end?

 

Thread 1: Visa Lock -> Write -> Visa Unlock

Thread 2: Visa Lock -> Write -> Read -> Visa Unlock

 

Thanks


Viewing all articles
Browse latest Browse all 5565

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>