LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How to output an Enter character through com port?

I want to output "#01" and an Enter character to a device in the R485 net. How should I do with RS232 lib. I'm not familiar with com communication. So, hope your help.
Thanks in advance.

Message Edited by zhgwyh on 07-08-2005 02:09 AM

0 Kudos
Message 1 of 3
(2,947 Views)
"#01\n" should be the easiest way.
Regards


0 Kudos
Message 2 of 3
(2,946 Views)
Well, "\n" is really a "new line" of "line feed" character, that is 0x0A.
 
Usually the Enter key means "Carriage return", i.e. 0x0D: you can obtain it by using "#01\r"


Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
Message 3 of 3
(2,938 Views)