@Jerson_Jose wrote:
Hi,
how do I send a Boolean value to an Arduino digital port using VISA Write if it only accepts strings? The Boolean value will open/close the valve connected to the digital port of Arduino.
Thank you.
Use Format String to put the boolean into an ASCII representation of some kind. Most commonly, I see "%d" for the format which will turn the Boolean into a "0" or "1".


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