LabVIEW Embedded

cancel
Showing results for 
Search instead for 
Did you mean: 

multiple sensor data collection

I have built a Board using microcontroller 89C51 which collects data (analog) from an array of 8 different sensors through an ADC0808 and sends this data serially to a computer. I'm using RS 232 communication protocol to achieve this. I'm trying to develop a Labview program which can display 8 different waveform graphs corresponding to these 8 different sensors.
 
I have successfully managed to read the serial port. The microcontroller after collecting data from the sensors sends them to the computer sequentially. I am not able to segregate the data stream into 8 different sections for plotting the graphs. I'm new to labview.. Any ideas on this would be very much appreciated.
0 Kudos
Message 1 of 3
(6,384 Views)
Hi,
 
Could you possibly post the code you maybe using to collect this data? Also would it be possible for you to throw more light on the format of data from all the eight sensors or a dataset that may have been obtained from the sensors?
 
 
Mehak D.
0 Kudos
Message 2 of 3
(6,379 Views)

If your input stream is coming into a 1D array, you might try using the

Decimate 1D array function in the array control group.

Pull down the control until it matches the 8 data sets... (or 9 if there is a framing character of some sort in the data stream)...then each set should come out a separate output of hte block.

You probably need to be careful that the serial stream always appears in the same order for this to work right.

Hope that helps.

The Hummer

 

0 Kudos
Message 3 of 3
(6,309 Views)