06-12-2015 05:25 AM - edited 06-12-2015 05:29 AM
Using Express vi to generate continuous output on two digital ports of NI USB-6341 - extremely basic:
To test, I simply right-click create a control at the data input of the express-vi and types in some data manually.
There are two digital lines dev1/port0/line0 and dev1/port0/line0 so I would expect this input to be an array of two digital waveforms each with one line of data. Right?
Below is what it looks like and the error I get. Sample rate is set at 1kHz.
In the express vi, #samples to read is set at 4 (as wfm has) or 1k - it gives the same error.
Solved! Go to Solution.
06-12-2015 05:55 AM
The error is quite clear. You have to give at least 2 samples. So change your waveform data to have a second data point for each digital waveform. You can just make it the same as the first data point.
06-12-2015 06:04 AM
Thanks crossrulz,
Time evolves vertically not horizontally in a digital waveform control/indicator - as I implicitly assumed.
then the express vi works. Thanks for the tip