Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Synchronous Input and Output with NI USB-6009.

Hello,

with my NI USB-6009 i am trying to realize the following: The voltage measurement (sensor) should start with 22 khz sample rate. After approx. 0,1 ms should a digital output change its state to trigger a mechanical actuator.( You see the signals in the given graph)

Is this possible with this Device? If i set up the tasks in Measurement Automation Explorer and use them in one while loop, the measurement starts and after it is done, the digital output changes. 

Does anybody knows a solution? Would you use notifiers to synchronize?Which kind of hardware (trigger, counter) is maybe missing on the 6009 so that i can not reach my target?

 

Thanks

Equation

 

 

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

Equation,

 

The outputs on a 6009 are software timed.  You will not be able to do that kind of synchronization.  Perhaps the counter could generate a delayed pulse but I am not sure about the triggering options.

 

One thing which might work is to start a continuous analog acquisition.  Then trigger the output pulse from software, without worrying about the exact timing.  Record the output pulse on an unused analog input channel.  After everything is done, select the portion of the sensor data (before and after) the trigger pulse for further analysis or saving.  You accumulate some extra data and then discard any that is irrelevant.

 

Lynn

0 Kudos
Message 2 of 2
(2,848 Views)