Hi Kelken,
Does each Binary MLS vi generate just one sample for every loop, or it generates a long sample and then sends one sample to the physical channel and discards the rest?
It generates as much samples as you wired at the input.
Inside the VI there is a for loop. If you wire a value 128, the for loop is running for 128 times, and generates 128 samples. If you only wire a "1", there will be only one sample.I have also realised that employing 32 sources is a bit overkill. Can one rewrite the code using just one MLS source?
Yes you can use one source, that's enough.I would also like to know the difference between array-based and waveform-based signals.
Array based signals don't have as much informations as waveform based signals.
Waveform signal e.g. have a timestamp,...
See screenshot.How can I rewrite this code using the waveform-based MLS signal generator?
If you want to rewrite this code using waveforms, you have to add your arry to the normal waveform data.
The simplest way to see what I mean is the following:
Set you "Daqmx Write" to Waveform (Multiple Channels -> Single Sample -> 1D Waveform)
Then create a control as input. Here you see all the data in the waveform, including an array. This array should be your array, so you have to build your own waveform.Hope this helps.
Best regards
Dippi