LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

USB 6259 DAQ express rate of digital output issue

Hello,

         I have a fairly basic question.  I'm using the USB 6259 NI DAQ, and I'm tried to use both the digital and analog output options on the DAQ express to generate a step voltage to activate a small motor.  I am able to activate the motor, but the duration of the pulse is longer than I want. It lasts for around 500ms and I want it to go for about 25ms.  No matter what I do (ie. make the loop simplier) it still takes about 500ms.  I'm assuming that the computer can output MUCH faster than 500ms, and thus I have a feeling the DAQ express controls the duration of the output..but the trigging options are unavaiable (i.e. they are unclickable).

 

thank you.

veritas

 

0 Kudos
Message 1 of 2
(2,129 Views)

Express VIs are not suitable for timed DIO.

 

Take a look at the DAQmx examples.

Esp. Correlated Dig Read with Counter.VI (under Hardware Input and Output\Daqmx\Digital Measurements)

 

TOn

Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
0 Kudos
Message 2 of 2
(2,114 Views)