From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Convert 1D Array of Digital Waveform to Digital Waveform

I'm using the attached program to acquire and graph data output from a 12-bit ADC via the digital inputs of an MSO6104A mised-signal scope. I want to convert the 1D array of digital waveform to a single digital waveform, then convert to analogue waveform so I can view the ADC output. I am not clear how to convert the array of waveform to a single digital waveform.

 

All help appreciated.

 

Thanks.

Download All
0 Kudos
Message 1 of 5
(4,437 Views)

Hi RollsRoyce,

 

HOW do you want to convert your digital waveforms?

Do you want to append them to form one bigger waveform?

Do you want to combine them bitwise to form an U8 value from 8 bits?

 

Can you supply example data and expected result?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 5
(4,422 Views)

The array of waveforms is the output from a 12-bit analog/digital converter. Each row in the array carries a single bit of the 12-bit output. I want to combine this into a single waveform so I can graph the ADC output as an analog waveform.

0 Kudos
Message 3 of 5
(4,408 Views)

Hi RollsRoyce,

 

this one shows the basic principle to convert digital waveforms:

check.png

(I'm using the Ramp generator to produce some meaningful data…)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 5
(4,383 Views)

Hi Rolls,

 

Try this, It will give the Digital output of all combianed Array of inputs, You post process acording to your analog voltage refernce.

 

 

Digital waveform decoding.png

 

Regards,

Somashekhar M

0 Kudos
Message 5 of 5
(4,376 Views)