NI-Digital Pattern Driver .NET Class Library

Table of Contents

DigitalPatternLabelHistoryRamTrigger.Configure Method

  • Updated2023-11-24
  • 1 minute(s) read
DigitalPatternLabelHistoryRamTrigger.Configure Method

DigitalPatternLabelHistoryRamTriggerConfigure Method

Configures the TriggerType to PatternLabel and configures Label, VectorOffset, CycleOffset, and PretriggerSamples.

Namespace:  NationalInstruments.ModularInstruments.NIDigital
Assembly:  NationalInstruments.ModularInstruments.NIDigital.Fx40 (in NationalInstruments.ModularInstruments.NIDigital.Fx40.dll) Version: 2021

Syntax

public void Configure(
	string label,
	long vectorOffset,
	long cycleOffset,
	int pretriggerSamples
)
Public Sub Configure ( 
	label As String,
	vectorOffset As Long,
	cycleOffset As Long,
	pretriggerSamples As Integer
)

Parameters

label
Type: SystemString
The value at which to set Label.
vectorOffset
Type: SystemInt64
The value at which to set VectorOffset.
cycleOffset
Type: SystemInt64
The value at which to set CycleOffset.
pretriggerSamples
Type: SystemInt32
The number of samples to acquire before the DigitalHistoryRamTrigger.

Exceptions

ExceptionCondition
OutOfRangeExceptionThe value for pretriggerSamples is invalid.
IviCDriverExceptionThe underlying NI-Digital driver returned an error.
ObjectDisposedExceptionConfigure(String, Int64, Int64, Int32) was accessed after the associated NIDigital or DigitalDriverUtility object was disposed.

See Also

Log in to get a better experience