Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 66670

Overlay serial data over stored waveform in waveform chart

$
0
0

Hi all,

 

I have a PIC18 sampling and transmitting ADC data (10-bit) via UART at roughly 1,000 samples/s at a baud rate of 19,200 bit/s. I have no issues with plotting this data in "real-time" via a waveform chart.

 

I have a desired waveform that I have generated in LabVIEW and I would like to be able to superimpose my serial data over top of this waveform within a waveform chart. Essentially I have a potentiometer varying the sample value on the PIC18 ADC and I would like to be able to trace the generated waveform (in LabVIEW) with this transmitted data.

 

Attached is an image of what I am trying to accomplish. The red trapezoid waveform is the generated waveform and the black trace is the incoming serial data that I am varying with the potentiometer (trying to mimic the red waveform).

 

Any advice is greatly appreciated.

 

Thanks,

J


Viewing all articles
Browse latest Browse all 66670

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>