06-22-2016 10:51 AM
You need to append an End Of Line to the message you send. The instrument is expecting that at the end of the messages.
06-22-2016 11:41 AM
I've tried a bunch of commands, including ones with \r and \n endings, and it returns either a "command unsupported" output or a time-out error (code -1073807339). The "command unsupported" error must mean that the device is being read and interpreted, which is good, but I'm failing to find a command that actually gives me a proper output. I've attached my VI in this post, to make my situation a little bit clearer.
06-22-2016 11:53 AM - edited 06-22-2016 11:55 AM
Hi malsko,
do you know the meaning of "\n"-codes (slash-codes), hexadecimal notation (like 0x0A), byte/U8 values (like "10"), ASCII chars (like LF) and how they all play together with serial port communication?
Your device expects a string with an EOL character at the end. This "termination char" is just one byte, most often with a decimal value of 10 or 13, corresponding to ASCII chars LF or CR, respectively.
This is COMPLETELY different to a string containg the TWO chars "\" and "n" at the end!
Hint: Use a string control and set it's display mode to "\-codes". That will make your life a lot easier…
When all those abbrevations are unfamiliar to you I recommend to read the Wikipedia articles about them…