ReferenceDevice driversLabJackWrite task

LabJack write task

Learn how to send commands to LabJack devices with Synnax.

This task follows the standard task lifecycle.

Task configuration reference

Parameter Type Required Default Description
device string - Key of the LabJack device
state_rate number 10 Rate (Hz) at which state channels are updated
channels array - List of output channel configurations

Channel types reference

Analog output (analog)

Writes analog voltage to a specified output terminal (DAC).

Parameter Type Required Default Description
cmd_channel number - Synnax command channel key
state_channel number - Synnax state channel key
port string DAC0 Port location (e.g., DAC0, DAC1)

Digital output (digital)

Writes digital state (0 or 1) to a specified digital I/O line.

Parameter Type Required Default Description
cmd_channel number - Synnax command channel key
state_channel number - Synnax state channel key
port string DIO4 Port location (e.g., DIO4, FIO5)

How-to

When you create channels with a client library, give each command channel its own index channel. A writer that holds several commands on one index must write all of them in every frame.