Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
This Document is not yet Rated  Rate this Document

Unexpected Delay When Using DAQmx Analog Start Trigger

Primary Software: Driver Software>>NI-DAQmx
Primary Software Version: 7.0
Primary Software Fixed Version: N/A
Secondary Software: N/A
Hardware: CompactRIO>>Analog Input Modules, Multifunction DAQ (MIO)>>E Series, Multifunction DAQ (MIO)>>M Series

Problem:
When I use a DAQmx analog edge start trigger with an M Series DAQ device, my program appears to last 250-300ms longer than when I do not use an analog edge start trigger. Why is this happening, and is there anything that I can do to get around it?

Solution:
There is a built-in delay of 250 ms that occurs in the DAQmx Start Task VI when an analog edge start trigger is used with an M Series device.  When the analog edge trigger is configured, a reference voltage must be created at that analog value onboard the DAQ device.  The delay added to the DAQmx Start Task VI is necessary to allow the hardware components to settle before measurements can be taken. This reference voltage is created differently and thus takes a different amount of time to settle, depending on the type of device that is being used. For example, E-Series DAQ devices experience a much shorter delay than the 250 ms seen with the M Series devices. Certain cDAQ modules also experience less of a delay than the M Series boards.  For example, the 9205 has a delay of 50 ms.

This delay only occurs once when the task is explicitly committed.  This means that, for a retriggerable acquisition, the delay will not occur each time the trigger occurs; it will only be seen when the task is first committed.  There is not any way to get around this delay, so it should be accounted for during application development.

Related Links:

Attachments:





Report Date: 09/07/2007
Last Updated: 09/10/2007
Document ID: 4D67ID20

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit