LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to convert a boolean array into a digital waveform

Hello.

I am trying to convert a 1D boolean array into a digital waveform which can be output on a single digital line of my PCI-6733.  I do not understand why the "Convert Boolean Array to Digital Waveform" requires a 2D array.  What are the two dimensions?  Is it data x line, and if so, which dimension is which?  Can waveforms only be used to write to digital ports?

Thank you,

LRC

0 Kudos
Message 1 of 3
(9,789 Views)
Hi LRC,

one dimension is time (each waveform is signal over time), other dimension is number of signals...

Read the detailed help for "Build Digital Data", you can find a link in the context help!
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 3
(9,782 Views)
Hi LRC,

The 2D array is if you want to convert more than one signals.
You can use the build array function to convert your 1D array to 2D array. See attached image.
Message 3 of 3
(9,775 Views)