LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Decoding binary strings from 10 bit A/D converter

Hi all,
 
I'm working on a project for school that requires me to take data from an A/D converter ( the A/D is on a Motorola HCS12 microcontroller) and send it to a PC running LABVIEW to decode the binary string into a numerical value.  The value will be plugged into an equation.  I planned on using the serial port on the PC for the comm port.  Are there any examples available or any advice to get me started in the right direction. 
 
While I have programmed with LABVIEW in the past (academically) I am not proficient.  And this type of interfacing I have not done before, only GPIB.
 
The A/D is 10 bit.  How quick LABVIEW decodes the binary string and returns a value is not important. 
 
If any more info. is needed let me know.    
0 Kudos
Message 1 of 3
(2,633 Views)

Be confident. That should not be a big problem, since you'll get the help of the LV community 😉

The most difficult part will be to establish the communication with your micro-controler. But if you can do that with Windows hyperterminal, then you are nearly done ! There are examples of serial com in the examples shipped with LV.

The string to decimal conversion will not be a problem, whatever the string format : the conversion is done using functions also shipped with LV.

Hope to see you soon with more specific questions.

Chilly Charly    (aka CC)
0 Kudos
Message 2 of 3
(2,623 Views)
Thanks, I'm sure I will have plenty of questions!
0 Kudos
Message 3 of 3
(2,589 Views)