11-20-2013 08:49 AM
I made a research about it but nothing found, also have no idea about what a "LF as message terminator" is and nothing found in LabVIEW help.
Does someone know what this warning is?
Thanks in advance.
Leo
11-20-2013 09:04 AM
LF is the line feed character. It is also known as a "new line" character. Decimal 10, hex 0A. If you have a string constant and it is set for \codes display, it will show up as \n in the string constant.
Just make sure the command you send as that character at the end.
When configuring the serial port with the VISA configure function, make sure the termination character is enabled, and set for that character. Which it is by default if you don't wire anything into those connectors of the function.
11-20-2013 09:05 AM - edited 11-20-2013 09:06 AM
Hi Leo,
check the VISA-SerialPortInit function. It has an input for "term char" with default value 0x0A (LF). Read the help or guess what it is good for...
11-20-2013 09:48 AM
Very quick response, thank you! In the end I use an instrument Getting Started.vi that uses various subVI's to Initialize the driver session, configure and read a measurement from the instrument , and Close the driver session. It works properly without any error or warning message. I studied al the subVI's inside but I didn't find any termination char..... but it works!
Thank you, Kudos!
11-20-2013 05:39 PM
The terminator is pretty clear in the GWPS320x Write VI. Assuming you are using the driver written by Instek.
11-21-2013 04:04 AM
Oh, you are right! Yes, I'm using Instek's drivers, but I didn't know that there were sub-sub-subVI's!
"I learned something new also today, it's a pity to die" (cit. my friend's chief).
Thank you
Leo