NI-DAQmx .NET Framework 4.0 API Reference

Table of Contents

StartTrigger.ConfigureTimeTrigger Method

  • Updated2023-02-21
  • 1 minute(s) read
StartTrigger.ConfigureTimeTrigger Method
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: 20.7.40.49302

Syntax

public void ConfigureTimeTrigger(
	PrecisionDateTime triggerTime,
	TimeStartTriggerTimescale timescale
)
Public Sub ConfigureTimeTrigger ( 
	triggerTime As PrecisionDateTime,
	timescale As TimeStartTriggerTimescale
)

Parameters

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

Exceptions

ExceptionCondition
DaqException The NI-DAQmx driver returned an error.

Remarks

Note 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 UtcNow, adding an offset, rather than Now.

See Also

Log in to get a better experience