LabJack LJM Device

Available on macOS

Description

Interface to devices compatible with the LabJack LJM library. Currently, the LabJack T4 and T7 are supported.

For information on acceptable values for the parameters device_type, connection_type, and identifier, see the documentation for the LJM_OpenS function.

Signature

iodevice/labjack_ljm

Required Parameters

update_interval

Example:

3ms

Interval at which MWorks will poll the device for new input data

Optional Parameters

device_type

Default:

ANY

Examples:
T4
T7

Desired device type

connection_type

Default:

ANY

Examples:
USB
ETHERNET
WIFI

Desired connection type

identifier

Default:

ANY

Examples:
470010103
192.168.1.207
My T7 Device

Desired device identifier

autostart

Default:

NO

If YES, the device will start I/O automatically (as if by an implicit Start IO Device action) when the experiment starts running.

Note: Device I/O will always stop automatically when the experiment stops running, irrespective of this setting.

alt

Alternative device to use if this one fails to initialize (e.g. because the required hardware is not available). If #allowAltFailover is set to 0 or false, this parameter is ignored.

Placement

Allowed at top level:

Yes

Allowed parent:

Folder

Allowed children:

LabJack LJM Analog Input Channel, LabJack LJM Analog Output Channel, LabJack LJM Counter Channel, LabJack LJM Digital Input Channel, LabJack LJM Digital Output Channel, LabJack LJM Quadrature Input Channel, LabJack LJM Word Input Channel, LabJack LJM Word Output Channel