NI-SCOPE .NET Class Library Help

Table of Contents

ScopeRuntTrigger.Configure Method (ScopeTriggerSource, Double, Double, ScopeTriggerPolarity, ScopeTriggerCoupling, PrecisionTimeSpan, PrecisionTimeSpan)

  • Updated2023-09-06
  • 2 minute(s) read
ScopeRuntTrigger.Configure Method (ScopeTriggerSource, Double, Double, ScopeTriggerPolarity, ScopeTriggerCoupling, PrecisionTimeSpan, PrecisionTimeSpan)

ScopeRuntTriggerConfigure Method (ScopeTriggerSource, Double, Double, ScopeTriggerPolarity, ScopeTriggerCoupling, PrecisionTimeSpan, PrecisionTimeSpan)

Configures common properties for analog runt triggering.

Namespace:  NationalInstruments.ModularInstruments.NIScope
Assembly:  NationalInstruments.ModularInstruments.NIScope.Fx45 (in NationalInstruments.ModularInstruments.NIScope.Fx45.dll) Version: 2023

Syntax

public void Configure(
	ScopeTriggerSource triggerSource,
	double triggerLowThreshold,
	double triggerHighThreshold,
	ScopeTriggerPolarity triggerPolarity,
	ScopeTriggerCoupling triggerCoupling,
	PrecisionTimeSpan triggerHoldoff,
	PrecisionTimeSpan triggerDelay
)
Public Sub Configure ( 
	triggerSource As ScopeTriggerSource,
	triggerLowThreshold As Double,
	triggerHighThreshold As Double,
	triggerPolarity As ScopeTriggerPolarity,
	triggerCoupling As ScopeTriggerCoupling,
	triggerHoldoff As PrecisionTimeSpan,
	triggerDelay As PrecisionTimeSpan
)

Parameters

triggerSource
Type: NationalInstruments.ModularInstruments.NIScopeScopeTriggerSource
The trigger source.
triggerLowThreshold
Type: SystemDouble
A value indicating the lower threshold for the runt to trigger.
triggerHighThreshold
Type: SystemDouble
A value indicating the higher threshold for the runt to trigger
triggerPolarity
Type: NationalInstruments.ModularInstruments.NIScopeScopeTriggerPolarity
The polarity that the width will trigger, either positive, negative, or either.
triggerCoupling
Type: NationalInstruments.ModularInstruments.NIScopeScopeTriggerCoupling
A value indicating whether to apply coupling and filtering options to the trigger signal.
triggerHoldoff
Type: NationalInstrumentsPrecisionTimeSpan
The length of time, in seconds, that the digitizer waits after detecting a trigger before enabling NI-SCOPE to detect another trigger.
triggerDelay
Type: NationalInstrumentsPrecisionTimeSpan
The length of time, in seconds, that the digitizer waits after receiving the trigger to start acquiring data.

Exceptions

ExceptionCondition
ArgumentNullExceptionScopeTriggerSource object passed in was null.
ObjectDisposedExceptionConfigure(ScopeTriggerSource, Double, Double, ScopeTriggerPolarity, ScopeTriggerCoupling, PrecisionTimeSpan, PrecisionTimeSpan) was called after the associated NIScope or ScopeDriverUtility object was disposed.
IviCDriverException The value for lower threshold was invalid.

- or -

The value for upper threshold was invalid.

- or -

The value for runt polarity was invalid.

- or -

The value for coupling was invalid.

- or -

The value for holdoff was invalid.

- or -

The value for delay was invalid.

- or -

The underlying NI-SCOPE driver returned an error.

See Also

Log in to get a better experience