Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Result obtained from A/D conversion

Hi

Please can anyone help, I'm a little bit confused.

Before using LabView to process input from RS232, is it necessary to convert an ADC result (8 bit... using PIC) to ASCII code before transmitting via RS232 to LabView.

 

Thanks

0 Kudos
Message 1 of 3
(3,569 Views)

No

 

but please disable the endcharacter detection.

This could influence the receiving of char 10 decimal.

 

In labview you read the byte as a one character string and you can convert that to an array of bytes and index element zero to get the value.

greetings from the Netherlands
Message 2 of 3
(3,566 Views)
No. You can send it in whatever format you want and convert. In LabVIEW, you could choose to interpret the data as hex (i.e. 00-FF) and in fact, there are numerous discussions and examples on doing that.
Message 3 of 3
(3,566 Views)