| Key Name | Data Type | Parameter Description |
|---|---|---|
task_name |
String |
Task name Example: TestTask |
task_transmission_mode |
String |
Transmission mode: online: Online acquisition mode |
offline_task_args |
String |
Not supported yet |
task_io_mode |
String |
DAQ card mode: input: Input mode, performs ADC acquisition output: Output mode, performs DAC output |
task_related_devices |
String |
Hardware devices related to the task Example: dev1 Note: A task can support multiple devices |
feature_channel_list |
String Array |
Device channels and their configurations related to the task Note: A task can support different channels from multiple devices |
device_name |
String |
In channel configuration, the hardware device name corresponding to the channel |
channel_name |
String |
In channel configuration, the channel name |
feature_name |
String |
In channel configuration, the physical measurement type of the channel voltage: Voltage current: Current accel: Acceleration fullbridge: Full Bridge |
feature_channel_args |
String Array |
In channel configuration, the specific parameters for the channel Note: Different physical measurement types have different parameters |
terminal_config |
int |
In channel configuration, the input terminal configuration for the channel 0: Single-ended 1: Differential |
min_value |
int |
In channel configuration, the expected minimum measurement value for the channel |
max_value |
int |
In channel configuration, the expected maximum measurement value for the channel |
unit |
int |
In channel configuration, the unit for the channel In voltage mode: 0: V In current mode: 0: A 1: mA In accel mode: 0: mV/g, mV/N. 1: m/s^2. 2: in/s^2. 4: V. |
sensitivity |
int |
In channel configuration, the sensitivity of the channel |
task_clock |
String Array |
Task sampling clock configuration |
source |
int |
Clock source 0: Internal clock. 1: External sync pulse. 2: Master-slave mode. |
sample_rate |
int |
Sampling rate |
sample_mode |
int |
Sampling mode 0: Continuous acquisition 1: N samples acquisition |
sample_count |
int |
Number of points (N) for N samples acquisition mode |
task_trigger |
String Array |
Task trigger configuration |
trigger_type |
String |
Trigger type "none": No trigger "analog_edge": Analog trigger "digital_edge": Digital trigger |
trigger_edge |
int |
Trigger edge 0: Falling edge 1: Rising edge 2: Low level 3: High level (Note: Original had '1' listed twice, assuming 3 for High Level) |
trigger_level |
double |
Trigger level Valid only under analog trigger condition |
pretrigger_sample_size |
int |
Pre-trigger sample count The number of points to acquire before the trigger event |