Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

Digital Output and delay Timer

Hi ,

 

In my application, i am trying to turn on a Digital Output for a specific time by using NI USB X series 6341. My problem is, the digital ouput is ON more than my specific time time dealy. See the attached code. My delay time is 10 secs and the digital output is between 15-20 secs.

 

Can anyone see my code please ?

 

Thanks

 

~Repon

0 Kudos
Message 1 of 2
(4,450 Views)

You need to account for the time to read the DAQ data.  You are probably trying to get 5-10 seconds worth of data.  I don't have DAQmx on my home install, so I can't tell what your settings are.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 2
(4,446 Views)