ConfigureTimeTrigger Method

NI-DAQmx 17.1 .NET Class Library Help

Edition Date: June 2017

Part Number: 370473J-01

»View Product Info
Download Help (Windows Only)

StartTrigger Class See Also


Configures the task to start acquiring or generating samples at a the specified triggerTime.

Namespace: NationalInstruments.DAQmx

Assembly: NationalInstruments.DAQmx (in NationalInstruments.DAQmx.dll) Version: 17.1.40.99

Syntax

Visual Basic (Declaration)
Public Sub ConfigureTimeTrigger ( _
	triggerTime As PrecisionDateTime, _
	timescale As TimeStartTriggerTimescale _
)

C#
public void ConfigureTimeTrigger(
	PrecisionDateTime triggerTime,
	TimeStartTriggerTimescale timescale
)

Parameters

triggerTime
Type: NationalInstruments.PrecisionDateTime
The start trigger time.
timescale
Type: NationalInstruments.DAQmx.TimeStartTriggerTimescale
The timescale of the triggerTime. For more information, see TimeStartTriggerTimescale.

Exceptions

ExceptionCondition
DaqException The NI-DAQmx driver returned an error.

Remarks

Note: The trigger time is represented by a PrecisionDateTime expressed as a UTC time. To set a trigger time based on the current system time, use PrecisionDateTime.UtcNow, adding an offset, rather than PrecisionDateTime.Now.

See Also

Reference

StartTrigger Class

NationalInstruments.DAQmx Namespace

WAS THIS ARTICLE HELPFUL?

Not Helpful