ScopeWidthTrigger.Configure Method (String, Double, PrecisionTimeSpan, PrecisionTimeSpan, Polarity, WidthCondition)
- Updated2023-09-06
- 1 minute(s) read
ScopeWidthTriggerConfigure Method (String, Double, PrecisionTimeSpan, PrecisionTimeSpan, Polarity, WidthCondition)
Configures common properties for analog width triggering.
Namespace: NationalInstruments.ModularInstruments.NIScope
Assembly: NationalInstruments.ModularInstruments.NIScope.Fx45 (in NationalInstruments.ModularInstruments.NIScope.Fx45.dll) Version: 2023
Syntax
public void Configure( string source, double level, PrecisionTimeSpan thresholdLow, PrecisionTimeSpan thresholdHigh, Polarity polarity, WidthCondition condition )
Public Sub Configure ( source As String, level As Double, thresholdLow As PrecisionTimeSpan, thresholdHigh As PrecisionTimeSpan, polarity As Polarity, condition As WidthCondition )
Parameters
- source
- Type: SystemString
The trigger source. - level
- Type: SystemDouble
A value indicating the voltage level at which the pulse will trigger. - thresholdLow
- Type: Ivi.DriverPrecisionTimeSpan
A value indicating the pulse width high threshold. - thresholdHigh
- Type: Ivi.DriverPrecisionTimeSpan
A value indicating the pulse width low threshold. - polarity
- Type: Ivi.ScopePolarity
The polarity that the width will trigger, either positive, negative, or either. - condition
- Type: Ivi.ScopeWidthCondition
The condition for the pulse to trigger on width greater than or less than the threshold.
Implements
IIviScopeTriggerWidthConfigure(String, Double, PrecisionTimeSpan, PrecisionTimeSpan, Polarity, WidthCondition)Exceptions
Exception | Condition |
---|---|
ObjectDisposedException | Configure(String, Double, PrecisionTimeSpan, PrecisionTimeSpan, Polarity, WidthCondition) 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 polarity was invalid.- or - The value for width condition was invalid.- or - The underlying NI-SCOPE driver returned an error. |