11-03-2011 10:45 AM
Hello all,
I am hoping one of the Labview Gurus on the forum can give me some advice on serial communciations...I recently aquired a dual color pyrometer and I'd like to communciate with it via RS232. So my first step was to make sure that the com port was configured correctly so I used teraterm to make sure I can send and receive outputs to the instrument. I can easily send and receive data from the instrument. Than I tried to use the basic and write serial vi and I cannot get any kind of response from the pyrometer. I looked on this forum to see what other users have done and I tried some of the suggestions but to no avail. For example, if I want to issue the command (from the instrument manual) to change the display from ºF to ºC I will issue the command 01fh1. I added \r, \n, \r\n to the end of the command but no response. If there something I need to do to measurmenet and automation explorer to activate the serial connection? I did look at the com1 port and made sure all the settings were correct but no luck. Am I missing anything obivious?
Thanks for your help in advance!
Jay Poret, Ph.D.
11-03-2011 11:08 AM
When you entered \r \n or \r\n, were you in slash code display or normal display?
If you were in normal display, then all you did was send a slash and an "r". If you were in slash code display, then \r is actually the carriage return character.
11-03-2011 11:24 AM
I think they may have been the problem...I just tested it and as you stated if the slash mode isn't selected the vi will not work. Thanks for your quick response....
Jay