NI DAQMX Export Signal Attributes - ni/grpc-device GitHub Wiki

Export Signal Attributes

See how to get and set attributes.

Clocks

AI Convert Clock

DAQmx_Exported_AIConvClk_OutputTerm

Data Type: char*
Description: Specifies the terminal to which to route the AI Convert Clock.

You can get/set/reset this attribute using:   DAQmxGetExportedSignalAttribute   DAQmxSetExportedSignalAttribute   DAQmxResetExportedSignalAttribute

AI Convert Clock Pulse

DAQmx_Exported_AIConvClk_Pulse_Polarity

Data Type: int32
Description: 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.
Restrictions: Not Settable

Valid values

DAQmx_Val_ActiveHigh 10095 High state is the active state.
DAQmx_Val_ActiveLow 10096 Low state is the active state.

You can get this attribute using:   DAQmxGetExportedSignalAttribute

10mhz Reference Clock

DAQmx_Exported_10MHzRefClk_OutputTerm

Data Type: char*
Description: Specifies the terminal to which to route the 10MHz Clock.

You can get/set/reset this attribute using:   DAQmxGetExportedSignalAttribute   DAQmxSetExportedSignalAttribute   DAQmxResetExportedSignalAttribute

20mhz Timebase

DAQmx_Exported_20MHzTimebase_OutputTerm

Data Type: char*
Description: Specifies the terminal to which to route the 20MHz Timebase.

You can get/set/reset this attribute using:   DAQmxGetExportedSignalAttribute   DAQmxSetExportedSignalAttribute   DAQmxResetExportedSignalAttribute

Sample Clock

DAQmx_Exported_SampClk_OutputBehavior

Data Type: int32
Description: 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.

Valid values

DAQmx_Val_Pulse 10265 The exported Sample Clock pulses at the beginning of each sample.
DAQmx_Val_Lvl 10210 The exported Sample Clock goes high at the beginning of the sample and goes low when the last AI Convert begins.

You can get/set/reset this attribute using:   DAQmxGetExportedSignalAttribute   DAQmxSetExportedSignalAttribute   DAQmxResetExportedSignalAttribute

DAQmx_Exported_SampClk_OutputTerm

Data Type: char*
Description: Specifies the terminal to which to route the Sample Clock.

You can get/set/reset this attribute using:   DAQmxGetExportedSignalAttribute   DAQmxSetExportedSignalAttribute   DAQmxResetExportedSignalAttribute

DAQmx_Exported_SampClk_DelayOffset

Data Type: float64
Description: 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.

You can get/set/reset this attribute using:   DAQmxGetExportedSignalAttribute   DAQmxSetExportedSignalAttribute   DAQmxResetExportedSignalAttribute

Sample Clock Pulse

DAQmx_Exported_SampClk_Pulse_Polarity

Data Type: int32
Description: Specifies the polarity of the exported Sample Clock if DAQmx_Exported_SampClk_OutputBehavior is DAQmx_Val_Pulse.

Valid values

DAQmx_Val_ActiveHigh 10095 High state is the active state.
DAQmx_Val_ActiveLow 10096 Low state is the active state.

You can get/set/reset this attribute using:   DAQmxGetExportedSignalAttribute   DAQmxSetExportedSignalAttribute   DAQmxResetExportedSignalAttribute

Sample Clock Timebase

DAQmx_Exported_SampClkTimebase_OutputTerm

Data Type: char*
Description: Specifies the terminal to which to route the Sample Clock Timebase.

You can get/set/reset this attribute using:   DAQmxGetExportedSignalAttribute   DAQmxSetExportedSignalAttribute   DAQmxResetExportedSignalAttribute

Divided Sample Clock Timebase

DAQmx_Exported_DividedSampClkTimebase_OutputTerm

Data Type: char*
Description: Specifies the terminal to which to route the Divided Sample Clock Timebase.

You can get/set/reset this attribute using:   DAQmxGetExportedSignalAttribute   DAQmxSetExportedSignalAttribute   DAQmxResetExportedSignalAttribute

Triggers

Advance Trigger

DAQmx_Exported_AdvTrig_OutputTerm

Data Type: char*
Description: Specifies the terminal to which to route the Advance Trigger.

You can get/set/reset this attribute using:   DAQmxGetExportedSignalAttribute   DAQmxSetExportedSignalAttribute   DAQmxResetExportedSignalAttribute

Advance Trigger Pulse

DAQmx_Exported_AdvTrig_Pulse_Polarity

Data Type: int32
Description: Indicates the polarity of the exported Advance Trigger.
Restrictions: Not Settable

Valid values

DAQmx_Val_ActiveHigh 10095 High state is the active state.
DAQmx_Val_ActiveLow 10096 Low state is the active state.

You can get this attribute using:   DAQmxGetExportedSignalAttribute

DAQmx_Exported_AdvTrig_Pulse_WidthUnits

Data Type: int32
Description: Specifies the units of DAQmx_Exported_AdvTrig_Pulse_Width.

Valid values

DAQmx_Val_Seconds 10364 Seconds.

You can get/set/reset this attribute using:   DAQmxGetExportedSignalAttribute   DAQmxSetExportedSignalAttribute   DAQmxResetExportedSignalAttribute

DAQmx_Exported_AdvTrig_Pulse_Width

Data Type: float64
Description: Specifies the width of an exported Advance Trigger pulse. Specify this value in the units you specify with DAQmx_Exported_AdvTrig_Pulse_WidthUnits.

You can get/set/reset this attribute using:   DAQmxGetExportedSignalAttribute   DAQmxSetExportedSignalAttribute   DAQmxResetExportedSignalAttribute

Pause Trigger

DAQmx_Exported_PauseTrig_OutputTerm

Data Type: char*
Description: Specifies the terminal to which to route the Pause Trigger.

You can get/set/reset this attribute using:   DAQmxGetExportedSignalAttribute   DAQmxSetExportedSignalAttribute   DAQmxResetExportedSignalAttribute

Pause Trigger Level

DAQmx_Exported_PauseTrig_Lvl_ActiveLvl

Data Type: int32
Description: Specifies the active level of the exported Pause Trigger.

Valid values

DAQmx_Val_ActiveHigh 10095 High state is the active state.
DAQmx_Val_ActiveLow 10096 Low state is the active state.

You can get/set/reset this attribute using:   DAQmxGetExportedSignalAttribute   DAQmxSetExportedSignalAttribute   DAQmxResetExportedSignalAttribute

Reference Trigger

DAQmx_Exported_RefTrig_OutputTerm

Data Type: char*
Description: Specifies the terminal to which to route the Reference Trigger.

You can get/set/reset this attribute using:   DAQmxGetExportedSignalAttribute   DAQmxSetExportedSignalAttribute   DAQmxResetExportedSignalAttribute

Reference Trigger Pulse

DAQmx_Exported_RefTrig_Pulse_Polarity

Data Type: int32
Description: Specifies the polarity of the exported Reference Trigger.

Valid values

DAQmx_Val_ActiveHigh 10095 High state is the active state.
DAQmx_Val_ActiveLow 10096 Low state is the active state.

You can get/set/reset this attribute using:   DAQmxGetExportedSignalAttribute   DAQmxSetExportedSignalAttribute   DAQmxResetExportedSignalAttribute

Start Trigger

DAQmx_Exported_StartTrig_OutputTerm

Data Type: char*
Description: Specifies the terminal to which to route the Start Trigger.

You can get/set/reset this attribute using:   DAQmxGetExportedSignalAttribute   DAQmxSetExportedSignalAttribute   DAQmxResetExportedSignalAttribute

Start Trigger Pulse

DAQmx_Exported_StartTrig_Pulse_Polarity

Data Type: int32
Description: Specifies the polarity of the exported Start Trigger.

Valid values

DAQmx_Val_ActiveHigh 10095 High state is the active state.
DAQmx_Val_ActiveLow 10096 Low state is the active state.

You can get/set/reset this attribute using:   DAQmxGetExportedSignalAttribute   DAQmxSetExportedSignalAttribute   DAQmxResetExportedSignalAttribute

Events

Advance Complete Event

DAQmx_Exported_AdvCmpltEvent_OutputTerm

Data Type: char*
Description: Specifies the terminal to which to route the Advance Complete Event.

You can get/set/reset this attribute using:   DAQmxGetExportedSignalAttribute   DAQmxSetExportedSignalAttribute   DAQmxResetExportedSignalAttribute

DAQmx_Exported_AdvCmpltEvent_Delay

Data Type: float64
Description: Specifies the output signal delay in periods of the sample clock.

You can get/set/reset this attribute using:   DAQmxGetExportedSignalAttribute   DAQmxSetExportedSignalAttribute   DAQmxResetExportedSignalAttribute

Advance Complete Pulse

DAQmx_Exported_AdvCmpltEvent_Pulse_Polarity

Data Type: int32
Description: Specifies the polarity of the exported Advance Complete Event.

Valid values

DAQmx_Val_ActiveHigh 10095 High state is the active state.
DAQmx_Val_ActiveLow 10096 Low state is the active state.

You can get/set/reset this attribute using:   DAQmxGetExportedSignalAttribute   DAQmxSetExportedSignalAttribute   DAQmxResetExportedSignalAttribute

DAQmx_Exported_AdvCmpltEvent_Pulse_Width

Data Type: float64
Description: Specifies the width of the exported Advance Complete Event pulse.

You can get/set/reset this attribute using:   DAQmxGetExportedSignalAttribute   DAQmxSetExportedSignalAttribute   DAQmxResetExportedSignalAttribute

AI Hold Complete Event

DAQmx_Exported_AIHoldCmpltEvent_OutputTerm

Data Type: char*
Description: Specifies the terminal to which to route the AI Hold Complete Event.

You can get/set/reset this attribute using:   DAQmxGetExportedSignalAttribute   DAQmxSetExportedSignalAttribute   DAQmxResetExportedSignalAttribute

AI Hold Complete Pulse

DAQmx_Exported_AIHoldCmpltEvent_PulsePolarity

Data Type: int32
Description: Specifies the polarity of an exported AI Hold Complete Event pulse.

Valid values

DAQmx_Val_ActiveHigh 10095 High state is the active state.
DAQmx_Val_ActiveLow 10096 Low state is the active state.

You can get/set/reset this attribute using:   DAQmxGetExportedSignalAttribute   DAQmxSetExportedSignalAttribute   DAQmxResetExportedSignalAttribute

Change Detection Event

DAQmx_Exported_ChangeDetectEvent_OutputTerm

Data Type: char*
Description: Specifies the terminal to which to route the Change Detection Event.

You can get/set/reset this attribute using:   DAQmxGetExportedSignalAttribute   DAQmxSetExportedSignalAttribute   DAQmxResetExportedSignalAttribute

Change Detection Pulse

DAQmx_Exported_ChangeDetectEvent_Pulse_Polarity

Data Type: int32
Description: Specifies the polarity of an exported Change Detection Event pulse.

Valid values

DAQmx_Val_ActiveHigh 10095 High state is the active state.
DAQmx_Val_ActiveLow 10096 Low state is the active state.

You can get/set/reset this attribute using:   DAQmxGetExportedSignalAttribute   DAQmxSetExportedSignalAttribute   DAQmxResetExportedSignalAttribute

Counter Output Event

DAQmx_Exported_CtrOutEvent_OutputTerm

Data Type: char*
Description: Specifies the terminal to which to route the Counter Output Event.

You can get/set/reset this attribute using:   DAQmxGetExportedSignalAttribute   DAQmxSetExportedSignalAttribute   DAQmxResetExportedSignalAttribute

DAQmx_Exported_CtrOutEvent_OutputBehavior

Data Type: int32
Description: Specifies whether the exported Counter Output Event pulses or changes from one state to the other when the counter reaches terminal count.

Valid values

DAQmx_Val_Pulse 10265 Send a pulse to the terminal.
DAQmx_Val_Toggle 10307 Toggle the state of the terminal from low to high or from high to low.

You can get/set/reset this attribute using:   DAQmxGetExportedSignalAttribute   DAQmxSetExportedSignalAttribute   DAQmxResetExportedSignalAttribute

Counter Output Pulse

DAQmx_Exported_CtrOutEvent_Pulse_Polarity

Data Type: int32
Description: Specifies the polarity of the pulses at the output terminal of the counter when DAQmx_Exported_CtrOutEvent_OutputBehavior is DAQmx_Val_Pulse. NI-DAQmx ignores this property if DAQmx_Exported_CtrOutEvent_OutputBehavior is DAQmx_Val_Toggle.

Valid values

DAQmx_Val_ActiveHigh 10095 High state is the active state.
DAQmx_Val_ActiveLow 10096 Low state is the active state.

You can get/set/reset this attribute using:   DAQmxGetExportedSignalAttribute   DAQmxSetExportedSignalAttribute   DAQmxResetExportedSignalAttribute

Toggle

DAQmx_Exported_CtrOutEvent_Toggle_IdleState

Data Type: int32
Description: Specifies the initial state of the output terminal of the counter when DAQmx_Exported_CtrOutEvent_OutputBehavior is DAQmx_Val_Toggle. The terminal enters this state when NI-DAQmx commits the task.

Valid values

DAQmx_Val_High 10192 High state.
DAQmx_Val_Low 10214 Low state.

You can get/set/reset this attribute using:   DAQmxGetExportedSignalAttribute   DAQmxSetExportedSignalAttribute   DAQmxResetExportedSignalAttribute

Handshake Event

DAQmx_Exported_HshkEvent_OutputTerm

Data Type: char*
Description: Specifies the terminal to which to route the Handshake Event.

You can get/set/reset this attribute using:   DAQmxGetExportedSignalAttribute   DAQmxSetExportedSignalAttribute   DAQmxResetExportedSignalAttribute

DAQmx_Exported_HshkEvent_OutputBehavior

Data Type: int32
Description: Specifies the output behavior of the Handshake Event.

Valid values

DAQmx_Val_Interlocked 12549 Handshake Event deasserts after the Handshake Trigger asserts, plus the amount of time specified with DAQmx_Exported_HshkEvent_Interlocked_DeassertDelay.
DAQmx_Val_Pulse 10265 Handshake Event pulses with the pulse width specified in DAQmx_Exported_HshkEvent_Pulse_Width.

You can get/set/reset this attribute using:   DAQmxGetExportedSignalAttribute   DAQmxSetExportedSignalAttribute   DAQmxResetExportedSignalAttribute

DAQmx_Exported_HshkEvent_Delay

Data Type: float64
Description: Specifies the number of seconds to delay after the Handshake Trigger deasserts before asserting the Handshake Event.

You can get/set/reset this attribute using:   DAQmxGetExportedSignalAttribute   DAQmxSetExportedSignalAttribute   DAQmxResetExportedSignalAttribute

Interlocked

DAQmx_Exported_HshkEvent_Interlocked_AssertedLvl

Data Type: int32
Description: Specifies the asserted level of the exported Handshake Event if DAQmx_Exported_HshkEvent_OutputBehavior is DAQmx_Val_Interlocked.

Valid values

DAQmx_Val_High 10192 High state.
DAQmx_Val_Low 10214 Low state.

You can get/set/reset this attribute using:   DAQmxGetExportedSignalAttribute   DAQmxSetExportedSignalAttribute   DAQmxResetExportedSignalAttribute

DAQmx_Exported_HshkEvent_Interlocked_AssertOnStart

Data Type: bool32
Description: Specifies to assert the Handshake Event when the task starts if DAQmx_Exported_HshkEvent_OutputBehavior is DAQmx_Val_Interlocked.

You can get/set/reset this attribute using:   DAQmxGetExportedSignalAttribute   DAQmxSetExportedSignalAttribute   DAQmxResetExportedSignalAttribute

DAQmx_Exported_HshkEvent_Interlocked_DeassertDelay

Data Type: float64
Description: Specifies in seconds the amount of time to wait after the Handshake Trigger asserts before deasserting the Handshake Event if DAQmx_Exported_HshkEvent_OutputBehavior is DAQmx_Val_Interlocked.

You can get/set/reset this attribute using:   DAQmxGetExportedSignalAttribute   DAQmxSetExportedSignalAttribute   DAQmxResetExportedSignalAttribute

Handshake Event Pulse

DAQmx_Exported_HshkEvent_Pulse_Polarity

Data Type: int32
Description: Specifies the polarity of the exported Handshake Event if DAQmx_Exported_HshkEvent_OutputBehavior is DAQmx_Val_Pulse.

Valid values

DAQmx_Val_ActiveHigh 10095 High state is the active state.
DAQmx_Val_ActiveLow 10096 Low state is the active state.

You can get/set/reset this attribute using:   DAQmxGetExportedSignalAttribute   DAQmxSetExportedSignalAttribute   DAQmxResetExportedSignalAttribute

DAQmx_Exported_HshkEvent_Pulse_Width

Data Type: float64
Description: Specifies in seconds the pulse width of the exported Handshake Event if DAQmx_Exported_HshkEvent_OutputBehavior is DAQmx_Val_Pulse.

You can get/set/reset this attribute using:   DAQmxGetExportedSignalAttribute   DAQmxSetExportedSignalAttribute   DAQmxResetExportedSignalAttribute

Ready For Transfer Event

DAQmx_Exported_RdyForXferEvent_OutputTerm

Data Type: char*
Description: Specifies the terminal to which to route the Ready for Transfer Event.

You can get/set/reset this attribute using:   DAQmxGetExportedSignalAttribute   DAQmxSetExportedSignalAttribute   DAQmxResetExportedSignalAttribute

Ready For Transfer Level

DAQmx_Exported_RdyForXferEvent_Lvl_ActiveLvl

Data Type: int32
Description: Specifies the active level of the exported Ready for Transfer Event.

Valid values

DAQmx_Val_ActiveHigh 10095 High state is the active state.
DAQmx_Val_ActiveLow 10096 Low state is the active state.

You can get/set/reset this attribute using:   DAQmxGetExportedSignalAttribute   DAQmxSetExportedSignalAttribute   DAQmxResetExportedSignalAttribute

DAQmx_Exported_RdyForXferEvent_DeassertCond

Data Type: int32
Description: Specifies when the ready for transfer event deasserts.

Valid values

DAQmx_Val_OnbrdMemMoreThanHalfFull 10237 Deassert the signal when more than half of the onboard memory of the device fills.
DAQmx_Val_OnbrdMemFull 10236 Deassert the signal when the onboard memory fills.
DAQmx_Val_OnbrdMemCustomThreshold 12577 Deassert the signal when the amount of space available in the onboard memory is below the value specified with DAQmx_Exported_RdyForXferEvent_DeassertCondCustomThreshold.

You can get/set/reset this attribute using:   DAQmxGetExportedSignalAttribute   DAQmxSetExportedSignalAttribute   DAQmxResetExportedSignalAttribute

DAQmx_Exported_RdyForXferEvent_DeassertCondCustomThreshold

Data Type: uInt32
Description: 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. DAQmx_Exported_RdyForXferEvent_DeassertCond must be DAQmx_Val_OnbrdMemCustomThreshold to use a custom threshold.

You can get/set/reset this attribute using:   DAQmxGetExportedSignalAttribute   DAQmxSetExportedSignalAttribute   DAQmxResetExportedSignalAttribute

Data Active Event

DAQmx_Exported_DataActiveEvent_OutputTerm

Data Type: char*
Description: Specifies the terminal to which to export the Data Active Event.

You can get/set/reset this attribute using:   DAQmxGetExportedSignalAttribute   DAQmxSetExportedSignalAttribute   DAQmxResetExportedSignalAttribute

Data Active Level

DAQmx_Exported_DataActiveEvent_Lvl_ActiveLvl

Data Type: int32
Description: Specifies the polarity of the exported Data Active Event.

Valid values

DAQmx_Val_ActiveHigh 10095 High state is the active state.
DAQmx_Val_ActiveLow 10096 Low state is the active state.

You can get/set/reset this attribute using:   DAQmxGetExportedSignalAttribute   DAQmxSetExportedSignalAttribute   DAQmxResetExportedSignalAttribute

Ready For Start Event

DAQmx_Exported_RdyForStartEvent_OutputTerm

Data Type: char*
Description: Specifies the terminal to which to route the Ready for Start Event.

You can get/set/reset this attribute using:   DAQmxGetExportedSignalAttribute   DAQmxSetExportedSignalAttribute   DAQmxResetExportedSignalAttribute

Ready For Start Level

DAQmx_Exported_RdyForStartEvent_Lvl_ActiveLvl

Data Type: int32
Description: Specifies the polarity of the exported Ready for Start Event.

Valid values

DAQmx_Val_ActiveHigh 10095 High state is the active state.
DAQmx_Val_ActiveLow 10096 Low state is the active state.

You can get/set/reset this attribute using:   DAQmxGetExportedSignalAttribute   DAQmxSetExportedSignalAttribute   DAQmxResetExportedSignalAttribute

Synchronization Pulse Event

DAQmx_Exported_SyncPulseEvent_OutputTerm

Data Type: char*
Description: Specifies the terminal to which to route the Synchronization Pulse Event.

You can get/set/reset this attribute using:   DAQmxGetExportedSignalAttribute   DAQmxSetExportedSignalAttribute   DAQmxResetExportedSignalAttribute

Watchdog Timer Expired Event

DAQmx_Exported_WatchdogExpiredEvent_OutputTerm

Data Type: char*
Description: Specifies the terminal to which to route the Watchdog Timer Expired Event.

You can get/set/reset this attribute using:   DAQmxGetExportedSignalAttribute   DAQmxSetExportedSignalAttribute   DAQmxResetExportedSignalAttribute

⚠️ **GitHub.com Fallback** ⚠️