NIDAQ DIO timing

ereming's Avatar

ereming

16 Apr, 2015 07:05 PM

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

  1. Support Staff 1 Posted by Christopher Sta... on 16 Apr, 2015 07:29 PM

    Christopher Stawarz's Avatar

    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

  2. 2 Posted by ereming on 16 Apr, 2015 07:30 PM

    ereming's Avatar

    Awesome, thanks!

  3. Christopher Stawarz closed this discussion on 17 Apr, 2015 01:47 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac