08-19-2017 02:01 PM
I want to give an array lets say 3,4,6,9
then starts like this
send 3 digital signal to daq -- stay 15 second
send 4-3 = 1 digital signal to daq -- stay 15 second
send 6-4=2 digital signal to daq -- stay 15 second
send 9-6=3 digital signal to daq -- stay 15 second
currently, 15 second includes the time to get to the next level ( let's say it take 100 ms for daq to relay each signal to my device for each signal). how can i make it that at first runs the signal sending loop, then wait 15 second then read the next array value
08-19-2017 02:43 PM
You probably want to initialize your shift registers.
What's the point of the inner loop? Can't you just create the entire pulse train at once and then play it back as boolean array?
(Sorry, I don't have DAQmx installed here, so I cannot look at your IO)
08-19-2017 04:24 PM
Some comments:
Bob Schor
08-19-2017 04:35 PM
Sorry I meant 3 ( as in T F T). I'll try the suggestions . Thank you very much