05-01-2012 08:35 AM
Hi,
I am using the digital output of USB 6343.
Sometimes When I stop the writing(erasing the task) the output pin remains in high state(I see it in the oscilloscope).
Is there a possibility to define that after earasing the task the ouput pin will always be in the low state?
Thanks,
Leonid
Solved! Go to Solution.
05-01-2012 09:03 AM
Leonid,
When you stop or clear a DAQmx task, the digital output lines will remain in whatever state they were in before stop/clear was called. If it is important for the lines to end in the low state, I would recommend that you explicitly write them to low before clearing your task. There is not a way to specify this behavior with clear task.
If you are doing a continuous generation and do not know the state of your port when you stop, I'd recommend running a 2nd 'on demand' task which writes the port low after you clear your hardware timed task.
Hope that helps,
Dan
05-02-2012 02:02 AM
Thanks