Jump to content

DAQmx triggering dataflow


Recommended Posts

The last time I did data acquisition that required start triggering (ai/StartTrigger) was 5 years ago in a LV8.6 application.  I seem to remember that the dataflow would pause at the slave's DAQmx Start Task.vi until the master arrived at its DAQmx Start Task.vi, then each task would proceed to their DAQmx Read VIs.

 

Fast forward to LV2014 where I'm trying to help someone on another project get DAQmx start triggering working.   In LV2014, the process appears to operate differently and the slave's DAQmx Start Task.vi executes without pause and continues to the DAQmx Read.vi where it doesn't return data until the master AI input starts.

 

Did something change or am I growing old and developing dementia?

Link to comment

Yes that is the way it works in DAQmx.  It makes sense that the task would start directly and then the acquiring of data into the buffer is inhibited until the trigger occurs.  I believe you can check the state of a task to determine if it is still waiting for a trigger or not.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.