How to Change DAQmx Read Properties While Task is Running

Updated May 3, 2018

Reported In

Driver

  • NI-DAQmx

Issue Details

I would like to change the properties of my DAQmx Read Function while my task is running. I need to do this so that I can make my code interface with multiple different device configurations. How can I accomplish this?

Solution

Whether or not you can change the DAQmx Read Function while the task is running depends on the type of hardware you are using. To check if your hardware limits this, go to the DAQmx Read Properties page and select Details in the property you are interested in changing. On the property page, select the device-specific link next to Settable while task is running at the bottom of the page. If your device is listed here, you will be able to set the property while your task is running.

WAS THIS ARTICLE HELPFUL?

Not Helpful