NIDAQ DIO timing

Hi Chris,

It’s my understanding that right now, MWorks requests that NIDAQmx Base update the digital out ports with the current relevant variable values every update_interval. In the interest of increasing temporal accuracy, would it be possible to configure the NIDAQ digital output ports to change on command, rather than at a constant rate?

Thanks,
Evan

Hi Evan,

The digital outputs already work the way you want: As soon as the associated variable is set, MWorks requests that the output port signal be changed.

The digital inputs are polled every update_interval, because NI-DAQmx Base doesn’t provide any way to be notified when they change.

Cheers,
Chris

Awesome, thanks!