LabJack LJM Device¶
Available on macOS
Description¶
Interface to devices compatible with the LabJack LJM library. Currently, the LabJack T4 , T7, and T8 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
T8
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
analog_waveform_data_interval¶
- Default:
0
- Example:
1ms
Interval at which the device will output samples on a LabJack LJM Analog Waveform Channel. This is a device-level parameter, because all analog waveform channels must use the same data interval.
analog_waveform_trigger_line¶
- Example:
FIO6
Name of the digital line that triggers the start of output on a LabJack LJM Analog Waveform Channel. The line must support the Conditional Reset extended feature.
When a trigger line is specified, LabJack LJM Start Analog Waveform Output configures the device and uploads all output samples but does not start the actual output. Instead, output begins when the device detects a rising edge on the trigger line. Subsequent trigger signals will have no effect until analog waveform output is stopped and restarted.
This is a device-level parameter, because all analog waveform channels share a single trigger line.
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: |
|
Allowed children: |
LabJack LJM Analog Input Channel, LabJack LJM Analog Output Channel, LabJack LJM Analog Waveform 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 |