NI-Digital Pattern Driver .NET Class Library

Table of Contents

DigitalHistoryRamTrigger.PretriggerSamples Property

  • Updated2023-11-24
  • 1 minute(s) read
DigitalHistoryRamTrigger.PretriggerSamples Property

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: Int32

The number of samples to acquire before the History RAM trigger. The default value is 0.

Exceptions

ExceptionCondition
OutOfRangeExceptionThe value for PretriggerSamples is invalid.
IviCDriverExceptionThe underlying NI-Digital driver returned an error.
ObjectDisposedExceptionPretriggerSamples was accessed after the associated NIDigital or DigitalDriverUtility object was disposed.

See Also

Log in to get a better experience