nidaqmx.task.export_signals
- class nidaqmx._task_modules.export_signals.ExportSignals(task_handle)[source]
Bases:
object
Represents the exported signal configurations for a DAQmx task.
- 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.
- 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.
- 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