nidaqmx.task
- class nidaqmx.task.ExportSignals(task_handle, interpreter)[source]
Bases:
object
Represents the exported signal configurations for a DAQmx task.
- __weakref__
list of weak references to the object (if defined)
- property adv_cmplt_event_delay
Specifies the output signal delay in periods of the sample clock.
- Type:
float
- property adv_cmplt_event_output_term
Specifies the terminal to which to route the Advance Complete Event.
- Type:
str
- property adv_cmplt_event_pulse_polarity
Specifies the polarity of the exported Advance Complete Event.
- property adv_cmplt_event_pulse_width
Specifies the width of the exported Advance Complete Event pulse.
- Type:
float
- property adv_trig_output_term
Specifies the terminal to which to route the Advance Trigger.
- Type:
str
- property adv_trig_pulse_polarity
Indicates the polarity of the exported Advance Trigger.
- property adv_trig_pulse_width
Specifies the width of an exported Advance Trigger pulse. Specify this value in the units you specify with adv_trig_pulse_width_units.
- Type:
float
- property adv_trig_pulse_width_units
Specifies the units of adv_trig_pulse_width.
- property ai_conv_clk_output_term
Specifies the terminal to which to route the AI Convert Clock.
- Type:
str
- property ai_conv_clk_pulse_polarity
Indicates the polarity of the exported AI Convert Clock. The polarity is fixed and independent of the active edge of the source of the AI Convert Clock.
- property ai_hold_cmplt_event_output_term
Specifies the terminal to which to route the AI Hold Complete Event.
- Type:
str
- property ai_hold_cmplt_event_pulse_polarity
Specifies the polarity of an exported AI Hold Complete Event pulse.
- property change_detect_event_output_term
Specifies the terminal to which to route the Change Detection Event.
- Type:
str
- property change_detect_event_pulse_polarity
Specifies the polarity of an exported Change Detection Event pulse.
- property ctr_out_event_output_behavior
Specifies whether the exported Counter Output Event pulses or changes from one state to the other when the counter reaches terminal count.
- property ctr_out_event_output_term
Specifies the terminal to which to route the Counter Output Event.
- Type:
str
- property ctr_out_event_pulse_polarity
Specifies the polarity of the pulses at the output terminal of the counter when ctr_out_event_output_behavior is ExportActions2.PULSE. NI-DAQmx ignores this property if ctr_out_event_output_behavior is ExportActions2.TOGGLE.
- property ctr_out_event_toggle_idle_state
Specifies the initial state of the output terminal of the counter when ctr_out_event_output_behavior is ExportActions2.TOGGLE. The terminal enters this state when NI-DAQmx commits the task.
- Type:
- property data_active_event_lvl_active_lvl
Specifies the polarity of the exported Data Active Event.
- property data_active_event_output_term
Specifies the terminal to which to export the Data Active Event.
- Type:
str
- property divided_samp_clk_timebase_output_term
Specifies the terminal to which to route the Divided Sample Clock Timebase.
- Type:
str
- export_signal(signal_id, output_terminal)[source]
Routes a control signal to the terminal you specify. The output terminal can reside on the device that generates the control signal or on a different device. You can use this function to share clocks and triggers among multiple tasks and devices. The routes this function creates are task-based routes.
- Parameters:
signal_id (nidaqmx.constants.Signal) – Is the name of the trigger, clock, or event to export.
output_terminal (str) – Is the destination of the exported signal. A DAQmx terminal constant lists all terminals on installed devices. You can also specify a string containing a comma-delimited list of terminal names.
- property exported_10_mhz_ref_clk_output_term
Specifies the terminal to which to route the 10MHz Clock.
- Type:
str
- property exported_20_mhz_timebase_output_term
Specifies the terminal to which to route the 20MHz Timebase.
- Type:
str
- property hshk_event_delay
Specifies the number of seconds to delay after the Handshake Trigger deasserts before asserting the Handshake Event.
- Type:
float
- property hshk_event_interlocked_assert_on_start
Specifies to assert the Handshake Event when the task starts if hshk_event_output_behavior is ExportActions5.INTERLOCKED.
- Type:
bool
- property hshk_event_interlocked_asserted_lvl
Specifies the asserted level of the exported Handshake Event if hshk_event_output_behavior is ExportActions5.INTERLOCKED.
- Type:
- property hshk_event_interlocked_deassert_delay
Specifies in seconds the amount of time to wait after the Handshake Trigger asserts before deasserting the Handshake Event if hshk_event_output_behavior is ExportActions5.INTERLOCKED.
- Type:
float
- property hshk_event_output_behavior
Specifies the output behavior of the Handshake Event.
- property hshk_event_output_term
Specifies the terminal to which to route the Handshake Event.
- Type:
str
- property hshk_event_pulse_polarity
Specifies the polarity of the exported Handshake Event if hshk_event_output_behavior is ExportActions5.PULSE.
- property hshk_event_pulse_width
Specifies in seconds the pulse width of the exported Handshake Event if hshk_event_output_behavior is ExportActions5.PULSE.
- Type:
float
- property pause_trig_lvl_active_lvl
Specifies the active level of the exported Pause Trigger.
- property pause_trig_output_term
Specifies the terminal to which to route the Pause Trigger.
- Type:
str
- property rdy_for_start_event_lvl_active_lvl
Specifies the polarity of the exported Ready for Start Event.
- property rdy_for_start_event_output_term
Specifies the terminal to which to route the Ready for Start Event.
- Type:
str
- property rdy_for_xfer_event_deassert_cond
Specifies when the ready for transfer event deasserts.
- property rdy_for_xfer_event_deassert_cond_custom_threshold
Specifies in samples the threshold below which the Ready for Transfer Event deasserts. This threshold is an amount of space available in the onboard memory of the device. rdy_for_xfer_event_deassert_cond must be DeassertCondition.ONBOARD_MEMORY_CUSTOM_THRESHOLD to use a custom threshold.
- Type:
int
- property rdy_for_xfer_event_lvl_active_lvl
Specifies the active level of the exported Ready for Transfer Event.
- property rdy_for_xfer_event_output_term
Specifies the terminal to which to route the Ready for Transfer Event.
- Type:
str
- property ref_trig_output_term
Specifies the terminal to which to route the Reference Trigger.
- Type:
str
- property ref_trig_pulse_polarity
Specifies the polarity of the exported Reference Trigger.
- property samp_clk_delay_offset
Specifies in seconds the amount of time to offset the exported Sample clock. Refer to timing diagrams for generation applications in the device documentation for more information about this value.
- Type:
float
- property samp_clk_output_behavior
Specifies whether the exported Sample Clock issues a pulse at the beginning of a sample or changes to a high state for the duration of the sample.
- property samp_clk_output_term
Specifies the terminal to which to route the Sample Clock.
- Type:
str
- property samp_clk_pulse_polarity
Specifies the polarity of the exported Sample Clock if samp_clk_output_behavior is ExportActions3.PULSE.
- property samp_clk_timebase_output_term
Specifies the terminal to which to route the Sample Clock Timebase.
- Type:
str
- property start_trig_output_term
Specifies the terminal to which to route the Start Trigger.
- Type:
str
- property start_trig_pulse_polarity
Specifies the polarity of the exported Start Trigger.
- property sync_pulse_event_output_term
Specifies the terminal to which to route the Synchronization Pulse Event.
- Type:
str
- property watchdog_expired_event_output_term
Specifies the terminal to which to route the Watchdog Timer Expired Event.
- Type:
str
- class nidaqmx.task.InStream(task, interpreter)[source]
Bases:
object
Exposes an input data stream on a DAQmx task.
The input data stream be used to control reading behavior and can be used in conjunction with reader classes to read samples from an NI-DAQmx task.
- __weakref__
list of weak references to the object (if defined)
- property accessory_insertion_or_removal_detected
Indicates if any device(s) in the task detected the insertion or removal of an accessory since the task started. Reading this property clears the accessory change status for all channels in the task. You must read this property before you read devs_with_inserted_or_removed_accessories. Otherwise, you will receive an error.
- Type:
bool
- property auto_start
Specifies if DAQmx Read automatically starts the task if you did not start the task explicitly by using DAQmx Start. The default value is True. When DAQmx Read starts a finite acquisition task, it also stops the task after reading the last sample.
- Type:
bool
- property aux_power_error_chans
Indicates a list of names of any virtual channels in the task for which an auxiliary power supply error condition has been detected. You must read the Aux Power Error Channels Exist property before you read this property. Otherwise, you will receive an error.
- Type:
List[str]
- property aux_power_error_chans_exist
Indicates if the device(s) detected an auxiliary power supply error condition for any channel in the task. Reading this property clears the error condition status for all channels in the task. You must read this property before you read the Aux Power Error Channels property. Otherwise, you will receive an error.
- Type:
bool
- property avail_samp_per_chan
Indicates the number of samples available to read per channel. This value is the same for all channels in the task.
- Type:
int
- property change_detect_overflowed
Indicates if samples were missed because change detection events occurred faster than the device could handle them. Some devices detect overflows differently than others.
- Type:
bool
- property channels_to_read
Specifies a subset of channels in the task from which to read.
- property common_mode_range_error_chans
Indicates a list of names of any virtual channels in the task for which the device(s) detected a common mode range violation. You must read common_mode_range_error_chans_exist before you read this property. Otherwise, you will receive an error.
- Type:
List[str]
- property common_mode_range_error_chans_exist
Indicates if the device(s) detected a common mode range violation for any virtual channel in the task. Common mode range violation occurs when the voltage of either the positive terminal or negative terminal to ground are out of range. Reading this property clears the common mode range violation status for all channels in the task. You must read this property before you read common_mode_range_error_chans. Otherwise, you will receive an error.
- Type:
bool
- configure_logging(file_path: str | PurePath, logging_mode=LoggingMode.LOG_AND_READ, group_name='', operation=LoggingOperation.OPEN_OR_CREATE)[source]
Configures TDMS file logging for the task.
- Parameters:
file_path – Specifies the path to the TDMS file to which you want to log data.
logging_mode (Optional[nidaqmx.constants.LoggingMode]) – Specifies whether to enable logging and whether to allow reading data while logging. “log” mode allows for the best performance. However, you cannot read data while logging if you specify this mode. If you want to read data while logging, specify “LOG_AND_READ” mode.
group_name (Optional[str]) – Specifies the name of the group to create within the TDMS file for data from this task. If you append data to an existing file and the specified group already exists, NI-DAQmx appends a number symbol and a number to the group name, incrementing that number until finding a group name that does not exist. For example, if you specify a group name of Voltage Task, and that group already exists, NI-DAQmx assigns the group name Voltage Task #1, then Voltage Task #2. If you do not specify a group name, NI-DAQmx uses the name of the task.
operation (Optional[nidaqmx.constants.LoggingOperation]) – Specifies how to open the TDMS file.
- property curr_read_pos
Indicates in samples per channel the current position in the buffer.
- Type:
int
- property devs_with_inserted_or_removed_accessories
Indicates the names of any devices that detected the insertion or removal of an accessory since the task started. You must read accessory_insertion_or_removal_detected before you read this property. Otherwise, you will receive an error.
- Type:
List[str]
- property di_num_booleans_per_chan
Indicates the number of booleans per channel that NI-DAQmx returns in a sample for line-based reads. If a channel has fewer lines than this number, the extra booleans are False.
- Type:
int
- property excit_fault_chans
Indicates a list of names of any virtual channels in the task for which the device(s) detected an excitation fault condition. You must read excit_fault_chans_exist before you read this property. Otherwise, you will receive an error.
- Type:
List[str]
- property excit_fault_chans_exist
Indicates if the device(s) detected an excitation fault condition for any virtual channel in the task. Reading this property clears the excitation fault status for all channels in the task. You must read this property before you read excit_fault_chans. Otherwise, you will receive an error.
- Type:
bool
- property input_buf_size
Specifies the number of samples the input buffer can hold for each channel in the task. Zero indicates to allocate no buffer. Use a buffer size of 0 to perform a hardware-timed operation without using a buffer. Setting this property overrides the automatic input buffer allocation that NI- DAQmx performs.
- Type:
int
- property input_limits_fault_chans
Indicates the virtual channels that have detected samples outside the upper or lower limits configured for each channel in the task. You must read input_limits_fault_chans_exist before you read this property. Otherwise, you will receive an error.
- Type:
List[str]
- property input_limits_fault_chans_exist
Indicates if the device or devices detected a sample that was outside the upper or lower limits configured for each channel in the task. Reading this property clears the input limits fault channel status for all channels in the task. You must read this property before you read input_limits_fault_chans. Otherwise, you will receive an error. Note: Fault detection applies to both positive and negative inputs. For instance, if you specify a lower limit of 2 mA and an upper limit of 12 mA, NI-DAQmx detects a fault at 15 mA and -15 mA, but not at -6 mA because it is in the range of -12 mA to -2 mA.
- Type:
bool
- property input_onbrd_buf_size
Indicates in samples per channel the size of the onboard input buffer of the device.
- Type:
int
- property logging_file_path: Path | None
Specifies the path to the TDMS file to which you want to log data. If the file path is changed while the task is running, this takes effect on the next sample interval (if Logging.SampsPerFile has been set) or when DAQmx Start New File is called. New file paths can be specified by ending with “" or “/”. Files created after specifying a new file path retain the same name and numbering sequence.
- Type:
pathlib.Path
- property logging_file_preallocation_size
Specifies a size in samples to be used to pre-allocate space on disk. Pre-allocation can improve file I/O performance, especially in situations where multiple files are being written to disk. For finite tasks, the default behavior is to pre-allocate the file based on the number of samples you configure the task to acquire.
- Type:
int
- property logging_file_write_size
Specifies the size, in samples, in which data will be written to disk. The size must be evenly divisible by the volume sector size, in bytes.
- Type:
int
- property logging_mode
Specifies whether to enable logging and whether to allow reading data while logging. Log mode allows for the best performance. However, you cannot read data while logging if you specify this mode. If you want to read data while logging, specify Log and Read mode.
- property logging_pause
Specifies whether logging is paused while a task is executing. If logging_mode is set to Log and Read mode, this value is taken into consideration on the next call to DAQmx Read, where data is written to disk. If logging_mode is set to Log Only mode, this value is taken into consideration the next time that data is written to disk. A new TDMS group is written when logging is resumed from a paused state.
- Type:
bool
- property logging_samps_per_file
Specifies how many samples to write to each file. When the file reaches the number of samples specified, a new file is created with the naming convention of <filename>_####.tdms, where #### starts at 0001 and increments automatically with each new file. For example, if the file specified is C:data.tdms, the next file name used is C:data_0001.tdms. To disable file spanning behavior, set this attribute to 0. If logging_file_path is changed while this attribute is set, the new file path takes effect on the next file created.
- Type:
int
- property logging_tdms_group_name
Specifies the name of the group to create within the TDMS file for data from this task. If you append data to an existing file and the specified group already exists, NI- DAQmx appends a number symbol and a number to the group name, incrementing that number until finding a group name that does not exist. For example, if you specify a group name of Voltage Task, and that group already exists, NI- DAQmx assigns the group name Voltage Task #1, then Voltage Task #2.
- Type:
str
- property logging_tdms_operation
Specifies how to open the TDMS file.
- property num_chans
Indicates the number of channels that DAQmx Read reads from the task. This value is the number of channels in the task or the number of channels you specify with channels_to_read.
- Type:
int
- property offset
Specifies an offset in samples per channel at which to begin a read operation. This offset is relative to the location you specify with relative_to.
- Type:
int
- property open_chans
Indicates a list of names of any open virtual channels. You must read open_chans_exist before you read this property. Otherwise you will receive an error.
- Type:
List[str]
- property open_chans_details
Indicates a list of details of any open virtual channels. You must read open_chans_exist before you read this property. Otherwise you will receive an error.
- Type:
List[str]
- property open_chans_exist
Indicates if the device or devices detected an open channel condition in any virtual channel in the task. Reading this property clears the open channel status for all channels in this task. You must read this property before you read open_chans. Otherwise, you will receive an error.
- Type:
bool
- property open_current_loop_chans
Indicates a list of names of any virtual channels in the task for which the device(s) detected an open current loop. You must read open_current_loop_chans_exist before you read this property. Otherwise, you will receive an error.
- Type:
List[str]
- property open_current_loop_chans_exist
Indicates if the device(s) detected an open current loop for any virtual channel in the task. Reading this property clears the open current loop status for all channels in the task. You must read this property before you read open_current_loop_chans. Otherwise, you will receive an error.
- Type:
bool
- property open_thrmcpl_chans
Indicates a list of names of any virtual channels in the task for which the device(s) detected an open thermcouple. You must read open_thrmcpl_chans_exist before you read this property. Otherwise, you will receive an error.
- Type:
List[str]
- property open_thrmcpl_chans_exist
Indicates if the device(s) detected an open thermocouple connected to any virtual channel in the task. Reading this property clears the open thermocouple status for all channels in the task. You must read this property before you read open_thrmcpl_chans. Otherwise, you will receive an error.
- Type:
bool
- property over_write
Deprecated since version 0.7.0: Use overwrite instead.
- property overcurrent_chans
Indicates a list of names of any virtual channels in the task for which the device(s) detected an overcurrent condition. You must read overcurrent_chans_exist before you read this property. Otherwise, you will receive an error. On some devices, you must restart the task for all overcurrent channels to recover.
- Type:
List[str]
- property overcurrent_chans_exist
Indicates if the device(s) detected an overcurrent condition for any virtual channel in the task. Reading this property clears the overcurrent status for all channels in the task. You must read this property before you read overcurrent_chans. Otherwise, you will receive an error.
- Type:
bool
- property overloaded_chans
Indicates a list of names of any overloaded virtual channels in the task. You must read overloaded_chans_exist before you read this property. Otherwise, you will receive an error.
- Type:
List[str]
- property overloaded_chans_exist
Indicates if the device(s) detected an overload in any virtual channel in the task. Reading this property clears the overload status for all channels in the task. You must read this property before you read overloaded_chans. Otherwise, you will receive an error.
- Type:
bool
- property overtemperature_chans
Indicates a list of names of any overtemperature virtual channels. You must read overtemperature_chans_exist before you read this property. Otherwise, you will receive an error.
- Type:
List[str]
- property overtemperature_chans_exist
Indicates if the device(s) detected an overtemperature condition in any virtual channel in the task. Reading this property clears the overtemperature status for all channels in the task. You must read this property before you read overtemperature_chans. Otherwise, you will receive an error.
- Type:
bool
- property overwrite
Specifies whether to overwrite samples in the buffer that you have not yet read.
- property pll_unlocked_chans
Indicates the channels that had their PLLs unlock.
- Type:
List[str]
- property pll_unlocked_chans_exist
Indicates whether the PLL is currently locked, or whether it became unlocked during the previous acquisition. Devices may report PLL Unlock either during acquisition or after acquisition.
- Type:
bool
- property power_supply_fault_chans
Indicates the virtual channels that have detected a power supply fault. You must read power_supply_fault_chans_exist before you read this property. Otherwise, you will receive an error.
- Type:
List[str]
- property power_supply_fault_chans_exist
Indicates if the device or devices detected a power supply fault condition in any virtual channel in the task. Reading this property clears the power supply fault status for all channels in this task. You must read this property before you read power_supply_fault_chans. Otherwise, you will receive an error.
- Type:
bool
- property raw_data_width
Indicates in bytes the size of a raw sample from the task.
- Type:
int
- read(number_of_samples_per_channel=-1)[source]
Reads raw samples from the task or virtual channels you specify.
Raw samples constitute the internal representation of samples in a device, read directly from the device or buffer without scaling or reordering. The native format of a device can be an 8-, 16-, or 32-bit integer, signed or unsigned.
NI-DAQmx does not separate raw data into channels. It returns data in an interleaved or non-interleaved 1D array, depending on the raw ordering of the device. Refer to your device documentation for more information.
This method determines a NumPy array of appropriate size and data type to create and return based on your device specifications.
Use the “timeout” property on the stream to specify the amount of time in seconds to wait for samples to become available. If the time elapses, the method returns an error and any samples read before the timeout elapsed. The default timeout is 10 seconds. If you set timeout to nidaqmx.WAIT_INFINITELY, the method waits indefinitely. If you set timeout to 0, the method tries once to read the requested samples and returns an error if it is unable to.
- Parameters:
number_of_samples_per_channel (int) –
Specifies the number of samples to read.
If you set this input to nidaqmx.READ_ALL_AVAILABLE, NI-DAQmx determines how many samples to read based on if the task acquires samples continuously or acquires a finite number of samples.
If the task acquires samples continuously and you set this input to nidaqmx.READ_ALL_AVAILABLE, this method reads all the samples currently available in the buffer.
If the task acquires a finite number of samples and you set this input to nidaqmx.READ_ALL_AVAILABLE, the method waits for the task to acquire all requested samples, then reads those samples. If you set the “read_all_avail_samp” property to TRUE, the method reads the samples currently available in the buffer and does not wait for the task to acquire all requested samples.
- Returns:
The samples requested in the form of a 1D NumPy array. This method determines a NumPy array of appropriate size and data type to create and return based on your device specifications.
- Return type:
numpy.ndarray
- read_all()[source]
Reads all available raw samples from the task or virtual channels you specify.
NI-DAQmx determines how many samples to read based on if the task acquires samples continuously or acquires a finite number of samples.
If the task acquires samples continuously, this method reads all the samples currently available in the buffer.
If the task acquires a finite number of samples, the method waits for the task to acquire all requested samples, then reads those samples. If you set the “read_all_avail_samp” property to TRUE, the method reads the samples currently available in the buffer and does not wait for the task to acquire all requested samples.
Raw samples constitute the internal representation of samples in a device, read directly from the device or buffer without scaling or reordering. The native format of a device can be an 8-, 16-, or 32-bit integer, signed or unsigned.
NI-DAQmx does not separate raw data into channels. It returns data in an interleaved or non-interleaved 1D array, depending on the raw ordering of the device. Refer to your device documentation for more information.
This method determines a NumPy array of appropriate size and data type to create and return based on your device specifications.
Use the “timeout” property on the stream to specify the amount of time in seconds to wait for samples to become available. If the time elapses, the method returns an error and any samples read before the timeout elapsed. The default timeout is 10 seconds. If you set timeout to nidaqmx.WAIT_INFINITELY, the method waits indefinitely. If you set timeout to 0, the method tries once to read the requested samples and returns an error if it is unable to.
- Returns:
The samples requested in the form of a 1D NumPy array. This method determines a NumPy array of appropriate size and data type to create and return based on your device specifications.
- Return type:
numpy.ndarray
- property read_all_avail_samp
Specifies whether subsequent read operations read all samples currently available in the buffer or wait for the buffer to become full before reading. NI-DAQmx uses this setting for finite acquisitions and only when the number of samples to read is -1. For continuous acquisitions when the number of samples to read is -1, a read operation always reads all samples currently available in the buffer.
- Type:
bool
- read_into(numpy_array)[source]
Reads raw samples from the task or virtual channels you specify into numpy_array.
The object numpy_array should be a pre-allocated, writable 1D numpy array.
The number of samples per channel to read is determined using the following equation:
- number_of_samples_per_channel = math.floor(
- numpy_array_size_in_bytes / (
number_of_channels_to_read * raw_sample_size_in_bytes))
Raw samples constitute the internal representation of samples in a device, read directly from the device or buffer without scaling or reordering. The native format of a device can be an 8-, 16-, or 32-bit integer, signed or unsigned.
If you use a different integer size than the native format of the device, one integer can contain multiple samples or one sample can stretch across multiple integers. For example, if you use 32-bit integers, but the device uses 8-bit samples, one integer contains up to four samples. If you use 8-bit integers, but the device uses 16-bit samples, a sample might require two integers. This behavior varies from device to device. Refer to your device documentation for more information.
NI-DAQmx does not separate raw data into channels. It returns data in an interleaved or non-interleaved 1D array, depending on the raw ordering of the device. Refer to your device documentation for more information.
Use the “timeout” property on the stream to specify the amount of time in seconds to wait for samples to become available. If the time elapses, the method returns an error and any samples read before the timeout elapsed. The default timeout is 10 seconds. If you set timeout to -1, the method waits indefinitely. If you set timeout to 0, the method tries once to read the requested samples and returns an error if it is unable to.
- Parameters:
numpy_array – Specifies the 1D NumPy array object into which the samples requested are read.
- Returns:
Indicates the total number of samples read.
- Return type:
int
- readall()[source]
Deprecated since version 1.0.0: This will be removed in 1.2.0. Use read_all instead.
- readinto(numpy_array)[source]
Deprecated since version 1.0.0: This will be removed in 1.2.0. Use read_into instead.
- property relative_to
Specifies the point in the buffer at which to begin a read operation. If you also specify an offset with offset, the read operation begins at that offset relative to the point you select with this property. The default value is ReadRelativeTo.CURRENT_READ_POSITION unless you configure a Reference Trigger for the task. If you configure a Reference Trigger, the default value is ReadRelativeTo.FIRST_PRETRIGGER_SAMPLE.
- property remote_sense_error_chans
Indicates a list of names of any virtual channels in the task for which a remote sense connection error condition has been detected. You must read Remote Sense Error Channels Exist before you read this property. Otherwise, you will receive an error.
- Type:
List[str]
- property remote_sense_error_chans_exist
Indicates if the device(s) detected an error condition of the remote sense connection for any channel in the task. You must disable the output and resolve the hardware connection issue to clear the error condition. You must read this property before you read the Remote Sense Error Channels property. Otherwise, you will receive an error.
- Type:
bool
- property reverse_voltage_error_chans
Indicates a list of names of all virtual channels in the task for which reverse voltage error condition has been detected. You must read the Reverse Voltage Error Channels Exist property before you read this property. Otherwise, you will receive an error.
- Type:
List[str]
- property reverse_voltage_error_chans_exist
Indicates if the device(s) detected reverse voltage error for any of the channels in the task. Reverse voltage error occurs if the local voltage is equal to the negative saturated voltage. Reading this property clears the error condition status for all channels in the task. You must read this property before you read the Reverse Voltage Error Channels property. Otherwise, you will receive an error.
- Type:
bool
- property sleep_time
Specifies in seconds the amount of time to sleep after checking for available samples if wait_mode is WaitMode.SLEEP.
- Type:
float
- start_new_file(file_path: str | PurePath)[source]
Starts a new TDMS file the next time data is written to disk.
- Parameters:
file_path – Specifies the path to the TDMS file to which you want to log data.
- property sync_unlocked_chans
Indicates the channels from devices in an unlocked target.
- Type:
List[str]
- property sync_unlocked_chans_exist
Indicates whether the target is currently locked to the grand master. Devices may report PLL Unlock either during acquisition or after acquisition.
- Type:
bool
- property timeout
Specifies the amount of time in seconds to wait for samples to become available. If the time elapses, the read method returns an error and any samples read before the timeout elapsed. The default timeout is 10 seconds. If you set timeout to nidaqmx.WAIT_INFINITELY, the read method waits indefinitely. If you set timeout to 0, the read method tries once to read the requested samples and returns an error if it is unable to.
- Type:
float
- property total_samp_per_chan_acquired
Indicates the total number of samples acquired by each channel. NI-DAQmx returns a single value because this value is the same for all channels. For retriggered acquisitions, this value is the cumulative number of samples across all retriggered acquisitions.
- Type:
int
- property wait_mode
Specifies how DAQmx Read waits for samples to become available.
- class nidaqmx.task.OutStream(task, interpreter)[source]
Bases:
object
Exposes an output data stream on a DAQmx task.
The output data stream be used to control writing behavior and can be used in conjunction with writer classes to write samples to an NI-DAQmx task.
- __weakref__
list of weak references to the object (if defined)
- property accessory_insertion_or_removal_detected
Indicates if any devices in the task detected the insertion or removal of an accessory since the task started. Reading this property clears the accessory change status for all channels in the task. You must read this property before you read devs_with_inserted_or_removed_accessories. Otherwise, you will receive an error.
- Type:
bool
- property auto_start
Specifies if the “write” method automatically starts the stream’s owning task if you did not explicitly start it with the DAQmx Start Task method.
- Type:
bool
- property curr_write_pos
Indicates the position in the buffer of the next sample to generate. This value is identical for all channels in the task.
- Type:
int
- property devs_with_inserted_or_removed_accessories
Indicates the names of any devices that detected the insertion or removal of an accessory since the task started. You must read accessory_insertion_or_removal_detected before you read this property. Otherwise, you will receive an error.
- Type:
List[str]
- property do_num_booleans_per_chan
Indicates the number of Boolean values expected per channel in a sample for line-based writes. This property is determined by the channel in the task with the most digital lines. If a channel has fewer lines than this number, NI- DAQmx ignores the extra Boolean values.
- Type:
int
- property external_overvoltage_chans
Indicates a list of names of any virtual channels in the task for which an External Overvoltage condition has been detected. You must read External OvervoltageChansExist before you read this property. Otherwise, you will receive an error.
- Type:
List[str]
- property external_overvoltage_chans_exist
Indicates if the device(s) detected an External Overvoltage condition for any channel in the task. Reading this property clears the External Overvoltage status for all channels in the task. You must read this property before you read External OvervoltageChans. Otherwise, you will receive an error.
- Type:
bool
- property num_chans
Indicates the number of channels that DAQmx Write writes to the task. This value is the number of channels in the task.
- Type:
int
- property offset
Specifies in samples per channel an offset at which a write operation begins. This offset is relative to the location you specify with relative_to.
- Type:
int
- property open_current_loop_chans
Indicates a list of names of any virtual channels in the task for which the device(s) detected an open current loop. You must read open_current_loop_chans_exist before you read this property. Otherwise, you will receive an error.
- Type:
List[str]
- property open_current_loop_chans_exist
Indicates if the device(s) detected an open current loop for any channel in the task. Reading this property clears the open current loop status for all channels in the task. You must read this property before you read open_current_loop_chans. Otherwise, you will receive an error.
- Type:
bool
- property output_buf_size
Specifies the number of samples the output buffer can hold for each channel in the task. Zero indicates to allocate no buffer. Use a buffer size of 0 to perform a hardware-timed operation without using a buffer. Setting this property overrides the automatic output buffer allocation that NI- DAQmx performs.
- Type:
int
- property output_onbrd_buf_size
Specifies in samples per channel the size of the onboard output buffer of the device.
- Type:
int
- property overcurrent_chans
Indicates a list of names of any virtual channels in the task for which an overcurrent condition has been detected. You must read overcurrent_chans_exist before you read this property. Otherwise, you will receive an error.
- Type:
List[str]
- property overcurrent_chans_exist
Indicates if the device(s) detected an overcurrent condition for any channel in the task. Reading this property clears the overcurrent status for all channels in the task. You must read this property before you read overcurrent_chans. Otherwise, you will receive an error.
- Type:
bool
- property overloaded_chans
Indicates a list of names of any overloaded virtual channels in the task. You must read overloaded_chans_exist before you read this property. Otherwise, you will receive an error.
- Type:
List[str]
- property overloaded_chans_exist
Indicates if the device(s) detected an overload in any virtual channel in the task. Reading this property clears the overload status for all channels in the task. You must read this property before you read overloaded_chans. Otherwise, you will receive an error.
- Type:
bool
- property overtemperature_chans
Indicates a list of names of any overtemperature virtual channels. You must read overtemperature_chans_exist before you read this property. Otherwise, you will receive an error. The list of names may be empty if the device cannot determine the source of the overtemperature.
- Type:
List[str]
- property overtemperature_chans_exist
Indicates if the device(s) detected an overtemperature condition in any virtual channel in the task. Reading this property clears the overtemperature status for all channels in the task. You must read this property before you read overtemperature_chans. Otherwise, you will receive an error.
- Type:
bool
- property power_supply_fault_chans
Indicates a list of names of any virtual channels in the task that have a power supply fault. You must read power_supply_fault_chans_exist before you read this property. Otherwise, you will receive an error.
- Type:
List[str]
- property power_supply_fault_chans_exist
Indicates if the device(s) detected a power supply fault for any channel in the task. Reading this property clears the power supply fault status for all channels in the task. You must read this property before you read power_supply_fault_chans. Otherwise, you will receive an error.
- Type:
bool
- property raw_data_width
Indicates in bytes the required size of a raw sample to write to the task.
- Type:
int
- property regen_mode
Specifies whether to allow NI-DAQmx to generate the same data multiple times.
- property relative_to
Specifies the point in the buffer at which to write data. If you also specify an offset with offset, the write operation begins at that offset relative to this point you select with this property.
- property sleep_time
Specifies in seconds the amount of time to sleep after checking for available buffer space if wait_mode is WaitMode2.SLEEP.
- Type:
float
- property space_avail
Indicates in samples per channel the amount of available space in the buffer.
- Type:
int
- property sync_unlocked_chans
Indicates the channels from devices in an unlocked target.
- Type:
List[str]
- property sync_unlocked_chans_exist
Indicates whether the target is currently locked to the grand master. Devices may report PLL Unlock either during acquisition or after acquisition.
- Type:
bool
- property timeout
Specifies the amount of time in seconds to wait for the write method to write all samples. NI-DAQmx performs a timeout check only if the write method must wait before it writes data. The write method returns an error if the time elapses. The default timeout is 10 seconds. If you set “timeout” to nidaqmx.WAIT_INFINITELY, the write method waits indefinitely. If you set timeout to 0, the write method tries once to write the submitted samples. If the write method could not write all the submitted samples, it returns an error and the number of samples successfully written in the number of samples written per channel output.
- Type:
float
- property total_samp_per_chan_generated
Indicates the total number of samples generated by each channel in the task. This value is identical for all channels in the task.
- Type:
int
- property wait_mode
Specifies how DAQmx Write waits for space to become available in the buffer.
- write(numpy_array)[source]
Writes raw samples to the task or virtual channels you specify.
The number of samples per channel to write is determined using the following equation:
- number_of_samples_per_channel = math.floor(
- numpy_array_size_in_bytes / (
number_of_channels_to_write * raw_sample_size_in_bytes))
Raw samples constitute the internal representation of samples in a device, read directly from the device or buffer without scaling or reordering. The native format of a device can be an 8-, 16-, or 32-bit integer, signed or unsigned.
If you use a different integer size than the native format of the device, one integer can contain multiple samples or one sample can stretch across multiple integers. For example, if you use 32-bit integers, but the device uses 8-bit samples, one integer contains up to four samples. If you use 8-bit integers, but the device uses 16-bit samples, a sample might require two integers. This behavior varies from device to device. Refer to your device documentation for more information.
NI-DAQmx does not separate raw data into channels. It accepts data in an interleaved or non-interleaved 1D array, depending on the raw ordering of the device. Refer to your device documentation for more information.
If the task uses on-demand timing, this method returns only after the device generates all samples. On-demand is the default timing type if you do not use the timing property on the task to configure a sample timing type. If the task uses any timing type other than on-demand, this method returns immediately and does not wait for the device to generate all samples. Your application must determine if the task is done to ensure that the device generated all samples.
Use the “auto_start” property on the stream to specify if this method automatically starts the stream’s owning task if you did not explicitly start it with the DAQmx Start Task method.
Use the “timeout” property on the stream to specify the amount of time in seconds to wait for the method to write all samples. NI-DAQmx performs a timeout check only if the method must wait before it writes data. This method returns an error if the time elapses. The default timeout is 10 seconds. If you set timeout to nidaqmx.WAIT_INFINITELY, the method waits indefinitely. If you set timeout to 0, the method tries once to write the submitted samples. If the method could not write all the submitted samples, it returns an error and the number of samples successfully written.
- Parameters:
numpy_array (numpy.ndarray) – Specifies a 1D NumPy array that contains the raw samples to write to the task.
- Returns:
Specifies the actual number of samples per channel successfully written to the buffer.
- Return type:
int
- class nidaqmx.task.Task(new_task_name='', *, grpc_options=None)[source]
Bases:
object
Represents a DAQmx Task.
- __init__(new_task_name='', *, grpc_options=None)[source]
Creates a DAQmx task.
- Parameters:
new_task_name (Optional[str]) –
Specifies the name to assign to the task.
If you use this method in a loop and specify a name for the task, you must use the DAQmx Clear Task method within the loop after you are finished with the task. Otherwise, NI-DAQmx attempts to create multiple tasks with the same name, which results in an error.
grpc_options (Optional[
GrpcSessionOptions
]) – Specifies the gRPC session options.
- __weakref__
list of weak references to the object (if defined)
- add_global_channels(global_channels)[source]
Adds global virtual channels from MAX to the given task.
- Parameters:
global_channels (List[nidaqmx.system.storage.persisted_channel.PersistedChannel]) –
Specifies the channels to add to the task.
These channels must be valid channels available from MAX. If you pass an invalid channel, NI-DAQmx returns an error. This value is ignored if it is empty.
- property ai_channels: AIChannelCollection
Gets the collection of analog input channels for this task.
- property ao_channels: AOChannelCollection
Gets the collection of analog output channels for this task.
- property channel_names
Indicates the names of all virtual channels in the task.
- Type:
List[str]
- property channels
Specifies a channel object that represents the entire list of virtual channels in this task.
- property ci_channels: CIChannelCollection
Gets the collection of counter input channels for this task.
- close()[source]
Clears the task.
Before clearing, this method aborts the task, if necessary, and releases any resources the task reserved. You cannot use a task after you clear it unless you recreate the task.
If you create a DAQmx Task object within a loop, use this method within the loop after you are finished with the task to avoid allocating unnecessary memory.
- property co_channels: COChannelCollection
Gets the collection of counter output channels for this task.
- control(action)[source]
Alters the state of a task according to the action you specify.
- Parameters:
action (nidaqmx.constants.TaskMode) – Specifies how to alter the task state.
- property devices
Indicates a list of Device objects representing all the devices in the task.
- Type:
- property di_channels: DIChannelCollection
Gets the collection of digital input channels for this task.
- property do_channels: DOChannelCollection
Gets the collection of digital output channels for this task.
- property export_signals: ExportSignals
Gets the exported signal configurations for the task.
- is_task_done()[source]
Queries the status of the task and indicates if it completed execution. Use this function to ensure that the specified operation is complete before you stop the task.
- Returns:
Indicates if the measurement or generation completed.
- Return type:
bool
- property name
Indicates the name of the task.
- Type:
str
- property number_of_channels
Indicates the number of virtual channels in the task.
- Type:
int
- property number_of_devices
Indicates the number of devices in the task.
- Type:
int
- perform_bridge_offset_nulling_cal(channel='', skip_unsupported_channels=False)[source]
Perform a bridge offset nulling calibration on the channels in the task.
If the task measures both bridge-based sensors and non-bridge-based sensors, use the channels input to specify the names of the channels that measure bridge-based sensors.
- Parameters:
channel – is a subset of virtual channels in the task that you want to calibrate. Use this input if you do not want to calibrate all the channels in the task or if some channels in the task have open thermocouple detection disabled. If the input is empty, this VI attempts to calibrate all virtual channels in the task.
skip_unsupported_channels – specifies whether or not to skip channels that do not support calibration. If skip unsupported channels is TRUE, this VI calibrates only supported channels. If FALSE, this VI calibrates the channels specified by channels. The default is FALSE.
- perform_bridge_shunt_cal(channel='', shunt_resistor_value=100000, shunt_resistor_location=ShuntElementLocation.R3, shunt_resistor_select=ShuntCalSelect.A, shunt_resistor_source=ShuntCalSource.DEFAULT, bridge_resistance=120, skip_unsupported_channels=False)[source]
Perform shunt calibration for the specified channels using a bridge sensor.
Refer to the calibration procedure for your module for detailed calibration instructions.
- Parameters:
channel – Specifies a subset of virtual channels in the task that you want to calibrate. Use this input if you do not want to calibrate all the channels in the task or if some channels in the task measure non-bridge-based sensors. If the input is empty, this method attempts to calibrate all virtual channels in the task.
shunt_resistor_value – Specifies the shunt resistance in ohms.
shunt_resistor_location – Specifies the location of the shunt resistor.
shunt_resistor_select – Specifies which shunt calibration switch to enable.
shunt_resistor_source – Specifies which shunt to use.
bridge_resistance – Specifies the bridge resistance in ohms. A value of -1 means to use the nominal bridge resistance specified when you created the virtual channel.
skip_unsupported_channels – Specifies whether or not to skip channels that do not support calibration. If skip_unsupported_channels is True, this method calibrates only supported channels. If False, this method calibrates the channels specified by channels. The default is False.
- perform_strain_shunt_cal(channel='', shunt_resistor_value=100000, shunt_resistor_location=ShuntElementLocation.R3, shunt_resistor_select=ShuntCalSelect.A, shunt_resistor_source=ShuntCalSource.DEFAULT, skip_unsupported_channels=False)[source]
Perform shunt calibration for the specified channels using a strain gage sensor.
Refer to the calibration procedure for your module for detailed calibration instructions.
- Parameters:
channel – Specifies a subset of virtual channels in the task that you want to calibrate. Use this input if you do not want to calibrate all the channels in the task or if some channels in the task measure non-bridge-based sensors. If the input is empty, this method attempts to calibrate all virtual channels in the task.
shunt_resistor_value – Specifies the shunt resistance in ohms.
shunt_resistor_location – Specifies the location of the shunt resistor.
shunt_resistor_select – Specifies which shunt calibration switch to enable.
shunt_resistor_source – Specifies which shunt to use.
skip_unsupported_channels – Specifies whether or not to skip channels that do not support calibration. If skip_unsupported_channels is True, this method calibrates only supported channels. If False, this method calibrates the channels specified by channels. The default is False.
- perform_thrmcpl_lead_offset_nulling_cal(channel='', skip_unsupported_channels=False)[source]
Perform thermocouple lead offset nulling calibration on the channels in the task.
This is to compensate for offsets introduced by open thermocouple detection. Keep the measured temperature as constant as possible while performing this adjustment.
- Parameters:
channel – is a subset of virtual channels in the task that you want to calibrate. Use this input if you do not want to calibrate all the channels in the task or if some channels in the task have open thermocouple detection disabled. If the input is empty, this VI attempts to calibrate all virtual channels in the task.
skip_unsupported_channels – specifies whether or not to skip channels that do not support calibration. If skip unsupported channels is TRUE, this VI calibrates only supported channels. If FALSE, this VI calibrates the channels specified by channels. The default is FALSE.
- read(number_of_samples_per_channel=<nidaqmx.task._task.UnsetNumSamplesSentinel object>, timeout=10.0)[source]
Reads samples from the task or virtual channels you specify.
This read method is dynamic, and is capable of inferring an appropriate return type based on these factors: - The channel type of the task. - The number of channels to read. - The number of samples per channel.
The data type of the samples returned is independently determined by the channel type of the task.
For digital input measurements, the data type of the samples returned is determined by the line grouping format of the digital lines. If the line grouping format is set to “one channel for all lines”, the data type of the samples returned is int. If the line grouping format is set to “one channel per line”, the data type of the samples returned is boolean.
If you do not set the number of samples per channel, this method assumes one sample was requested. This method then returns either a scalar (1 channel to read) or a list (N channels to read).
If you set the number of samples per channel to ANY value (even 1), this method assumes multiple samples were requested. This method then returns either a list (1 channel to read) or a list of lists (N channels to read).
- Parameters:
number_of_samples_per_channel (Optional[int]) –
Specifies the number of samples to read. If this input is not set, assumes samples to read is 1. Conversely, if this input is set, assumes there are multiple samples to read.
If you set this input to nidaqmx.constants. READ_ALL_AVAILABLE, NI-DAQmx determines how many samples to read based on if the task acquires samples continuously or acquires a finite number of samples.
If the task acquires samples continuously and you set this input to nidaqmx.constants.READ_ALL_AVAILABLE, this method reads all the samples currently available in the buffer.
If the task acquires a finite number of samples and you set this input to nidaqmx.constants.READ_ALL_AVAILABLE, the method waits for the task to acquire all requested samples, then reads those samples. If you set the “read_all_avail_samp” property to True, the method reads the samples currently available in the buffer and does not wait for the task to acquire all requested samples.
timeout (Optional[float]) – Specifies the amount of time in seconds to wait for samples to become available. If the time elapses, the method returns an error and any samples read before the timeout elapsed. The default timeout is 10 seconds. If you set timeout to nidaqmx.constants.WAIT_INFINITELY, the method waits indefinitely. If you set timeout to 0, the method tries once to read the requested samples and returns an error if it is unable to.
- Returns:
The samples requested in the form of a scalar, a list, or a list of lists. See method docstring for more info.
NI-DAQmx scales the data to the units of the measurement, including any custom scaling you apply to the channels. Use a DAQmx Create Channel method to specify these units.
- Return type:
dynamic
Example
>>> task = Task() >>> task.ai_channels.add_ai_voltage_chan('Dev1/ai0:3') >>> data = task.read() >>> type(data) <type 'list'> >>> type(data[0]) <type 'float'>
- register_done_event(callback_method)[source]
Registers a callback function to receive an event when a task stops due to an error or when a finite acquisition task or finite generation task completes execution. A Done event does not occur when a task is stopped explicitly, such as by calling DAQmx Stop Task.
- Parameters:
callback_method (function) –
Specifies the function that you want DAQmx to call when the event occurs. The function you pass in this parameter must have the following prototype:
>>> def callback(task_handle, status, callback_data): >>> return 0
Upon entry to the callback, the task_handle parameter contains the handle to the task on which the event occurred. The status parameter contains the status of the task when the event occurred. If the status value is negative, it indicates an error. If the status value is zero, it indicates no error. If the status value is positive, it indicates a warning. The callbackData parameter contains the value you passed in the callbackData parameter of this function.
Passing None for this parameter unregisters the event callback function.
- register_every_n_samples_acquired_into_buffer_event(sample_interval, callback_method)[source]
Registers a callback function to receive an event when the specified number of samples is written from the device to the buffer. This function only works with devices that support buffered tasks.
When you stop a task explicitly any pending events are discarded. For example, if you call DAQmx Stop Task then you do not receive any pending events.
- Parameters:
sample_interval (int) – Specifies the number of samples after which each event should occur.
callback_method (function) –
Specifies the function that you want DAQmx to call when the event occurs. The function you pass in this parameter must have the following prototype:
>>> def callback(task_handle, every_n_samples_event_type, >>> number_of_samples, callback_data): >>> return 0
Upon entry to the callback, the task_handle parameter contains the handle to the task on which the event occurred. The every_n_samples_event_type parameter contains the EveryNSamplesEventType.ACQUIRED_INTO_BUFFER value. The number_of_samples parameter contains the value you passed in the sample_interval parameter of this function. The callback_data parameter contains the value you passed in the callback_data parameter of this function.
Passing None for this parameter unregisters the event callback function.
- register_every_n_samples_transferred_from_buffer_event(sample_interval, callback_method)[source]
Registers a callback function to receive an event when the specified number of samples is written from the buffer to the device. This function only works with devices that support buffered tasks.
When you stop a task explicitly any pending events are discarded. For example, if you call DAQmx Stop Task then you do not receive any pending events.
- Parameters:
sample_interval (int) – Specifies the number of samples after which each event should occur.
callback_method (function) –
Specifies the function that you want DAQmx to call when the event occurs. The function you pass in this parameter must have the following prototype:
>>> def callback(task_handle, every_n_samples_event_type, >>> number_of_samples, callback_data): >>> return 0
Upon entry to the callback, the task_handle parameter contains the handle to the task on which the event occurred. The every_n_samples_event_type parameter contains the EveryNSamplesEventType.TRANSFERRED_FROM_BUFFER value. The number_of_samples parameter contains the value you passed in the sample_interval parameter of this function. The callback_data parameter contains the value you passed in the callback_data parameter of this function.
Passing None for this parameter unregisters the event callback function.
- register_signal_event(signal_type, callback_method)[source]
Registers a callback function to receive an event when the specified hardware event occurs.
When you stop a task explicitly any pending events are discarded. For example, if you call DAQmx Stop Task then you do not receive any pending events.
- Parameters:
signal_type (nidaqmx.constants.Signal) – Specifies the type of signal for which you want to receive results.
callback_method (function) –
Specifies the function that you want DAQmx to call when the event occurs. The function you pass in this parameter must have the following prototype:
>>> def callback(task_handle, signal_type, callback_data): >>> return 0
Upon entry to the callback, the task_handle parameter contains the handle to the task on which the event occurred. The signal_type parameter contains the integer value you passed in the signal_type parameter of this function. The callback_data parameter contains the value you passed in the callback_data parameter of this function.
Passing None for this parameter unregisters the event callback function.
- save(save_as='', author='', overwrite_existing_task=False, allow_interactive_editing=True, allow_interactive_deletion=True)[source]
Saves this task and any local channels it contains to MAX.
This function does not save global channels. Use the DAQmx Save Global Channel function to save global channels.
- Parameters:
save_as (Optional[str]) – Is the name to save the task, global channel, or custom scale as. If you do not specify a value for this input, NI-DAQmx uses the name currently assigned to the task, global channel, or custom scale.
author (Optional[str]) – Is a name to store with the task, global channel, or custom scale.
overwrite_existing_task (Optional[bool]) – Specifies whether to overwrite a task of the same name if one is already saved in MAX. If this input is False and a task of the same name is already saved in MAX, this function returns an error.
allow_interactive_editing (Optional[bool]) – Specifies whether to allow the task, global channel, or custom scale to be edited in the DAQ Assistant. If allow_interactive_editing is True, the DAQ Assistant must support all task or global channel settings.
allow_interactive_deletion (Optional[bool]) – Specifies whether to allow the task, global channel, or custom scale to be deleted through MAX.
- start()[source]
Transitions the task to the running state to begin the measurement or generation. Using this method is required for some applications and is optional for others.
If you do not use this method, a measurement task starts automatically when the DAQmx Read method runs. The autostart input of the DAQmx Write method determines if a generation task starts automatically when the DAQmx Write method runs.
If you do not use the DAQmx Start Task method and the DAQmx Stop Task method when you use the DAQmx Read method or the DAQmx Write method multiple times, such as in a loop, the task starts and stops repeatedly. Starting and stopping a task repeatedly reduces the performance of the application.
- stop()[source]
Stops the task and returns it to the state the task was in before the DAQmx Start Task method ran or the DAQmx Write method ran with the autostart input set to TRUE.
If you do not use the DAQmx Start Task method and the DAQmx Stop Task method when you use the DAQmx Read method or the DAQmx Write method multiple times, such as in a loop, the task starts and stops repeatedly. Starting and stopping a task repeatedly reduces the performance of the application.
- wait_for_valid_timestamp(timestamp_event, timeout=10.0)[source]
Wait until the specified timestamp has a value.
Use this method to ensure the timestamp has a valid value to prevent an error when querying a timestamp value.
- Parameters:
timestamp_event (nidaqmx.constants.TimestampEvent) – Specifies the timestamp type to wait on.
timeout (float) – Specifies the maximum amount of time in seconds to wait for a valid timestamp. This method returns an error if the time elapses. The default is 10. If you set timeout (sec) to nidaqmx.WAIT_INFINITELY, the method waits indefinitely.
- Returns:
The timestamp value of timestamp_event.
- Return type:
datetime
- wait_until_done(timeout=10.0)[source]
Waits for the measurement or generation to complete.
Use this method to ensure that the specified operation is complete before you stop the task.
- Parameters:
timeout (Optional[float]) – Specifies the maximum amount of time in seconds to wait for the measurement or generation to complete. This method returns an error if the time elapses. The default is 10. If you set timeout (sec) to nidaqmx.WAIT_INFINITELY, the method waits indefinitely. If you set timeout (sec) to 0, the method checks once and returns an error if the measurement or generation is not done.
- write(data, auto_start=<nidaqmx.task._task.UnsetAutoStartSentinel object>, timeout=10.0)[source]
Writes samples to the task or virtual channels you specify.
This write method is dynamic, and is capable of accepting the samples to write in the various forms for most operations:
Scalar: Single sample for 1 channel.
List/1D numpy.ndarray: Multiple samples for 1 channel or 1 sample for multiple channels.
List of lists/2D numpy.ndarray: Multiple samples for multiple channels.
The data type of the samples passed in must be appropriate for the channel type of the task.
For counter output pulse operations, this write method only accepts samples in these forms:
Scalar CtrFreq, CtrTime, CtrTick (from nidaqmx.types): Single sample for 1 channel.
List of CtrFreq, CtrTime, CtrTick (from nidaqmx.types): Multiple samples for 1 channel or 1 sample for multiple channels.
If the task uses on-demand timing, this method returns only after the device generates all samples. On-demand is the default timing type if you do not use the timing property on the task to configure a sample timing type. If the task uses any timing type other than on-demand, this method returns immediately and does not wait for the device to generate all samples. Your application must determine if the task is done to ensure that the device generated all samples.
- Parameters:
data (dynamic) –
Contains the samples to write to the task.
The data you write must be in the units of the generation, including any custom scales. Use the DAQmx Create Channel methods to specify these units.
auto_start (Optional[bool]) –
Specifies if this method automatically starts the task if you did not explicitly start it with the DAQmx Start Task method.
The default value of this parameter depends on whether you specify one sample or many samples to write to each channel. If one sample per channel was specified, the default value is True. If multiple samples per channel were specified, the default value is False.
timeout (Optional[float]) – Specifies the amount of time in seconds to wait for the method to write all samples. NI-DAQmx performs a timeout check only if the method must wait before it writes data. This method returns an error if the time elapses. The default timeout is 10 seconds. If you set timeout to nidaqmx.constants.WAIT_INFINITELY, the method waits indefinitely. If you set timeout to 0, the method tries once to write the submitted samples. If the method could not write all the submitted samples, it returns an error and the number of samples successfully written.
- Returns:
Specifies the actual number of samples this method successfully wrote.
- Return type:
int
- class nidaqmx.task.Timing(task_handle, interpreter)[source]
Bases:
object
Represents the timing configurations for a DAQmx task.
- __weakref__
list of weak references to the object (if defined)
- property ai_conv_active_edge
Specifies on which edge of the clock pulse an analog-to-digital conversion takes place.
- Type:
- property ai_conv_dig_fltr_enable
Specifies whether to apply a digital filter to the AI Convert Clock.
- Type:
bool
- property ai_conv_dig_fltr_min_pulse_width
Specifies in seconds the minimum pulse width the filter recognizes.
- Type:
float
- property ai_conv_dig_fltr_timebase_rate
Specifies in hertz the rate of the digital filter timebase. NI-DAQmx uses this value to compute settings for the filter.
- Type:
float
- property ai_conv_dig_fltr_timebase_src
Specifies the terminal of the signal to use as the timebase of the digital filter.
- Type:
str
- property ai_conv_dig_sync_enable
Specifies whether to synchronize recognition of transitions in the signal to the internal timebase of the device.
- Type:
bool
- property ai_conv_max_rate
Indicates the maximum convert rate supported by the task, given the current devices and channel count.
- Type:
float
- property ai_conv_rate
Specifies in Hertz the rate at which to clock the analog- to-digital converter. This clock is specific to the analog input section of multiplexed devices.
- Type:
float
- property ai_conv_src
Specifies the terminal of the signal to use as the AI Convert Clock.
- Type:
str
- property ai_conv_timebase_div
Specifies the number of AI Convert Clock Timebase pulses needed to produce a single AI Convert Clock pulse.
- Type:
int
- property ai_conv_timebase_src
Specifies the terminal of the signal to use as the AI Convert Clock Timebase.
- cfg_burst_handshaking_timing_export_clock(sample_clk_rate, sample_clk_outp_term, sample_mode=AcquisitionType.FINITE, samps_per_chan=1000, sample_clk_pulse_polarity=Polarity.ACTIVE_HIGH, pause_when=Level.HIGH, ready_event_active_level=Polarity.ACTIVE_HIGH)[source]
Configures when the DAQ device transfers data to a peripheral device, using the onboard Sample Clock of the DAQ device to control burst handshake timing and exporting that clock for use by the peripheral device.
- Parameters:
sample_clk_rate (float) – Specifies in hertz the rate of the Sample Clock.
sample_clk_outp_term (str) – Specifies the terminal to which to export the Sample Clock.
sample_mode (Optional[nidaqmx.constants.AcquisitionType]) – Specifies if the task acquires or generates samples continuously or if it acquires or generates a finite number of samples.
samps_per_chan (Optional[int]) – Specifies the number of samples to acquire or generate for each channel in the task if sample_mode is FINITE_SAMPLES. If sample_mode is CONTINUOUS_SAMPLES, NI-DAQmx uses this value to determine the buffer size. This function returns an error if the specified value is negative.
sample_clk_pulse_polarity (Optional[nidaqmx.constants.Polarity]) – Specifies the polarity of the exported Sample Clock.
pause_when (Optional[nidaqmx.constants.Level]) – Specifies whether the task pauses while the trigger signal is high or low.
ready_event_active_level (Optional[nidaqmx.constants.Polarity]) – Specifies the polarity of the Ready for Transfer Event.
- cfg_burst_handshaking_timing_import_clock(sample_clk_rate, sample_clk_src, sample_mode=AcquisitionType.FINITE, samps_per_chan=1000, sample_clk_active_edge=Edge.RISING, pause_when=Level.HIGH, ready_event_active_level=Polarity.ACTIVE_HIGH)[source]
Configures when the DAQ device transfers data to a peripheral device, using an imported sample clock to control burst handshake timing.
- Parameters:
sample_clk_rate (float) – Specifies in hertz the rate of the Sample Clock.
sample_clk_src (str) – Specifies the source terminal of the Sample Clock. Leave this input unspecified to use the default onboard clock of the device.
sample_mode (Optional[nidaqmx.constants.AcquisitionType]) – Specifies if the task acquires or generates samples continuously or if it acquires or generates a finite number of samples.
samps_per_chan (Optional[int]) – Specifies the number of samples to acquire or generate for each channel in the task if sample_mode is FINITE_SAMPLES. If sample_mode is CONTINUOUS_SAMPLES, NI-DAQmx uses this value to determine the buffer size. This function returns an error if the specified value is negative.
sample_clk_active_edge (Optional[nidaqmx.constants.Edge]) – Specifies on which edges of Sample Clock pulses to acquire or generate samples.
pause_when (Optional[nidaqmx.constants.Level]) – Specifies whether the task pauses while the trigger signal is high or low.
ready_event_active_level (Optional[nidaqmx.constants.Polarity]) – Specifies the polarity of the Ready for Transfer Event.
- cfg_change_detection_timing(rising_edge_chan='', falling_edge_chan='', sample_mode=AcquisitionType.FINITE, samps_per_chan=1000)[source]
Configures the task to acquire samples on the rising and/or falling edges of the lines or ports you specify. To detect both rising and falling edges on a line or port, specify the name of that line or port to both rising_edge_chan and falling_edge_chan.
- Parameters:
rising_edge_chan (Optional[str]) – Specifies the names of the digital lines or ports on which to detect rising edges. The DAQmx physical channel constant lists all lines and ports for devices installed in your system.
falling_edge_chan (Optional[str]) – Specifies the names of the digital lines or ports on which to detect falling edges. The DAQmx physical channel constant lists all lines and ports for devices installed in your system.
sample_mode (Optional[nidaqmx.constants.AcquisitionType]) – Specifies if the task acquires samples continuously or if it acquires a finite number of samples.
samps_per_chan (Optional[int]) – Specifies the number of samples to acquire from each channel in the task if sample_mode is FINITE_SAMPLES. This function returns an error if the specified value is negative.
- cfg_handshaking_timing(sample_mode=AcquisitionType.FINITE, samps_per_chan=1000)[source]
Determines the number of digital samples to acquire or generate using digital handshaking between the device and a peripheral device.
- Parameters:
sample_mode (Optional[nidaqmx.constants.AcquisitionType]) – Specifies if the task acquires or generates samples continuously or if it acquires or generates a finite number of samples.
samps_per_chan (Optional[int]) – Specifies the number of samples to acquire or generate for each channel in the task if sample_mode is FINITE_SAMPLES. If sample_mode is CONTINUOUS_SAMPLES, NI-DAQmx uses this value to determine the buffer size. This function returns an error if the specified value is negative.
- cfg_implicit_timing(sample_mode=AcquisitionType.FINITE, samps_per_chan=1000)[source]
Sets only the number of samples to acquire or generate without specifying timing. Typically, you should use this instance when the task does not require sample timing, such as tasks that use counters for buffered frequency measurement, buffered period measurement, or pulse train generation. For finite counter output tasks, samps_per_chan is the number of pulses to generate.
- Parameters:
sample_mode (Optional[nidaqmx.constants.AcquisitionType]) – Specifies if the task acquires or generates samples continuously or if it acquires or generates a finite number of samples.
samps_per_chan (Optional[int]) – Specifies the number of samples to acquire or generate for each channel in the task if sample_mode is FINITE_SAMPLES. If sample_mode is CONTINUOUS_SAMPLES, NI-DAQmx uses this value to determine the buffer size. This function returns an error if the specified value is negative.
- cfg_pipelined_samp_clk_timing(rate, source='', active_edge=Edge.RISING, sample_mode=AcquisitionType.FINITE, samps_per_chan=1000)[source]
Sets the source of the Sample Clock, the rate of the Sample Clock, and the number of samples to acquire or generate. The device acquires or generates samples on each Sample Clock edge, but it does not respond to certain triggers until a few Sample Clock edges later. Pipelining allows higher data transfer rates at the cost of increased trigger response latency. Refer to the device documentation for information about which triggers pipelining affects. This timing type allows handshaking using the Pause trigger and either the Ready for Transfer event or the Data Active event. Refer to the device documentation for more information. This timing type is supported only by the NI 6536 and NI 6537.
- Parameters:
rate (float) – Specifies the sampling rate in samples per channel per second. If you use an external source for the Sample Clock, set this input to the maximum expected rate of that clock.
source (Optional[str]) – Specifies the source terminal of the Sample Clock. Leave this input unspecified to use the default onboard clock of the device.
active_edge (Optional[nidaqmx.constants.Edge]) – Specifies on which edges of Sample Clock pulses to acquire or generate samples.
sample_mode (Optional[nidaqmx.constants.AcquisitionType]) – Specifies if the task acquires or generates samples continuously or if it acquires or generates a finite number of samples.
samps_per_chan (Optional[int]) – Specifies the number of samples to acquire or generate for each channel in the task if sample_mode is FINITE_SAMPLES. If sample_mode is CONTINUOUS_SAMPLES, NI-DAQmx uses this value to determine the buffer size. This function returns an error if the specified value is negative.
- cfg_samp_clk_timing(rate, source='', active_edge=Edge.RISING, sample_mode=AcquisitionType.FINITE, samps_per_chan=1000)[source]
Sets the source of the Sample Clock, the rate of the Sample Clock, and the number of samples to acquire or generate.
- Parameters:
rate (float) – Specifies the sampling rate in samples per channel per second. If you use an external source for the Sample Clock, set this input to the maximum expected rate of that clock.
source (Optional[str]) – Specifies the source terminal of the Sample Clock. Leave this input unspecified to use the default onboard clock of the device.
active_edge (Optional[nidaqmx.constants.Edge]) – Specifies on which edges of Sample Clock pulses to acquire or generate samples.
sample_mode (Optional[nidaqmx.constants.AcquisitionType]) – Specifies if the task acquires or generates samples continuously or if it acquires or generates a finite number of samples.
samps_per_chan (Optional[int]) – Specifies the number of samples to acquire or generate for each channel in the task if sample_mode is FINITE_SAMPLES. If sample_mode is CONTINUOUS_SAMPLES, NI-DAQmx uses this value to determine the buffer size. This function returns an error if the specified value is negative.
- property change_detect_di_falling_edge_physical_chans
nidaqmx.system.physical_channel.PhysicalChannel
: Specifies the names of the digital lines or ports on which to detect falling edges. The lines or ports must be used by virtual channels in the task. You also can specify a string that contains a list or range of digital lines or ports.
- property change_detect_di_rising_edge_physical_chans
nidaqmx.system.physical_channel.PhysicalChannel
: Specifies the names of the digital lines or ports on which to detect rising edges. The lines or ports must be used by virtual channels in the task. You also can specify a string that contains a list or range of digital lines or ports.
- property change_detect_di_tristate
Specifies whether to tristate lines specified with change_detect_di_rising_edge_physical_chans and change_detect_di_falling_edge_physical_chans that are not in a virtual channel in the task. If you set this property to True, NI-DAQmx tristates rising/falling edge lines that are not in a virtual channel in the task. If you set this property to False, NI-DAQmx does not modify the configuration of rising/falling edge lines that are not in a virtual channel in the task, even if the lines were previously tristated. Set this property to False to detect changes on lines in other tasks or to detect changes on output-only lines.
- Type:
bool
- property delay_from_samp_clk_delay
Specifies the amount of time to wait after receiving a Sample Clock edge before beginning to acquire the sample. This value is in the units you specify with delay_from_samp_clk_delay_units.
- Type:
float
- property delay_from_samp_clk_delay_units
Specifies the units of delay_from_samp_clk_delay.
- property first_samp_clk_offset
Specifies, in seconds, the offset to apply to the first_samp_clk_when value. This offset modifies when the first sample clock occurs and is used to account for known delays in the signal path.
- Type:
float
- property first_samp_clk_timescale
Specifies the timescale to be used for the value of first_samp_clk_when.
- property first_samp_clk_when
Specifies the time of the first sample clock pulse.
- Type:
datetime
- property first_samp_timestamp_enable
Specifies whether to enable the first sample timestamp.
- Type:
bool
- property first_samp_timestamp_timescale
Specifies the timescale to be used for the first sample timestamp.
- property first_samp_timestamp_val
Indicates the timestamp of the first sample.
- Type:
datetime
- property hshk_delay_after_xfer
Specifies the number of seconds to wait after a handshake cycle before starting a new handshake cycle.
- Type:
float
- property hshk_sample_input_data_when
Specifies on which edge of the Handshake Trigger an input task latches the data from the peripheral device.
- property hshk_start_cond
Specifies the point in the handshake cycle that the device is in when the task starts.
- property implicit_underflow_behavior
Specifies the action to take when the onboard memory of the device becomes empty.
- property master_timebase_rate
Specifies the rate of the Master Timebase.
- Type:
float
- property master_timebase_src
Specifies the terminal of the signal to use as the Master Timebase. On an E Series device, you can choose only between the onboard 20MHz Timebase or the RTSI7 terminal.
- Type:
str
- property ref_clk_rate
Specifies the frequency of the Reference Clock.
- Type:
float
- property ref_clk_src
Specifies the terminal of the signal to use as the Reference Clock.
- Type:
str
- property samp_clk_active_edge
Specifies on which edge of a clock pulse sampling takes place. This property is useful primarily when the signal you use as the Sample Clock is not a periodic clock.
- Type:
- property samp_clk_dig_fltr_enable
Specifies whether to apply the pulse width filter to the signal.
- Type:
bool
- property samp_clk_dig_fltr_min_pulse_width
Specifies in seconds the minimum pulse width the filter recognizes.
- Type:
float
- property samp_clk_dig_fltr_timebase_rate
Specifies in hertz the rate of the pulse width filter timebase. NI-DAQmx uses this value to compute settings for the filter.
- Type:
float
- property samp_clk_dig_fltr_timebase_src
Specifies the input terminal of the signal to use as the timebase of the pulse width filter.
- Type:
str
- property samp_clk_dig_sync_enable
Specifies whether to synchronize recognition of transitions in the signal to the internal timebase of the device.
- Type:
bool
- property samp_clk_max_rate
Indicates the maximum Sample Clock rate supported by the task, based on other timing settings. For output tasks, the maximum Sample Clock rate is the maximum rate of the DAC. For input tasks, NI-DAQmx calculates the maximum sampling rate differently for multiplexed devices than simultaneous sampling devices.
- Type:
float
- property samp_clk_overrun_behavior
Specifies the action to take if Sample Clock edges occur faster than the device can handle them.
- property samp_clk_rate
Specifies the sampling rate in samples per channel per second. If you use an external source for the Sample Clock, set this input to the maximum expected rate of that clock.
- Type:
float
- property samp_clk_src
Specifies the terminal of the signal to use as the Sample Clock.
- Type:
str
- property samp_clk_term
Indicates the name of the internal Sample Clock terminal for the task. This property does not return the name of the Sample Clock source terminal specified with samp_clk_src.
- Type:
str
- property samp_clk_timebase_active_edge
Specifies on which edge to recognize a Sample Clock Timebase pulse. This property is useful primarily when the signal you use as the Sample Clock Timebase is not a periodic clock.
- Type:
- property samp_clk_timebase_div
Specifies the number of Sample Clock Timebase pulses needed to produce a single Sample Clock pulse.
- Type:
int
- property samp_clk_timebase_master_timebase_div
Specifies the number of pulses of the Master Timebase needed to produce a single pulse of the Sample Clock Timebase.
- Type:
int
- property samp_clk_timebase_rate
Specifies the rate of the Sample Clock Timebase. Some applications require that you specify a rate when you use any signal other than the onboard Sample Clock Timebase. NI- DAQmx requires this rate to calculate other timing parameters.
- Type:
float
- property samp_clk_timebase_src
Specifies the terminal of the signal to use as the Sample Clock Timebase.
- Type:
str
- property samp_clk_timebase_term
Indicates the name of the internal Sample Clock Timebase terminal for the task. This property does not return the name of the Sample Clock Timebase source terminal specified with samp_clk_timebase_src.
- Type:
str
- property samp_clk_underflow_behavior
Specifies the action to take when the onboard memory of the device becomes empty. In either case, the sample clock does not stop.
- property samp_clk_write_wfm_use_initial_wfm_dt
Specifies that the value of samp_clk_rate will be determined by the dt component of the initial DAQmx Write waveform input for Output tasks.
- Type:
bool
- property samp_quant_samp_mode
Specifies if a task acquires or generates a finite number of samples or if it continuously acquires or generates samples.
- property samp_quant_samp_per_chan
Specifies the number of samples to acquire or generate for each channel if samp_quant_samp_mode is AcquisitionType.FINITE. If samp_quant_samp_mode is AcquisitionType.CONTINUOUS, NI-DAQmx uses this value to determine the buffer size.
- Type:
int
- property samp_timing_engine
Specifies which timing engine to use for the task.
- Type:
int
- property samp_timing_type
Specifies the type of sample timing to use for the task.
- property simultaneous_ao_enable
Specifies whether to update all channels in the task simultaneously, rather than updating channels independently when you write a sample to that channel.
- Type:
bool
- property sync_clk_interval
Specifies the interval, in Sample Clock periods, between each internal Synchronization Clock pulse. NI-DAQmx uses this pulse for synchronization of triggers between multiple devices at different rates. Refer to device documentation for information about how to calculate this value.
- Type:
int
- property sync_pulse_min_delay_to_start
Specifies in seconds the amount of time that elapses after the master device issues the synchronization pulse before the task starts.
- Type:
float
- property sync_pulse_reset_delay
Specifies in seconds the amount of time to wait after the Synchronization Pulse before resetting the ADCs or DACs on the device. When synchronizing devices, query sync_pulse_reset_time on all devices and note the largest reset time. Then, for each device, subtract the reset time from the largest reset time and set this property to the resulting value.
- Type:
float
- property sync_pulse_reset_time
Indicates in seconds the amount of time required for the ADCs or DACs on the device to reset. When synchronizing devices, query this property on all devices and note the largest reset time. Then, for each device, subtract the value of this property from the largest reset time and set sync_pulse_reset_delay to the resulting value.
- Type:
float
- property sync_pulse_src
Specifies the terminal of the signal to use as the synchronization pulse. The synchronization pulse resets the clock dividers and the ADCs/DACs on the device.
- Type:
str
- property sync_pulse_sync_time
Indicates in seconds the delay required to reset the ADCs/DACs after the device receives the synchronization pulse.
- Type:
float
- property sync_pulse_term
Indicates the name of the internal Synchronization Pulse terminal for the task. This property does not return the name of the source terminal.
- Type:
str
- property sync_pulse_time_timescale
Specifies the timescale to be used for timestamps for a sync pulse.
- property sync_pulse_time_when
Specifies the start time of the sync pulse.
- Type:
datetime
- property sync_pulse_type
Specifies the type of sync pulse used in the task.
- nidaqmx.task.channels
Channel
AIChannel
AIChannel.ai_ac_excit_freq
AIChannel.ai_ac_excit_sync_enable
AIChannel.ai_ac_excit_wire_mode
AIChannel.ai_accel_4_wire_dc_voltage_sensitivity
AIChannel.ai_accel_4_wire_dc_voltage_sensitivity_units
AIChannel.ai_accel_charge_sensitivity
AIChannel.ai_accel_charge_sensitivity_units
AIChannel.ai_accel_db_ref
AIChannel.ai_accel_sensitivity
AIChannel.ai_accel_sensitivity_units
AIChannel.ai_accel_units
AIChannel.ai_adc_custom_timing_mode
AIChannel.ai_adc_timing_mode
AIChannel.ai_atten
AIChannel.ai_auto_zero_mode
AIChannel.ai_averaging_win_size
AIChannel.ai_bridge_balance_coarse_pot
AIChannel.ai_bridge_balance_fine_pot
AIChannel.ai_bridge_cfg
AIChannel.ai_bridge_electrical_units
AIChannel.ai_bridge_initial_ratio
AIChannel.ai_bridge_initial_voltage
AIChannel.ai_bridge_nom_resistance
AIChannel.ai_bridge_physical_units
AIChannel.ai_bridge_poly_forward_coeff
AIChannel.ai_bridge_poly_reverse_coeff
AIChannel.ai_bridge_scale_type
AIChannel.ai_bridge_shunt_cal_enable
AIChannel.ai_bridge_shunt_cal_gain_adjust
AIChannel.ai_bridge_shunt_cal_select
AIChannel.ai_bridge_shunt_cal_shunt_cal_a_actual_resistance
AIChannel.ai_bridge_shunt_cal_shunt_cal_a_resistance
AIChannel.ai_bridge_shunt_cal_shunt_cal_a_src
AIChannel.ai_bridge_shunt_cal_shunt_cal_b_actual_resistance
AIChannel.ai_bridge_shunt_cal_shunt_cal_b_resistance
AIChannel.ai_bridge_table_electrical_vals
AIChannel.ai_bridge_table_physical_vals
AIChannel.ai_bridge_two_point_lin_first_electrical_val
AIChannel.ai_bridge_two_point_lin_first_physical_val
AIChannel.ai_bridge_two_point_lin_second_electrical_val
AIChannel.ai_bridge_two_point_lin_second_physical_val
AIChannel.ai_bridge_units
AIChannel.ai_charge_units
AIChannel.ai_chop_enable
AIChannel.ai_coupling
AIChannel.ai_current_acrms_units
AIChannel.ai_current_shunt_loc
AIChannel.ai_current_shunt_resistance
AIChannel.ai_current_units
AIChannel.ai_custom_scale
AIChannel.ai_data_xfer_custom_threshold
AIChannel.ai_data_xfer_max_rate
AIChannel.ai_data_xfer_mech
AIChannel.ai_data_xfer_req_cond
AIChannel.ai_dc_offset
AIChannel.ai_dev_scaling_coeff
AIChannel.ai_dig_fltr_bandpass_center_freq
AIChannel.ai_dig_fltr_bandpass_width
AIChannel.ai_dig_fltr_coeff
AIChannel.ai_dig_fltr_enable
AIChannel.ai_dig_fltr_highpass_cutoff_freq
AIChannel.ai_dig_fltr_lowpass_cutoff_freq
AIChannel.ai_dig_fltr_notch_center_freq
AIChannel.ai_dig_fltr_notch_width
AIChannel.ai_dig_fltr_order
AIChannel.ai_dig_fltr_response
AIChannel.ai_dig_fltr_type
AIChannel.ai_dither_enable
AIChannel.ai_eddy_current_prox_sensitivity
AIChannel.ai_eddy_current_prox_sensitivity_units
AIChannel.ai_eddy_current_prox_units
AIChannel.ai_enhanced_alias_rejection_enable
AIChannel.ai_excit_actual_val
AIChannel.ai_excit_d_cor_ac
AIChannel.ai_excit_idle_output_behavior
AIChannel.ai_excit_sense
AIChannel.ai_excit_src
AIChannel.ai_excit_use_for_scaling
AIChannel.ai_excit_use_multiplexed
AIChannel.ai_excit_val
AIChannel.ai_excit_voltage_or_current
AIChannel.ai_filter_delay
AIChannel.ai_filter_delay_adjustment
AIChannel.ai_filter_delay_units
AIChannel.ai_filter_enable
AIChannel.ai_filter_freq
AIChannel.ai_filter_order
AIChannel.ai_filter_response
AIChannel.ai_force_iepe_sensor_sensitivity
AIChannel.ai_force_iepe_sensor_sensitivity_units
AIChannel.ai_force_read_from_chan
AIChannel.ai_force_units
AIChannel.ai_freq_hyst
AIChannel.ai_freq_thresh_voltage
AIChannel.ai_freq_units
AIChannel.ai_gain
AIChannel.ai_impedance
AIChannel.ai_input_limits_fault_detect_enable
AIChannel.ai_input_limits_fault_detect_lower_limit
AIChannel.ai_input_limits_fault_detect_upper_limit
AIChannel.ai_input_src
AIChannel.ai_lead_wire_resistance
AIChannel.ai_lossy_lsb_removal_compressed_samp_size
AIChannel.ai_lowpass_cutoff_freq
AIChannel.ai_lowpass_enable
AIChannel.ai_lowpass_switch_cap_clk_src
AIChannel.ai_lowpass_switch_cap_ext_clk_div
AIChannel.ai_lowpass_switch_cap_ext_clk_freq
AIChannel.ai_lowpass_switch_cap_out_clk_div
AIChannel.ai_lvdt_sensitivity
AIChannel.ai_lvdt_sensitivity_units
AIChannel.ai_lvdt_units
AIChannel.ai_max
AIChannel.ai_meas_type
AIChannel.ai_mem_map_enable
AIChannel.ai_microphone_sensitivity
AIChannel.ai_min
AIChannel.ai_open_chan_detect_enable
AIChannel.ai_open_thrmcpl_detect_enable
AIChannel.ai_overcurrent_detect_enable
AIChannel.ai_power_supply_fault_detect_enable
AIChannel.ai_pressure_units
AIChannel.ai_probe_atten
AIChannel.ai_raw_data_compression_type
AIChannel.ai_raw_samp_justification
AIChannel.ai_raw_samp_size
AIChannel.ai_remove_filter_delay
AIChannel.ai_resistance_cfg
AIChannel.ai_resistance_units
AIChannel.ai_resolution
AIChannel.ai_resolution_units
AIChannel.ai_rng_high
AIChannel.ai_rng_low
AIChannel.ai_rosette_strain_gage_gage_orientation
AIChannel.ai_rosette_strain_gage_rosette_meas_type
AIChannel.ai_rosette_strain_gage_rosette_type
AIChannel.ai_rosette_strain_gage_strain_chans
AIChannel.ai_rtd_a
AIChannel.ai_rtd_b
AIChannel.ai_rtd_c
AIChannel.ai_rtd_r0
AIChannel.ai_rtd_type
AIChannel.ai_rvdt_sensitivity
AIChannel.ai_rvdt_sensitivity_units
AIChannel.ai_rvdt_units
AIChannel.ai_samp_and_hold_enable
AIChannel.ai_sensor_power_cfg
AIChannel.ai_sensor_power_type
AIChannel.ai_sensor_power_voltage
AIChannel.ai_sound_pressure_db_ref
AIChannel.ai_sound_pressure_max_sound_pressure_lvl
AIChannel.ai_sound_pressure_units
AIChannel.ai_strain_force_read_from_chan
AIChannel.ai_strain_gage_cfg
AIChannel.ai_strain_gage_gage_factor
AIChannel.ai_strain_gage_poisson_ratio
AIChannel.ai_strain_units
AIChannel.ai_teds_is_teds
AIChannel.ai_teds_units
AIChannel.ai_temp_units
AIChannel.ai_term_cfg
AIChannel.ai_thrmcpl_cjc_chan
AIChannel.ai_thrmcpl_cjc_src
AIChannel.ai_thrmcpl_cjc_val
AIChannel.ai_thrmcpl_lead_offset_voltage
AIChannel.ai_thrmcpl_scale_type
AIChannel.ai_thrmcpl_type
AIChannel.ai_thrmstr_a
AIChannel.ai_thrmstr_b
AIChannel.ai_thrmstr_c
AIChannel.ai_thrmstr_r1
AIChannel.ai_torque_units
AIChannel.ai_usb_xfer_req_count
AIChannel.ai_usb_xfer_req_size
AIChannel.ai_velocity_iepe_sensor_db_ref
AIChannel.ai_velocity_iepe_sensor_sensitivity
AIChannel.ai_velocity_iepe_sensor_sensitivity_units
AIChannel.ai_velocity_units
AIChannel.ai_voltage_acrms_units
AIChannel.ai_voltage_db_ref
AIChannel.ai_voltage_units
AIChannel.pwr_current_dev_scaling_coeff
AIChannel.pwr_current_setpoint
AIChannel.pwr_idle_output_behavior
AIChannel.pwr_output_enable
AIChannel.pwr_output_state
AIChannel.pwr_remote_sense
AIChannel.pwr_voltage_dev_scaling_coeff
AIChannel.pwr_voltage_setpoint
AIChannel.ai_rtd_r_0
AIChannel.ai_sound_pressured_b_ref
AIChannel.ai_thrmstr_r_1
AIChannel.ai_acceld_b_ref
AIChannel.ai_voltaged_b_ref
AIChannel.ai_velocity_iepe_sensord_b_ref
AOChannel
AOChannel.ao_common_mode_offset
AOChannel.ao_current_units
AOChannel.ao_custom_scale
AOChannel.ao_dac_offset_ext_src
AOChannel.ao_dac_offset_src
AOChannel.ao_dac_offset_val
AOChannel.ao_dac_ref_allow_conn_to_gnd
AOChannel.ao_dac_ref_conn_to_gnd
AOChannel.ao_dac_ref_ext_src
AOChannel.ao_dac_ref_src
AOChannel.ao_dac_ref_val
AOChannel.ao_dac_rng_high
AOChannel.ao_dac_rng_low
AOChannel.ao_data_xfer_mech
AOChannel.ao_data_xfer_req_cond
AOChannel.ao_dev_scaling_coeff
AOChannel.ao_enhanced_image_rejection_enable
AOChannel.ao_filter_delay
AOChannel.ao_filter_delay_adjustment
AOChannel.ao_filter_delay_units
AOChannel.ao_func_gen_amplitude
AOChannel.ao_func_gen_fm_deviation
AOChannel.ao_func_gen_freq
AOChannel.ao_func_gen_modulation_type
AOChannel.ao_func_gen_offset
AOChannel.ao_func_gen_square_duty_cycle
AOChannel.ao_func_gen_start_phase
AOChannel.ao_func_gen_type
AOChannel.ao_gain
AOChannel.ao_idle_output_behavior
AOChannel.ao_load_impedance
AOChannel.ao_max
AOChannel.ao_mem_map_enable
AOChannel.ao_min
AOChannel.ao_output_impedance
AOChannel.ao_output_type
AOChannel.ao_reglitch_enable
AOChannel.ao_resolution
AOChannel.ao_resolution_units
AOChannel.ao_term_cfg
AOChannel.ao_usb_xfer_req_count
AOChannel.ao_usb_xfer_req_size
AOChannel.ao_use_only_on_brd_mem
AOChannel.ao_voltage_current_limit
AOChannel.ao_voltage_units
CIChannel
CIChannel.ci_ang_encoder_initial_angle
CIChannel.ci_ang_encoder_pulses_per_rev
CIChannel.ci_ang_encoder_units
CIChannel.ci_count
CIChannel.ci_count_edges_active_edge
CIChannel.ci_count_edges_count_dir_dig_fltr_enable
CIChannel.ci_count_edges_count_dir_dig_fltr_min_pulse_width
CIChannel.ci_count_edges_count_dir_dig_fltr_timebase_rate
CIChannel.ci_count_edges_count_dir_dig_fltr_timebase_src
CIChannel.ci_count_edges_count_dir_dig_sync_enable
CIChannel.ci_count_edges_count_dir_hyst
CIChannel.ci_count_edges_count_dir_logic_lvl_behavior
CIChannel.ci_count_edges_count_dir_term_cfg
CIChannel.ci_count_edges_count_dir_thresh_voltage
CIChannel.ci_count_edges_count_reset_active_edge
CIChannel.ci_count_edges_count_reset_dig_fltr_enable
CIChannel.ci_count_edges_count_reset_dig_fltr_min_pulse_width
CIChannel.ci_count_edges_count_reset_dig_fltr_timebase_rate
CIChannel.ci_count_edges_count_reset_dig_fltr_timebase_src
CIChannel.ci_count_edges_count_reset_dig_sync_enable
CIChannel.ci_count_edges_count_reset_enable
CIChannel.ci_count_edges_count_reset_hyst
CIChannel.ci_count_edges_count_reset_logic_lvl_behavior
CIChannel.ci_count_edges_count_reset_reset_cnt
CIChannel.ci_count_edges_count_reset_term
CIChannel.ci_count_edges_count_reset_term_cfg
CIChannel.ci_count_edges_count_reset_thresh_voltage
CIChannel.ci_count_edges_dig_fltr_enable
CIChannel.ci_count_edges_dig_fltr_min_pulse_width
CIChannel.ci_count_edges_dig_fltr_timebase_rate
CIChannel.ci_count_edges_dig_fltr_timebase_src
CIChannel.ci_count_edges_dig_sync_enable
CIChannel.ci_count_edges_dir
CIChannel.ci_count_edges_dir_term
CIChannel.ci_count_edges_gate_dig_fltr_enable
CIChannel.ci_count_edges_gate_dig_fltr_min_pulse_width
CIChannel.ci_count_edges_gate_dig_fltr_timebase_rate
CIChannel.ci_count_edges_gate_dig_fltr_timebase_src
CIChannel.ci_count_edges_gate_enable
CIChannel.ci_count_edges_gate_hyst
CIChannel.ci_count_edges_gate_logic_lvl_behavior
CIChannel.ci_count_edges_gate_term
CIChannel.ci_count_edges_gate_term_cfg
CIChannel.ci_count_edges_gate_thresh_voltage
CIChannel.ci_count_edges_gate_when
CIChannel.ci_count_edges_hyst
CIChannel.ci_count_edges_initial_cnt
CIChannel.ci_count_edges_logic_lvl_behavior
CIChannel.ci_count_edges_term
CIChannel.ci_count_edges_term_cfg
CIChannel.ci_count_edges_thresh_voltage
CIChannel.ci_ctr_timebase_active_edge
CIChannel.ci_ctr_timebase_dig_fltr_enable
CIChannel.ci_ctr_timebase_dig_fltr_min_pulse_width
CIChannel.ci_ctr_timebase_dig_fltr_timebase_rate
CIChannel.ci_ctr_timebase_dig_fltr_timebase_src
CIChannel.ci_ctr_timebase_dig_sync_enable
CIChannel.ci_ctr_timebase_master_timebase_div
CIChannel.ci_ctr_timebase_rate
CIChannel.ci_ctr_timebase_src
CIChannel.ci_custom_scale
CIChannel.ci_data_xfer_mech
CIChannel.ci_data_xfer_req_cond
CIChannel.ci_dup_count_prevention
CIChannel.ci_duty_cycle_dig_fltr_enable
CIChannel.ci_duty_cycle_dig_fltr_min_pulse_width
CIChannel.ci_duty_cycle_dig_fltr_timebase_rate
CIChannel.ci_duty_cycle_dig_fltr_timebase_src
CIChannel.ci_duty_cycle_logic_lvl_behavior
CIChannel.ci_duty_cycle_starting_edge
CIChannel.ci_duty_cycle_term
CIChannel.ci_duty_cycle_term_cfg
CIChannel.ci_encoder_a_input_dig_fltr_enable
CIChannel.ci_encoder_a_input_dig_fltr_min_pulse_width
CIChannel.ci_encoder_a_input_dig_fltr_timebase_rate
CIChannel.ci_encoder_a_input_dig_fltr_timebase_src
CIChannel.ci_encoder_a_input_dig_sync_enable
CIChannel.ci_encoder_a_input_logic_lvl_behavior
CIChannel.ci_encoder_a_input_term
CIChannel.ci_encoder_a_input_term_cfg
CIChannel.ci_encoder_b_input_dig_fltr_enable
CIChannel.ci_encoder_b_input_dig_fltr_min_pulse_width
CIChannel.ci_encoder_b_input_dig_fltr_timebase_rate
CIChannel.ci_encoder_b_input_dig_fltr_timebase_src
CIChannel.ci_encoder_b_input_dig_sync_enable
CIChannel.ci_encoder_b_input_logic_lvl_behavior
CIChannel.ci_encoder_b_input_term
CIChannel.ci_encoder_b_input_term_cfg
CIChannel.ci_encoder_decoding_type
CIChannel.ci_encoder_z_index_enable
CIChannel.ci_encoder_z_index_phase
CIChannel.ci_encoder_z_index_val
CIChannel.ci_encoder_z_input_dig_fltr_enable
CIChannel.ci_encoder_z_input_dig_fltr_min_pulse_width
CIChannel.ci_encoder_z_input_dig_fltr_timebase_rate
CIChannel.ci_encoder_z_input_dig_fltr_timebase_src
CIChannel.ci_encoder_z_input_dig_sync_enable
CIChannel.ci_encoder_z_input_logic_lvl_behavior
CIChannel.ci_encoder_z_input_term
CIChannel.ci_encoder_z_input_term_cfg
CIChannel.ci_filter_delay
CIChannel.ci_filter_delay_units
CIChannel.ci_filter_enable
CIChannel.ci_filter_freq
CIChannel.ci_filter_order
CIChannel.ci_filter_response
CIChannel.ci_freq_dig_fltr_enable
CIChannel.ci_freq_dig_fltr_min_pulse_width
CIChannel.ci_freq_dig_fltr_timebase_rate
CIChannel.ci_freq_dig_fltr_timebase_src
CIChannel.ci_freq_dig_sync_enable
CIChannel.ci_freq_div
CIChannel.ci_freq_enable_averaging
CIChannel.ci_freq_hyst
CIChannel.ci_freq_logic_lvl_behavior
CIChannel.ci_freq_meas_meth
CIChannel.ci_freq_meas_time
CIChannel.ci_freq_starting_edge
CIChannel.ci_freq_term
CIChannel.ci_freq_term_cfg
CIChannel.ci_freq_thresh_voltage
CIChannel.ci_freq_units
CIChannel.ci_gps_sync_method
CIChannel.ci_gps_sync_src
CIChannel.ci_lin_encoder_dist_per_pulse
CIChannel.ci_lin_encoder_initial_pos
CIChannel.ci_lin_encoder_units
CIChannel.ci_max
CIChannel.ci_max_meas_period
CIChannel.ci_meas_type
CIChannel.ci_mem_map_enable
CIChannel.ci_min
CIChannel.ci_num_possibly_invalid_samps
CIChannel.ci_output_state
CIChannel.ci_period_dig_fltr_enable
CIChannel.ci_period_dig_fltr_min_pulse_width
CIChannel.ci_period_dig_fltr_timebase_rate
CIChannel.ci_period_dig_fltr_timebase_src
CIChannel.ci_period_dig_sync_enable
CIChannel.ci_period_div
CIChannel.ci_period_enable_averaging
CIChannel.ci_period_hyst
CIChannel.ci_period_logic_lvl_behavior
CIChannel.ci_period_meas_meth
CIChannel.ci_period_meas_time
CIChannel.ci_period_starting_edge
CIChannel.ci_period_term
CIChannel.ci_period_term_cfg
CIChannel.ci_period_thresh_voltage
CIChannel.ci_period_units
CIChannel.ci_prescaler
CIChannel.ci_pulse_freq_dig_fltr_enable
CIChannel.ci_pulse_freq_dig_fltr_min_pulse_width
CIChannel.ci_pulse_freq_dig_fltr_timebase_rate
CIChannel.ci_pulse_freq_dig_fltr_timebase_src
CIChannel.ci_pulse_freq_dig_sync_enable
CIChannel.ci_pulse_freq_logic_lvl_behavior
CIChannel.ci_pulse_freq_starting_edge
CIChannel.ci_pulse_freq_term
CIChannel.ci_pulse_freq_term_cfg
CIChannel.ci_pulse_freq_units
CIChannel.ci_pulse_ticks_dig_fltr_enable
CIChannel.ci_pulse_ticks_dig_fltr_min_pulse_width
CIChannel.ci_pulse_ticks_dig_fltr_timebase_rate
CIChannel.ci_pulse_ticks_dig_fltr_timebase_src
CIChannel.ci_pulse_ticks_dig_sync_enable
CIChannel.ci_pulse_ticks_logic_lvl_behavior
CIChannel.ci_pulse_ticks_starting_edge
CIChannel.ci_pulse_ticks_term
CIChannel.ci_pulse_ticks_term_cfg
CIChannel.ci_pulse_time_dig_fltr_enable
CIChannel.ci_pulse_time_dig_fltr_min_pulse_width
CIChannel.ci_pulse_time_dig_fltr_timebase_rate
CIChannel.ci_pulse_time_dig_fltr_timebase_src
CIChannel.ci_pulse_time_dig_sync_enable
CIChannel.ci_pulse_time_logic_lvl_behavior
CIChannel.ci_pulse_time_starting_edge
CIChannel.ci_pulse_time_term
CIChannel.ci_pulse_time_term_cfg
CIChannel.ci_pulse_time_units
CIChannel.ci_pulse_width_dig_fltr_enable
CIChannel.ci_pulse_width_dig_fltr_min_pulse_width
CIChannel.ci_pulse_width_dig_fltr_timebase_rate
CIChannel.ci_pulse_width_dig_fltr_timebase_src
CIChannel.ci_pulse_width_dig_sync_enable
CIChannel.ci_pulse_width_logic_lvl_behavior
CIChannel.ci_pulse_width_starting_edge
CIChannel.ci_pulse_width_term
CIChannel.ci_pulse_width_term_cfg
CIChannel.ci_pulse_width_units
CIChannel.ci_samp_clk_overrun_behavior
CIChannel.ci_samp_clk_overrun_sentinel_val
CIChannel.ci_semi_period_dig_fltr_enable
CIChannel.ci_semi_period_dig_fltr_min_pulse_width
CIChannel.ci_semi_period_dig_fltr_timebase_rate
CIChannel.ci_semi_period_dig_fltr_timebase_src
CIChannel.ci_semi_period_dig_sync_enable
CIChannel.ci_semi_period_logic_lvl_behavior
CIChannel.ci_semi_period_starting_edge
CIChannel.ci_semi_period_term
CIChannel.ci_semi_period_term_cfg
CIChannel.ci_semi_period_units
CIChannel.ci_tc_reached
CIChannel.ci_thresh_voltage
CIChannel.ci_timestamp_initial_seconds
CIChannel.ci_timestamp_units
CIChannel.ci_two_edge_sep_first_dig_fltr_enable
CIChannel.ci_two_edge_sep_first_dig_fltr_min_pulse_width
CIChannel.ci_two_edge_sep_first_dig_fltr_timebase_rate
CIChannel.ci_two_edge_sep_first_dig_fltr_timebase_src
CIChannel.ci_two_edge_sep_first_dig_sync_enable
CIChannel.ci_two_edge_sep_first_edge
CIChannel.ci_two_edge_sep_first_logic_lvl_behavior
CIChannel.ci_two_edge_sep_first_term
CIChannel.ci_two_edge_sep_first_term_cfg
CIChannel.ci_two_edge_sep_second_dig_fltr_enable
CIChannel.ci_two_edge_sep_second_dig_fltr_min_pulse_width
CIChannel.ci_two_edge_sep_second_dig_fltr_timebase_rate
CIChannel.ci_two_edge_sep_second_dig_fltr_timebase_src
CIChannel.ci_two_edge_sep_second_dig_sync_enable
CIChannel.ci_two_edge_sep_second_edge
CIChannel.ci_two_edge_sep_second_logic_lvl_behavior
CIChannel.ci_two_edge_sep_second_term
CIChannel.ci_two_edge_sep_second_term_cfg
CIChannel.ci_two_edge_sep_units
CIChannel.ci_usb_xfer_req_count
CIChannel.ci_usb_xfer_req_size
CIChannel.ci_velocity_a_input_dig_fltr_enable
CIChannel.ci_velocity_a_input_dig_fltr_min_pulse_width
CIChannel.ci_velocity_a_input_dig_fltr_timebase_rate
CIChannel.ci_velocity_a_input_dig_fltr_timebase_src
CIChannel.ci_velocity_a_input_logic_lvl_behavior
CIChannel.ci_velocity_a_input_term
CIChannel.ci_velocity_a_input_term_cfg
CIChannel.ci_velocity_ang_encoder_pulses_per_rev
CIChannel.ci_velocity_ang_encoder_units
CIChannel.ci_velocity_b_input_dig_fltr_enable
CIChannel.ci_velocity_b_input_dig_fltr_min_pulse_width
CIChannel.ci_velocity_b_input_dig_fltr_timebase_rate
CIChannel.ci_velocity_b_input_dig_fltr_timebase_src
CIChannel.ci_velocity_b_input_logic_lvl_behavior
CIChannel.ci_velocity_b_input_term
CIChannel.ci_velocity_b_input_term_cfg
CIChannel.ci_velocity_div
CIChannel.ci_velocity_encoder_decoding_type
CIChannel.ci_velocity_lin_encoder_dist_per_pulse
CIChannel.ci_velocity_lin_encoder_units
CIChannel.ci_velocity_meas_time
COChannel
COChannel.co_auto_incr_cnt
COChannel.co_constrained_gen_mode
COChannel.co_count
COChannel.co_ctr_timebase_active_edge
COChannel.co_ctr_timebase_dig_fltr_enable
COChannel.co_ctr_timebase_dig_fltr_min_pulse_width
COChannel.co_ctr_timebase_dig_fltr_timebase_rate
COChannel.co_ctr_timebase_dig_fltr_timebase_src
COChannel.co_ctr_timebase_dig_sync_enable
COChannel.co_ctr_timebase_master_timebase_div
COChannel.co_ctr_timebase_rate
COChannel.co_ctr_timebase_src
COChannel.co_data_xfer_mech
COChannel.co_data_xfer_req_cond
COChannel.co_enable_initial_delay_on_retrigger
COChannel.co_mem_map_enable
COChannel.co_output_state
COChannel.co_output_type
COChannel.co_prescaler
COChannel.co_pulse_done
COChannel.co_pulse_duty_cyc
COChannel.co_pulse_freq
COChannel.co_pulse_freq_initial_delay
COChannel.co_pulse_freq_units
COChannel.co_pulse_high_ticks
COChannel.co_pulse_high_time
COChannel.co_pulse_idle_state
COChannel.co_pulse_low_ticks
COChannel.co_pulse_low_time
COChannel.co_pulse_term
COChannel.co_pulse_ticks_initial_delay
COChannel.co_pulse_time_initial_delay
COChannel.co_pulse_time_units
COChannel.co_rdy_for_new_val
COChannel.co_usb_xfer_req_count
COChannel.co_usb_xfer_req_size
COChannel.co_use_only_on_brd_mem
DIChannel
DIChannel.di_acquire_on
DIChannel.di_data_xfer_mech
DIChannel.di_data_xfer_req_cond
DIChannel.di_dig_fltr_enable
DIChannel.di_dig_fltr_enable_bus_mode
DIChannel.di_dig_fltr_min_pulse_width
DIChannel.di_dig_fltr_timebase_rate
DIChannel.di_dig_fltr_timebase_src
DIChannel.di_dig_sync_enable
DIChannel.di_invert_lines
DIChannel.di_logic_family
DIChannel.di_mem_map_enable
DIChannel.di_num_lines
DIChannel.di_tristate
DIChannel.di_usb_xfer_req_count
DIChannel.di_usb_xfer_req_size
DOChannel
DOChannel.do_data_xfer_mech
DOChannel.do_data_xfer_req_cond
DOChannel.do_generate_on
DOChannel.do_invert_lines
DOChannel.do_line_states_done_state
DOChannel.do_line_states_paused_state
DOChannel.do_line_states_start_state
DOChannel.do_logic_family
DOChannel.do_mem_map_enable
DOChannel.do_num_lines
DOChannel.do_output_drive_type
DOChannel.do_overcurrent_auto_reenable
DOChannel.do_overcurrent_limit
DOChannel.do_overcurrent_reenable_period
DOChannel.do_tristate
DOChannel.do_usb_xfer_req_count
DOChannel.do_usb_xfer_req_size
DOChannel.do_use_only_on_brd_mem
- nidaqmx.task.collections
ChannelCollection
AIChannelCollection
AIChannelCollection.add_ai_accel_4_wire_dc_voltage_chan()
AIChannelCollection.add_ai_accel_chan()
AIChannelCollection.add_ai_accel_charge_chan()
AIChannelCollection.add_ai_bridge_chan()
AIChannelCollection.add_ai_charge_chan()
AIChannelCollection.add_ai_current_chan()
AIChannelCollection.add_ai_current_rms_chan()
AIChannelCollection.add_ai_force_bridge_polynomial_chan()
AIChannelCollection.add_ai_force_bridge_table_chan()
AIChannelCollection.add_ai_force_bridge_two_point_lin_chan()
AIChannelCollection.add_ai_force_iepe_chan()
AIChannelCollection.add_ai_freq_voltage_chan()
AIChannelCollection.add_ai_microphone_chan()
AIChannelCollection.add_ai_pos_eddy_curr_prox_probe_chan()
AIChannelCollection.add_ai_pos_lvdt_chan()
AIChannelCollection.add_ai_pos_rvdt_chan()
AIChannelCollection.add_ai_power_chan()
AIChannelCollection.add_ai_pressure_bridge_polynomial_chan()
AIChannelCollection.add_ai_pressure_bridge_table_chan()
AIChannelCollection.add_ai_pressure_bridge_two_point_lin_chan()
AIChannelCollection.add_ai_resistance_chan()
AIChannelCollection.add_ai_rosette_strain_gage_chan()
AIChannelCollection.add_ai_rtd_chan()
AIChannelCollection.add_ai_strain_gage_chan()
AIChannelCollection.add_ai_temp_built_in_sensor_chan()
AIChannelCollection.add_ai_thrmcpl_chan()
AIChannelCollection.add_ai_thrmstr_chan_iex()
AIChannelCollection.add_ai_thrmstr_chan_vex()
AIChannelCollection.add_ai_torque_bridge_polynomial_chan()
AIChannelCollection.add_ai_torque_bridge_table_chan()
AIChannelCollection.add_ai_torque_bridge_two_point_lin_chan()
AIChannelCollection.add_ai_velocity_iepe_chan()
AIChannelCollection.add_ai_voltage_chan()
AIChannelCollection.add_ai_voltage_chan_with_excit()
AIChannelCollection.add_ai_voltage_rms_chan()
AIChannelCollection.add_teds_ai_accel_chan()
AIChannelCollection.add_teds_ai_bridge_chan()
AIChannelCollection.add_teds_ai_current_chan()
AIChannelCollection.add_teds_ai_force_bridge_chan()
AIChannelCollection.add_teds_ai_force_iepe_chan()
AIChannelCollection.add_teds_ai_microphone_chan()
AIChannelCollection.add_teds_ai_pos_lvdt_chan()
AIChannelCollection.add_teds_ai_pos_rvdt_chan()
AIChannelCollection.add_teds_ai_pressure_bridge_chan()
AIChannelCollection.add_teds_ai_resistance_chan()
AIChannelCollection.add_teds_ai_rtd_chan()
AIChannelCollection.add_teds_ai_strain_gage_chan()
AIChannelCollection.add_teds_ai_thrmcpl_chan()
AIChannelCollection.add_teds_ai_thrmstr_chan_iex()
AIChannelCollection.add_teds_ai_thrmstr_chan_vex()
AIChannelCollection.add_teds_ai_torque_bridge_chan()
AIChannelCollection.add_teds_ai_voltage_chan()
AIChannelCollection.add_teds_ai_voltage_chan_with_excit()
AOChannelCollection
CIChannelCollection
CIChannelCollection.add_ci_ang_encoder_chan()
CIChannelCollection.add_ci_ang_velocity_chan()
CIChannelCollection.add_ci_count_edges_chan()
CIChannelCollection.add_ci_duty_cycle_chan()
CIChannelCollection.add_ci_freq_chan()
CIChannelCollection.add_ci_gps_timestamp_chan()
CIChannelCollection.add_ci_lin_encoder_chan()
CIChannelCollection.add_ci_lin_velocity_chan()
CIChannelCollection.add_ci_period_chan()
CIChannelCollection.add_ci_pulse_chan_freq()
CIChannelCollection.add_ci_pulse_chan_ticks()
CIChannelCollection.add_ci_pulse_chan_time()
CIChannelCollection.add_ci_pulse_width_chan()
CIChannelCollection.add_ci_semi_period_chan()
CIChannelCollection.add_ci_two_edge_sep_chan()
COChannelCollection
DIChannelCollection
DOChannelCollection
- nidaqmx.task.triggering
Triggers
ArmStartTrigger
ArmStartTrigger.dig_edge_dig_fltr_enable
ArmStartTrigger.dig_edge_dig_fltr_min_pulse_width
ArmStartTrigger.dig_edge_dig_fltr_timebase_rate
ArmStartTrigger.dig_edge_dig_fltr_timebase_src
ArmStartTrigger.dig_edge_dig_sync_enable
ArmStartTrigger.dig_edge_edge
ArmStartTrigger.dig_edge_src
ArmStartTrigger.term
ArmStartTrigger.time_timescale
ArmStartTrigger.time_when
ArmStartTrigger.timestamp_enable
ArmStartTrigger.timestamp_timescale
ArmStartTrigger.timestamp_val
ArmStartTrigger.trig_type
HandshakeTrigger
PauseTrigger
PauseTrigger.anlg_lvl_coupling
PauseTrigger.anlg_lvl_dig_fltr_enable
PauseTrigger.anlg_lvl_dig_fltr_min_pulse_width
PauseTrigger.anlg_lvl_dig_fltr_timebase_rate
PauseTrigger.anlg_lvl_dig_fltr_timebase_src
PauseTrigger.anlg_lvl_dig_sync_enable
PauseTrigger.anlg_lvl_hyst
PauseTrigger.anlg_lvl_lvl
PauseTrigger.anlg_lvl_src
PauseTrigger.anlg_lvl_when
PauseTrigger.anlg_win_btm
PauseTrigger.anlg_win_coupling
PauseTrigger.anlg_win_dig_fltr_enable
PauseTrigger.anlg_win_dig_fltr_min_pulse_width
PauseTrigger.anlg_win_dig_fltr_timebase_rate
PauseTrigger.anlg_win_dig_fltr_timebase_src
PauseTrigger.anlg_win_dig_sync_enable
PauseTrigger.anlg_win_src
PauseTrigger.anlg_win_top
PauseTrigger.anlg_win_when
PauseTrigger.dig_lvl_dig_fltr_enable
PauseTrigger.dig_lvl_dig_fltr_min_pulse_width
PauseTrigger.dig_lvl_dig_fltr_timebase_rate
PauseTrigger.dig_lvl_dig_fltr_timebase_src
PauseTrigger.dig_lvl_dig_sync_enable
PauseTrigger.dig_lvl_src
PauseTrigger.dig_lvl_when
PauseTrigger.dig_pattern_pattern
PauseTrigger.dig_pattern_src
PauseTrigger.dig_pattern_when
PauseTrigger.term
PauseTrigger.trig_type
ReferenceTrigger
ReferenceTrigger.anlg_edge_coupling
ReferenceTrigger.anlg_edge_dig_fltr_enable
ReferenceTrigger.anlg_edge_dig_fltr_min_pulse_width
ReferenceTrigger.anlg_edge_dig_fltr_timebase_rate
ReferenceTrigger.anlg_edge_dig_fltr_timebase_src
ReferenceTrigger.anlg_edge_dig_sync_enable
ReferenceTrigger.anlg_edge_hyst
ReferenceTrigger.anlg_edge_lvl
ReferenceTrigger.anlg_edge_slope
ReferenceTrigger.anlg_edge_src
ReferenceTrigger.anlg_multi_edge_couplings
ReferenceTrigger.anlg_multi_edge_hysts
ReferenceTrigger.anlg_multi_edge_lvls
ReferenceTrigger.anlg_multi_edge_slopes
ReferenceTrigger.anlg_multi_edge_srcs
ReferenceTrigger.anlg_win_btm
ReferenceTrigger.anlg_win_coupling
ReferenceTrigger.anlg_win_dig_fltr_enable
ReferenceTrigger.anlg_win_dig_fltr_min_pulse_width
ReferenceTrigger.anlg_win_dig_fltr_timebase_rate
ReferenceTrigger.anlg_win_dig_fltr_timebase_src
ReferenceTrigger.anlg_win_dig_sync_enable
ReferenceTrigger.anlg_win_src
ReferenceTrigger.anlg_win_top
ReferenceTrigger.anlg_win_trig_when
ReferenceTrigger.auto_trig_enable
ReferenceTrigger.auto_triggered
ReferenceTrigger.delay
ReferenceTrigger.dig_edge_dig_fltr_enable
ReferenceTrigger.dig_edge_dig_fltr_min_pulse_width
ReferenceTrigger.dig_edge_dig_fltr_timebase_rate
ReferenceTrigger.dig_edge_dig_fltr_timebase_src
ReferenceTrigger.dig_edge_dig_sync_enable
ReferenceTrigger.dig_edge_edge
ReferenceTrigger.dig_edge_src
ReferenceTrigger.dig_pattern_pattern
ReferenceTrigger.dig_pattern_src
ReferenceTrigger.dig_pattern_trig_when
ReferenceTrigger.max_num_trigs_to_detect
ReferenceTrigger.pretrig_samples
ReferenceTrigger.retrigger_win
ReferenceTrigger.retriggerable
ReferenceTrigger.term
ReferenceTrigger.timestamp_enable
ReferenceTrigger.timestamp_timescale
ReferenceTrigger.timestamp_val
ReferenceTrigger.trig_type
ReferenceTrigger.trig_win
ReferenceTrigger.cfg_anlg_edge_ref_trig()
ReferenceTrigger.cfg_anlg_multi_edge_ref_trig()
ReferenceTrigger.cfg_anlg_window_ref_trig()
ReferenceTrigger.cfg_dig_edge_ref_trig()
ReferenceTrigger.cfg_dig_pattern_ref_trig()
ReferenceTrigger.disable_ref_trig()
StartTrigger
StartTrigger.anlg_edge_coupling
StartTrigger.anlg_edge_dig_fltr_enable
StartTrigger.anlg_edge_dig_fltr_min_pulse_width
StartTrigger.anlg_edge_dig_fltr_timebase_rate
StartTrigger.anlg_edge_dig_fltr_timebase_src
StartTrigger.anlg_edge_dig_sync_enable
StartTrigger.anlg_edge_hyst
StartTrigger.anlg_edge_lvl
StartTrigger.anlg_edge_slope
StartTrigger.anlg_edge_src
StartTrigger.anlg_multi_edge_couplings
StartTrigger.anlg_multi_edge_hysts
StartTrigger.anlg_multi_edge_lvls
StartTrigger.anlg_multi_edge_slopes
StartTrigger.anlg_multi_edge_srcs
StartTrigger.anlg_win_btm
StartTrigger.anlg_win_coupling
StartTrigger.anlg_win_dig_fltr_enable
StartTrigger.anlg_win_dig_fltr_min_pulse_width
StartTrigger.anlg_win_dig_fltr_timebase_rate
StartTrigger.anlg_win_dig_fltr_timebase_src
StartTrigger.anlg_win_dig_sync_enable
StartTrigger.anlg_win_src
StartTrigger.anlg_win_top
StartTrigger.anlg_win_trig_when
StartTrigger.delay
StartTrigger.delay_units
StartTrigger.dig_edge_dig_fltr_enable
StartTrigger.dig_edge_dig_fltr_min_pulse_width
StartTrigger.dig_edge_dig_fltr_timebase_rate
StartTrigger.dig_edge_dig_fltr_timebase_src
StartTrigger.dig_edge_dig_sync_enable
StartTrigger.dig_edge_edge
StartTrigger.dig_edge_src
StartTrigger.dig_pattern_pattern
StartTrigger.dig_pattern_src
StartTrigger.dig_pattern_trig_when
StartTrigger.max_num_trigs_to_detect
StartTrigger.retrigger_win
StartTrigger.retriggerable
StartTrigger.term
StartTrigger.time_timescale
StartTrigger.time_when
StartTrigger.timestamp_enable
StartTrigger.timestamp_timescale
StartTrigger.timestamp_val
StartTrigger.trig_type
StartTrigger.trig_win
StartTrigger.cfg_anlg_edge_start_trig()
StartTrigger.cfg_anlg_multi_edge_start_trig()
StartTrigger.cfg_anlg_window_start_trig()
StartTrigger.cfg_dig_edge_start_trig()
StartTrigger.cfg_dig_pattern_start_trig()
StartTrigger.cfg_time_start_trig()
StartTrigger.disable_start_trig()