12-25-2013 09:01 PM
Hi,
I am trying to communicate with Y 4600 precision thermometer using labview (basic serial read and write) I am having troubles reading or writing data in USB. When I tried to communicate Y 4600 with hyperterminal I was able to communicate properly. One thing we have to do with precison thermometer is when we read ">" initially we have to send "T" inorder to receive the temperature. I realize that I am missing something, can someone please tell me what am I missing.
Thank you
P.S: Attached the application note for Y4600 Precision Thermometer
12-25-2013 09:33 PM
You must explicitly include the carriage return and line feed characters. They are not automatically added as some terminal emulator programs do.
The manual also mentions a "space" character. Make sure that is included.
Lynn
12-25-2013 10:23 PM
Thanks for the reply. The Application note mentioned "Each command must be followed by a carriage return/line feed (enter)" and T is te command I am interested in , so in the basic write and read VI I tried T and /T when I read "> " but no response. When I tried T in hyperterminal I was able to read the temperature values though. The space character followed by > is what we read initaially.
12-25-2013 10:33 PM
The string control on Basic Serial Read and Write is set to normal display mode (I think). They changed that example in LV 2013. To send CRLF you must either concatenate the carriage return constant and the line feed constant to the command string or change the control Display Mode to '\' Codes Display. Then you can type \r\n after the command text to get the characters you need.
Lynnb
12-25-2013 11:15 PM
Thanks Once again. I am using Labview 2010, while I am using Advanced serial Write and Read and while I write T\r\n I was able to read the tempurature values in labview, but when I try to redo it again I am having hard time to bring the rsults. What should I do to get the output everytime.
12-25-2013 11:24 PM