LabVIEW Embedded

cancel
Showing results for 
Search instead for 
Did you mean: 

Carriage Return and Line Feed with UART ASCII

Working on UART comm with the LM3s8962 and I am wondering how LabView handles the <cr><lf> that is involved with the UART commands from the user manual I am trying to communicate with.

 

For Example

 

*Q<cr><lf> (how do I enter that as a string in LabView to have it be recognized correctly.)

 

The other commands are the same minus a change in the Letter proceeded by the Asterisk. 

 

Thanks 

0 Kudos
Message 1 of 2
(7,068 Views)

Hi Tilgath,

 

Does the device have to use these specific codes? Can you post the manual that has this information?

 

You can enter codes into a string in LabVIEW, but only slash codes (for example a space is \s) and hex codes. Right-click a string control or indicator in LabVIEW and see that you can select '\' Codes Display or Hex Display.

 

Regards,

 

Stephen S.

Message Edited by Stephen_S. on 03-04-2010 02:58 PM
National Instruments
Applications Engineering
0 Kudos
Message 2 of 2
(7,039 Views)