Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

run program digital output is one all the time and stop program then digital output is zero all t he time using PCI-6251 with NI-DAQmx

hi every body,
 
i used ur example "C:\National Instruments\NI-DAQ\Examples\DAQmx ANSI C\Digital\Generate Values\Write Dig Chan.dsp" to get the above application.
Running the program, i can get all one setting all bits to 1, but after stopped the program all output samples still 1 in the oscilloscope.
Pls let me know how can i do that as soon as possible coz the project time line for me is very tight.
 
thanks and best regards
 
0 Kudos
Message 1 of 2
(2,846 Views)
You need to write a logic 0 to the bits prior to exiting you program.
Posting your code would also assist us assist you.
~~~~~~~~~~~~~~~~~~~~~~~~~~
"It’s the questions that drive us.”
~~~~~~~~~~~~~~~~~~~~~~~~~~
0 Kudos
Message 2 of 2
(2,834 Views)