ReferenceDriverNIDigital Write Task

NI Digital Write Task

Learn how to send digital commands to NI devices with Synnax.

For the task lifecycle, see Task Basics.

Task Configuration Reference

ParameterTypeRequiredDefaultDescription
devicestringYes-Device key to write to
state_ratenumberNo10Rate (Hz) at which state channels are updated
channelsarrayYes-List of digital output channel configurations

Channel Configuration Reference

DO Channel NI-DAQmx C API Reference

ParameterTypeRequiredDefaultDescription
cmd_channelnumberYes-Synnax channel key for command values
state_channelnumberYes-Synnax channel key for state feedback
portnumberYes-Physical port
linenumberYes-Line number on the port

Important Rules

  • One task per module -> Only one running task can claim a module at a time.

How-To