Not understanding why the ouput of Concat is working differently for MatrixWriter and DAQmx AnalogOutput #2436
Unanswered
jeehan-phillip-lee
asked this question in
Q&A
Replies: 1 comment 4 replies
-
|
Hi @jeehan-phillip-lee if you are only playing the 3.1s waveform once, can you try setting the |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
This is the workflow in question (file: analogouptuttest.zip), where I was trying to make the NI device output a square wave for 3 seconds and then reset the voltage to 0. The sequence that I'm reading with MatrixWriter after Concat seems to be as intended - I get the square wave for 3 seconds and then 0.1 seconds of 0 values returned. However, the voltage output is behaving unexpectedly, where the square wave gets continued for 3.1 seconds and then remains high. In the image shown, all the buffer sizes for the nodes that require them are matched (to 100 samples = 0.1s) - but I also tried increasing ScalarBuffer size , this makes the square wave continue for that much longer.

I got the idea to do this from this old discussion - but I'm not really sure where I am making a mistake. Would greatly appreciate any help on this, thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions