DigitalPatternLabelHistoryRamTrigger.Configure Method
- Updated2023-11-24
- 1 minute(s) read
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
Exception | Condition |
---|---|
OutOfRangeException | The value for pretriggerSamples is invalid. |
IviCDriverException | The underlying NI-Digital driver returned an error. |
ObjectDisposedException | Configure(String, Int64, Int64, Int32) was accessed after the associated NIDigital or DigitalDriverUtility object was disposed. |