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