DigitalHistoryRamTrigger.PretriggerSamples Property
- Updated2023-11-24
- 1 minute(s) read
DigitalHistoryRamTriggerPretriggerSamples Property
Gets or sets the number of samples to acquire before the History RAM trigger.
Namespace: NationalInstruments.ModularInstruments.NIDigital
Assembly: NationalInstruments.ModularInstruments.NIDigital.Fx40 (in NationalInstruments.ModularInstruments.NIDigital.Fx40.dll) Version: 2021
Syntax
public int PretriggerSamples { get; set; }
Public Property PretriggerSamples As Integer Get Set
Property Value
Type: Int32The number of samples to acquire before the History RAM trigger. The default value is 0.
Exceptions
Exception | Condition |
---|---|
OutOfRangeException | The value for PretriggerSamples is invalid. |
IviCDriverException | The underlying NI-Digital driver returned an error. |
ObjectDisposedException | PretriggerSamples was accessed after the associated NIDigital or DigitalDriverUtility object was disposed. |