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

Simple Serial.vi changing command string to string-type shared variable

$
0
0

Hi, 

 

I am trying to communicate with VISA Serial instruments and I did it with example - Simple Serial.vi. However, I would like to use network-published shared variable (string type) to send command to the instruments by replacing the string command (*IDN?\n) to the shared variable with same command loaded into the variable. Figure below shows the Simple Serial.vi added into a .lvproj file and a shared variable "READ" is preloaded with exactly same command. 

 

May I know how to make it work as I am unable to communicate with the instrument once I changed the string command to shared variable? 

Thank you. 

Best regards, 

Wing 

 

wing98_0-1609735121301.png

 


Viewing all articles
Browse latest Browse all 5566

Trending Articles



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