Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

USB 6343 digital output low

Solved!
Go to solution

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

0 Kudos
Message 1 of 3
(2,833 Views)

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

Message 2 of 3
(2,829 Views)
Solution
Accepted by topic author Leonid_Pascar

Thanks

0 Kudos
Message 3 of 3
(2,821 Views)