Skip to content

NI DAQMX Timing Attributes

Greg Stoll edited this page Sep 10, 2021 · 2 revisions

Timing Attributes

See how to get and set attributes.

Sample Quantity

DAQmx_SampQuant_SampMode

Data Type: int32
Description: Specifies if a task acquires or generates a finite number of samples or if it continuously acquires or generates samples.

Valid values

DAQmx_Val_FiniteSamps 10178 Acquire or generate a finite number of samples.
DAQmx_Val_ContSamps 10123 Acquire or generate samples until you stop the task.
DAQmx_Val_HWTimedSinglePoint 12522 Acquire or generate samples continuously using hardware timing without a buffer. Hardware timed single point sample mode is supported only for the sample clock and change detection timing types.

You can get/set/reset this attribute using:   DAQmxGetTimingAttribute   DAQmxSetTimingAttribute   DAQmxResetTimingAttribute

DAQmx_SampQuant_SampPerChan

Data Type: uInt64
Description: Specifies the number of samples to acquire or generate for each channel if DAQmx_SampQuant_SampMode is DAQmx_Val_FiniteSamps. If DAQmx_SampQuant_SampMode is DAQmx_Val_ContSamps, NI-DAQmx uses this value to determine the buffer size.

You can get/set/reset this attribute using:   DAQmxGetTimingAttribute   DAQmxSetTimingAttribute   DAQmxResetTimingAttribute

DAQmx_SampTimingType

Data Type: int32
Description: Specifies the type of sample timing to use for the task.

Valid values

DAQmx_Val_SampClk 10388 Acquire or generate samples on the specified edge of the sample clock.
DAQmx_Val_BurstHandshake 12548 Determine sample timing using burst handshaking between the device and a peripheral device.
DAQmx_Val_Handshake 10389 Determine sample timing by using digital handshaking between the device and a peripheral device.
DAQmx_Val_Implicit 10451 Configure only the duration of the task.
DAQmx_Val_OnDemand 10390 Acquire or generate a sample on each read or write operation. This timing type is also referred to as static or software-timed.
DAQmx_Val_ChangeDetection 12504 Acquire samples when a change occurs in the state of one or more digital input lines. The lines must be contained within a digital input channel.
DAQmx_Val_PipelinedSampClk 14668 Device acquires or generates samples on each sample clock edge, but 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 with some devices using the Pause trigger, the Ready for Transfer event, or the Data Active event. Refer to the device documentation for more information.

You can get/set/reset this attribute using:   DAQmxGetTimingAttribute   DAQmxSetTimingAttribute   DAQmxResetTimingAttribute

Sample Clock

DAQmx_SampClk_Rate

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

You can get/set/reset this attribute using:   DAQmxGetTimingAttribute   DAQmxSetTimingAttribute   DAQmxResetTimingAttribute

DAQmx_SampClk_MaxRate

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

You can get this attribute using:   DAQmxGetTimingAttribute

DAQmx_SampClk_Src

Data Type: char*
Description: Specifies the terminal of the signal to use as the Sample Clock.

You can get/set/reset this attribute using:   DAQmxGetTimingAttribute   DAQmxSetTimingAttribute   DAQmxResetTimingAttribute

DAQmx_SampClk_ActiveEdge

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

Valid values

DAQmx_Val_Rising 10280 Rising edge(s).
DAQmx_Val_Falling 10171 Falling edge(s).

You can get/set/reset this attribute using:   DAQmxGetTimingAttribute   DAQmxSetTimingAttribute   DAQmxResetTimingAttribute

DAQmx_SampClk_OverrunBehavior

Data Type: int32
Description: Specifies the action to take if Sample Clock edges occur faster than the device can handle them.

Valid values

DAQmx_Val_StopTaskAndError 15862 Stop task and return an error.
DAQmx_Val_IgnoreOverruns 15863 NI-DAQmx ignores Sample Clock overruns, and the task continues to run.

You can get/set/reset this attribute using:   DAQmxGetTimingAttribute   DAQmxSetTimingAttribute   DAQmxResetTimingAttribute

DAQmx_SampClk_UnderflowBehavior

Data Type: int32
Description: Specifies the action to take when the onboard memory of the device becomes empty. In either case, the sample clock does not stop.

Valid values

DAQmx_Val_HaltOutputAndError 14615 Stop generating samples and return an error.
DAQmx_Val_PauseUntilDataAvailable 14616 Pause the task until samples are available in the FIFO.

You can get/set/reset this attribute using:   DAQmxGetTimingAttribute   DAQmxSetTimingAttribute   DAQmxResetTimingAttribute

DAQmx_SampClk_TimebaseDiv

Data Type: uInt32
Description: Specifies the number of Sample Clock Timebase pulses needed to produce a single Sample Clock pulse.

You can get/set/reset this attribute using:   DAQmxGetTimingAttribute   DAQmxSetTimingAttribute   DAQmxResetTimingAttribute

DAQmx_SampClk_Term

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

You can get this attribute using:   DAQmxGetTimingAttribute

Sample Clock Timebase

DAQmx_SampClk_Timebase_Rate

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

You can get/set/reset this attribute using:   DAQmxGetTimingAttribute   DAQmxSetTimingAttribute   DAQmxResetTimingAttribute

DAQmx_SampClk_Timebase_Src

Data Type: char*
Description: Specifies the terminal of the signal to use as the Sample Clock Timebase.

You can get/set/reset this attribute using:   DAQmxGetTimingAttribute   DAQmxSetTimingAttribute   DAQmxResetTimingAttribute

DAQmx_SampClk_Timebase_ActiveEdge

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

Valid values

DAQmx_Val_Rising 10280 Rising edge(s).
DAQmx_Val_Falling 10171 Falling edge(s).

You can get/set/reset this attribute using:   DAQmxGetTimingAttribute   DAQmxSetTimingAttribute   DAQmxResetTimingAttribute

DAQmx_SampClk_Timebase_MasterTimebaseDiv

Data Type: uInt32
Description: Specifies the number of pulses of the Master Timebase needed to produce a single pulse of the Sample Clock Timebase.

You can get/set/reset this attribute using:   DAQmxGetTimingAttribute   DAQmxSetTimingAttribute   DAQmxResetTimingAttribute

DAQmx_SampClkTimebase_Term

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

You can get this attribute using:   DAQmxGetTimingAttribute

Sample Clock Digital Filter

DAQmx_SampClk_DigFltr_Enable

Data Type: bool32
Description: Specifies whether to apply the pulse width filter to the signal.

You can get/set/reset this attribute using:   DAQmxGetTimingAttribute   DAQmxSetTimingAttribute   DAQmxResetTimingAttribute

DAQmx_SampClk_DigFltr_MinPulseWidth

Data Type: float64
Description: Specifies in seconds the minimum pulse width the filter recognizes.

You can get/set/reset this attribute using:   DAQmxGetTimingAttribute   DAQmxSetTimingAttribute   DAQmxResetTimingAttribute

Sample Clock Digital Filter Timebase

DAQmx_SampClk_DigFltr_TimebaseSrc

Data Type: char*
Description: Specifies the input terminal of the signal to use as the timebase of the pulse width filter.

You can get/set/reset this attribute using:   DAQmxGetTimingAttribute   DAQmxSetTimingAttribute   DAQmxResetTimingAttribute

DAQmx_SampClk_DigFltr_TimebaseRate

Data Type: float64
Description: Specifies in hertz the rate of the pulse width filter timebase. NI-DAQmx uses this value to compute settings for the filter.

You can get/set/reset this attribute using:   DAQmxGetTimingAttribute   DAQmxSetTimingAttribute   DAQmxResetTimingAttribute

Sample Clock Digital Synchronization

DAQmx_SampClk_DigSync_Enable

Data Type: bool32
Description: Specifies whether to synchronize recognition of transitions in the signal to the internal timebase of the device.

You can get/set/reset this attribute using:   DAQmxGetTimingAttribute   DAQmxSetTimingAttribute   DAQmxResetTimingAttribute

Write Waveform

DAQmx_SampClk_WriteWfm_UseInitialWfmDT

Data Type: bool32
Description: Specifies that the value of DAQmx_SampClk_Rate will be determined by the dt component of the initial DAQmx Write waveform input for Output tasks.

You can get/set/reset this attribute using:   DAQmxGetTimingAttribute   DAQmxSetTimingAttribute   DAQmxResetTimingAttribute

Handshake

DAQmx_Hshk_DelayAfterXfer

Data Type: float64
Description: Specifies the number of seconds to wait after a handshake cycle before starting a new handshake cycle.

You can get/set/reset this attribute using:   DAQmxGetTimingAttribute   DAQmxSetTimingAttribute   DAQmxResetTimingAttribute

DAQmx_Hshk_StartCond

Data Type: int32
Description: Specifies the point in the handshake cycle that the device is in when the task starts.

Valid values

DAQmx_Val_Immediate 10198 Device is waiting for space in the FIFO (for acquisition) or waiting for samples (for generation).
DAQmx_Val_WaitForHandshakeTriggerAssert 12550 Device is waiting for the Handshake Trigger to assert.
DAQmx_Val_WaitForHandshakeTriggerDeassert 12551 Device is waiting for the Handshake Trigger to deassert.

You can get/set/reset this attribute using:   DAQmxGetTimingAttribute   DAQmxSetTimingAttribute   DAQmxResetTimingAttribute

DAQmx_Hshk_SampleInputDataWhen

Data Type: int32
Description: Specifies on which edge of the Handshake Trigger an input task latches the data from the peripheral device.

Valid values

DAQmx_Val_HandshakeTriggerAsserts 12552 Latch data when the Handshake Trigger asserts.
DAQmx_Val_HandshakeTriggerDeasserts 12553 Latch data when the Handshake Trigger deasserts.

You can get/set/reset this attribute using:   DAQmxGetTimingAttribute   DAQmxSetTimingAttribute   DAQmxResetTimingAttribute

Change Detection

Digital Input

DAQmx_ChangeDetect_DI_RisingEdgePhysicalChans

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

You can get/set/reset this attribute using:   DAQmxGetTimingAttribute   DAQmxSetTimingAttribute   DAQmxResetTimingAttribute

DAQmx_ChangeDetect_DI_FallingEdgePhysicalChans

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

You can get/set/reset this attribute using:   DAQmxGetTimingAttribute   DAQmxSetTimingAttribute   DAQmxResetTimingAttribute

DAQmx_ChangeDetect_DI_Tristate

Data Type: bool32
Description: Specifies whether to tristate lines specified with DAQmx_ChangeDetect_DI_RisingEdgePhysicalChans and DAQmx_ChangeDetect_DI_FallingEdgePhysicalChans 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.

You can get/set/reset this attribute using:   DAQmxGetTimingAttribute   DAQmxSetTimingAttribute   DAQmxResetTimingAttribute

On Demand

DAQmx_OnDemand_SimultaneousAOEnable

Data Type: bool32
Description: Specifies whether to update all channels in the task simultaneously, rather than updating channels independently when you write a sample to that channel.

You can get/set/reset this attribute using:   DAQmxGetTimingAttribute   DAQmxSetTimingAttribute   DAQmxResetTimingAttribute

Implicit

DAQmx_Implicit_UnderflowBehavior

Data Type: int32
Description: Specifies the action to take when the onboard memory of the device becomes empty.

Valid values

DAQmx_Val_HaltOutputAndError 14615 Stop generating samples and return an error.
DAQmx_Val_PauseUntilDataAvailable 14616 Pause the task until samples are available in the FIFO.

You can get/set/reset this attribute using:   DAQmxGetTimingAttribute   DAQmxSetTimingAttribute   DAQmxResetTimingAttribute

More

AI Convert

DAQmx_AIConv_Rate

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

You can get/set/reset this attribute using:   DAQmxGetTimingAttribute   DAQmxSetTimingAttribute   DAQmxResetTimingAttribute   DAQmxGetTimingAttributeEx   DAQmxSetTimingAttributeEx   DAQmxResetTimingAttributeEx

DAQmx_AIConv_MaxRate

Data Type: float64
Description: Indicates the maximum convert rate supported by the task, given the current devices and channel count.
Restrictions: Not Settable

You can get this attribute using:   DAQmxGetTimingAttribute   DAQmxGetTimingAttributeEx

DAQmx_AIConv_Src

Data Type: char*
Description: Specifies the terminal of the signal to use as the AI Convert Clock.

You can get/set/reset this attribute using:   DAQmxGetTimingAttribute   DAQmxSetTimingAttribute   DAQmxResetTimingAttribute   DAQmxGetTimingAttributeEx   DAQmxSetTimingAttributeEx   DAQmxResetTimingAttributeEx

DAQmx_AIConv_ActiveEdge

Data Type: int32
Description: Specifies on which edge of the clock pulse an analog-to-digital conversion takes place.

Valid values

DAQmx_Val_Rising 10280 Rising edge(s).
DAQmx_Val_Falling 10171 Falling edge(s).

You can get/set/reset this attribute using:   DAQmxGetTimingAttribute   DAQmxSetTimingAttribute   DAQmxResetTimingAttribute   DAQmxGetTimingAttributeEx   DAQmxSetTimingAttributeEx   DAQmxResetTimingAttributeEx

DAQmx_AIConv_TimebaseDiv

Data Type: uInt32
Description: Specifies the number of AI Convert Clock Timebase pulses needed to produce a single AI Convert Clock pulse.

You can get/set/reset this attribute using:   DAQmxGetTimingAttribute   DAQmxSetTimingAttribute   DAQmxResetTimingAttribute   DAQmxGetTimingAttributeEx   DAQmxSetTimingAttributeEx   DAQmxResetTimingAttributeEx

AI Convert Timebase

DAQmx_AIConv_Timebase_Src

Data Type: int32
Description: Specifies the terminal of the signal to use as the AI Convert Clock Timebase.

Valid values

DAQmx_Val_SameAsSampTimebase 10284 Use the same source as Sample Clock timebase.
DAQmx_Val_SameAsMasterTimebase 10282 Use the same source as the Master Timebase.
DAQmx_Val_100MHzTimebase 15857 Use the onboard 100 MHz timebase.
DAQmx_Val_80MHzTimebase 14636 Use the onboard 80 MHz timebase.
DAQmx_Val_20MHzTimebase 12537 Use the onboard 20 MHz timebase.
DAQmx_Val_8MHzTimebase 16023 Use the onboard 8 MHz timebase.

You can get/set/reset this attribute using:   DAQmxGetTimingAttribute   DAQmxSetTimingAttribute   DAQmxResetTimingAttribute   DAQmxGetTimingAttributeEx   DAQmxSetTimingAttributeEx   DAQmxResetTimingAttributeEx

Delay From Sample Clock

DAQmx_DelayFromSampClk_DelayUnits

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

Valid values

DAQmx_Val_Seconds 10364 Seconds.
DAQmx_Val_Ticks 10304 Timebase ticks.

You can get/set/reset this attribute using:   DAQmxGetTimingAttribute   DAQmxSetTimingAttribute   DAQmxResetTimingAttribute   DAQmxGetTimingAttributeEx   DAQmxSetTimingAttributeEx   DAQmxResetTimingAttributeEx

DAQmx_DelayFromSampClk_Delay

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

You can get/set/reset this attribute using:   DAQmxGetTimingAttribute   DAQmxSetTimingAttribute   DAQmxResetTimingAttribute   DAQmxGetTimingAttributeEx   DAQmxSetTimingAttributeEx   DAQmxResetTimingAttributeEx

AI Convert Digital Filter

DAQmx_AIConv_DigFltr_Enable

Data Type: bool32
Description: Specifies whether to apply a digital filter to the AI Convert Clock.

You can get/set/reset this attribute using:   DAQmxGetTimingAttribute   DAQmxSetTimingAttribute   DAQmxResetTimingAttribute   DAQmxGetTimingAttributeEx   DAQmxSetTimingAttributeEx   DAQmxResetTimingAttributeEx

DAQmx_AIConv_DigFltr_MinPulseWidth

Data Type: float64
Description: Specifies in seconds the minimum pulse width the filter recognizes.

You can get/set/reset this attribute using:   DAQmxGetTimingAttribute   DAQmxSetTimingAttribute   DAQmxResetTimingAttribute   DAQmxGetTimingAttributeEx   DAQmxSetTimingAttributeEx   DAQmxResetTimingAttributeEx

AI Convert Digital Filter Timebase

DAQmx_AIConv_DigFltr_TimebaseSrc

Data Type: char*
Description: Specifies the terminal of the signal to use as the timebase of the digital filter.

You can get/set/reset this attribute using:   DAQmxGetTimingAttribute   DAQmxSetTimingAttribute   DAQmxResetTimingAttribute   DAQmxGetTimingAttributeEx   DAQmxSetTimingAttributeEx   DAQmxResetTimingAttributeEx

DAQmx_AIConv_DigFltr_TimebaseRate

Data Type: float64
Description: Specifies in hertz the rate of the digital filter timebase. NI-DAQmx uses this value to compute settings for the filter.

You can get/set/reset this attribute using:   DAQmxGetTimingAttribute   DAQmxSetTimingAttribute   DAQmxResetTimingAttribute   DAQmxGetTimingAttributeEx   DAQmxSetTimingAttributeEx   DAQmxResetTimingAttributeEx

AI Convert Digital Synchronization

DAQmx_AIConv_DigSync_Enable

Data Type: bool32
Description: Specifies whether to synchronize recognition of transitions in the signal to the internal timebase of the device.

You can get/set/reset this attribute using:   DAQmxGetTimingAttribute   DAQmxSetTimingAttribute   DAQmxResetTimingAttribute   DAQmxGetTimingAttributeEx   DAQmxSetTimingAttributeEx   DAQmxResetTimingAttributeEx

Master Timebase

DAQmx_MasterTimebase_Rate

Data Type: float64
Description: Specifies the rate of the Master Timebase.

You can get/set/reset this attribute using:   DAQmxGetTimingAttribute   DAQmxSetTimingAttribute   DAQmxResetTimingAttribute

DAQmx_MasterTimebase_Src

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

You can get/set/reset this attribute using:   DAQmxGetTimingAttribute   DAQmxSetTimingAttribute   DAQmxResetTimingAttribute

Reference Clock

DAQmx_RefClk_Rate

Data Type: float64
Description: Specifies the frequency of the Reference Clock.

You can get/set/reset this attribute using:   DAQmxGetTimingAttribute   DAQmxSetTimingAttribute   DAQmxResetTimingAttribute

DAQmx_RefClk_Src

Data Type: char*
Description: Specifies the terminal of the signal to use as the Reference Clock.

You can get/set/reset this attribute using:   DAQmxGetTimingAttribute   DAQmxSetTimingAttribute   DAQmxResetTimingAttribute

Synchronization Pulse

DAQmx_SyncPulse_Type

Data Type: int32
Description: Specifies the type of sync pulse used in the task.

Valid values

DAQmx_Val_Onboard 16128 Use the synchronization pulse type specified by the device.
DAQmx_Val_DigEdge 10150 Digital Edge synchronization.
DAQmx_Val_Time 15996 Time synchronization.

You can get/set/reset this attribute using:   DAQmxGetTimingAttribute   DAQmxSetTimingAttribute   DAQmxResetTimingAttribute

Digital Edge

DAQmx_SyncPulse_Src

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

You can get/set/reset this attribute using:   DAQmxGetTimingAttribute   DAQmxSetTimingAttribute   DAQmxResetTimingAttribute

Time

DAQmx_SyncPulse_Time_When

Data Type: CVIAbsoluteTime
Description: Specifies the start time of the sync pulse.

You can get/set/reset this attribute using:   DAQmxGetTimingAttribute   DAQmxSetTimingAttribute   DAQmxResetTimingAttribute

DAQmx_SyncPulse_Time_Timescale

Data Type: int32
Description: Specifies the timescale to be used for timestamps for a sync pulse.

Valid values

DAQmx_Val_HostTime 16126 Use the host device.
DAQmx_Val_IODeviceTime 16127 Use the I/O device.

You can get/set/reset this attribute using:   DAQmxGetTimingAttribute   DAQmxSetTimingAttribute   DAQmxResetTimingAttribute

DAQmx_SyncPulse_SyncTime

Data Type: float64
Description: Indicates in seconds the delay required to reset the ADCs/DACs after the device receives the synchronization pulse.
Restrictions: Not Settable

You can get this attribute using:   DAQmxGetTimingAttribute

DAQmx_SyncPulse_MinDelayToStart

Data Type: float64
Description: Specifies in seconds the amount of time that elapses after the master device issues the synchronization pulse before the task starts.

You can get/set/reset this attribute using:   DAQmxGetTimingAttribute   DAQmxSetTimingAttribute   DAQmxResetTimingAttribute

DAQmx_SyncPulse_ResetTime

Data Type: float64
Description: 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 DAQmx_SyncPulse_ResetDelay to the resulting value.
Restrictions: Not Settable

You can get this attribute using:   DAQmxGetTimingAttribute

DAQmx_SyncPulse_ResetDelay

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

You can get/set/reset this attribute using:   DAQmxGetTimingAttribute   DAQmxSetTimingAttribute   DAQmxResetTimingAttribute

DAQmx_SyncPulse_Term

Data Type: char*
Description: Indicates the name of the internal Synchronization Pulse terminal for the task. This property does not return the name of the source terminal.
Restrictions: Not Settable

You can get this attribute using:   DAQmxGetTimingAttribute

Synchronization Clock

DAQmx_SyncClk_Interval

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

You can get/set/reset this attribute using:   DAQmxGetTimingAttribute   DAQmxSetTimingAttribute   DAQmxResetTimingAttribute

Advanced

DAQmx_SampTimingEngine

Data Type: uInt32
Description: Specifies which timing engine to use for the task.

You can get/set/reset this attribute using:   DAQmxGetTimingAttribute   DAQmxSetTimingAttribute   DAQmxResetTimingAttribute

First Sample Timestamp

DAQmx_FirstSampTimestamp_Enable

Data Type: bool32
Description: Specifies whether to enable the first sample timestamp.

You can get/set/reset this attribute using:   DAQmxGetTimingAttribute   DAQmxSetTimingAttribute   DAQmxResetTimingAttribute

DAQmx_FirstSampTimestamp_Timescale

Data Type: int32
Description: Specifies the timescale to be used for the first sample timestamp.

Valid values

DAQmx_Val_HostTime 16126 Use the host device.
DAQmx_Val_IODeviceTime 16127 Use the I/O device.

You can get/set/reset this attribute using:   DAQmxGetTimingAttribute   DAQmxSetTimingAttribute   DAQmxResetTimingAttribute

DAQmx_FirstSampTimestamp_Val

Data Type: CVIAbsoluteTime
Description: Indicates the timestamp of the first sample.
Restrictions: Not Settable

You can get this attribute using:   DAQmxGetTimingAttribute

First Sample Clock Time

DAQmx_FirstSampClk_When

Data Type: CVIAbsoluteTime
Description: Specifies the time of the first sample clock pulse.

You can get/set/reset this attribute using:   DAQmxGetTimingAttribute   DAQmxSetTimingAttribute   DAQmxResetTimingAttribute

DAQmx_FirstSampClk_Timescale

Data Type: int32
Description: Specifies the timescale to be used for the value of DAQmx_FirstSampClk_When.

Valid values

DAQmx_Val_HostTime 16126 Use the host device.
DAQmx_Val_IODeviceTime 16127 Use the I/O device.

You can get/set/reset this attribute using:   DAQmxGetTimingAttribute   DAQmxSetTimingAttribute   DAQmxResetTimingAttribute

DAQmx_FirstSampClk_Offset

Data Type: float64
Description: Specifies, in seconds, the offset to apply to the DAQmx_FirstSampClk_When value. This offset modifies when the first sample clock occurs and is used to account for known delays in the signal path.

You can get/set/reset this attribute using:   DAQmxGetTimingAttribute   DAQmxSetTimingAttribute   DAQmxResetTimingAttribute

Table of Contents

Internal Development

Creating and Setting Up a gRPC Server

Server Security Support

Creating a gRPC Client

gRPC Client Examples

Session Utilities API Reference

Driver Documentation

gRPC API Differences From C API

Sharing Driver Sessions Between Clients

C API Docs
NI-DAQmx
NI-DCPOWER
NI-DIGITAL PATTERN DRIVER
NI-DMM
NI-FGEN
NI-FPGA
NI-RFmx Bluetooth
NI-RFmx NR
NI-RFmx WCDMA
NI-RFmx GSM
NI-RFmx CDMA2k
NI-RFmx Instr
NI-RFmx LTE
NI-RFmx SpecAn
NI-RFmx TD-SCDMA
NI-RFmx WLAN
NI-RFSA
NI-RFSG
NI-SCOPE
NI-SWITCH
NI-TCLK
NI-XNET
Clone this wiki locally