05-29-2013 01:13 PM
Hi , I read multi digital waveforms in a loop and I would like to split the channels. For analog waveform I can simply use split signals control. How about digital waveform, is there any equivalent for digital channels?
05-29-2013 02:10 PM
You can use firstly "Digital to Boolean Array VI" to get a 2D boolean aray equivalent of Digital Waveform samples...!!
But remember at this step, the sampling rate information (dt) will be lost (after you've converted the digital waveform to 2d array of boolean)...
Now next, if I'm not wrong, here each column would represent different waveforms...!!
At last, you can use "Boolean Array to Digital VI" to convert 2d array of boolean back to digital waveform...!! You will require dt (sampling rate info) here at this step...!!
Additionaly to extract sampling rate info from the digital waveform, before you convert it to boolean array, you can use "Get Waveform Components (Digital Waveform) Function"
05-30-2013 09:05 AM
thanks moderator1983
it is not possible to connect my output from DAQmx Read(Digital 1D Wfm NChan NSamp).vi to Digital to Boolean Array VI" because this one accepts digital waveform while my output from DAQmx Read is 1D array of digital waveform.
05-30-2013 11:10 AM
Here you go...!!
06-24-2015 07:12 AM
Can you send vi form purpose for analog signal. signal is measure from NI 5133 using niScope Read (poly)
06-24-2015 08:16 AM