I want to continuous write a digital signal with the 6533 (PCI-DIO-32HS). This digital signal is generate from a finite pattern of 0 and 1 read from a txt file. The user could choose the sample rate and if the sequence will repeat continuously or only once.
1) I tried already with the “Write Property Node” in a while loop with a write function, but I can´t achieve it…The combination of this node with the DAQmx functions: write, start task, etc. that I did is not working.
Which functions should I use (write, start task, node, etc.) and in which order?
Which functions have to be in the while loop?
How should I configure the Write Property Node?
2) I tried also with the continuous sample mode from the DAQmx Timing and a continuous signal is generated. But how can I control to stop the task?
Because with this option I use the DAQmx Wait until done and I have this error -200560
Which option is better or should I do another?