NI-Digital Pattern Driver .NET Class Library

Table of Contents

DigitalCycleNumberHistoryRamTrigger.Configure Method

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

DigitalCycleNumberHistoryRamTriggerConfigure Method

Configures the TriggerType to CycleNumber and configures Number and PretriggerSamples.

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

Syntax

public void Configure(
	long cycleNumber,
	int pretriggerSamples
)
Public Sub Configure ( 
	cycleNumber As Long,
	pretriggerSamples As Integer
)

Parameters

cycleNumber
Type: SystemInt64
The number of cycles to execute before the DigitalHistoryRamTrigger.
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(Int64, Int32) was accessed after the associated NIDigital or DigitalDriverUtility object was disposed.

See Also

Log in to get a better experience