ScopeGlitchTrigger.Configure Method (ScopeTriggerSource, Double, Double, ScopeTriggerPolarity, ScopeGlitchTriggerCondition, ScopeTriggerCoupling, PrecisionTimeSpan, PrecisionTimeSpan)
- Updated2023-09-06
- 2 minute(s) read
ScopeGlitchTriggerConfigure Method (ScopeTriggerSource, Double, Double, ScopeTriggerPolarity, ScopeGlitchTriggerCondition, ScopeTriggerCoupling, PrecisionTimeSpan, PrecisionTimeSpan)
Configures common properties for analog glitch 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 level, double glitchWidth, ScopeTriggerPolarity triggerPolarity, ScopeGlitchTriggerCondition glitchCondition, ScopeTriggerCoupling triggerCoupling, PrecisionTimeSpan triggerHoldoff, PrecisionTimeSpan triggerDelay )
Public Sub Configure ( triggerSource As ScopeTriggerSource, level As Double, glitchWidth As Double, triggerPolarity As ScopeTriggerPolarity, glitchCondition As ScopeGlitchTriggerCondition, triggerCoupling As ScopeTriggerCoupling, triggerHoldoff As PrecisionTimeSpan, triggerDelay As PrecisionTimeSpan )
Parameters
- triggerSource
- Type: NationalInstruments.ModularInstruments.NIScopeScopeTriggerSource
The trigger source. - level
- Type: SystemDouble
A value indicating the voltage level at which the glitch will trigger. - glitchWidth
- Type: SystemDouble
A value indicating the width at which the glitch will trigger. - triggerPolarity
- Type: NationalInstruments.ModularInstruments.NIScopeScopeTriggerPolarity
The polarity that the glitch will trigger, either positive, negative, or either. - glitchCondition
- Type: NationalInstruments.ModularInstruments.NIScopeScopeGlitchTriggerCondition
The condition for the glitch to trigger being greater than or less than. - 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
Exception | Condition |
---|---|
ArgumentNullException | ScopeTriggerSource object passed in was null. |
ObjectDisposedException | Configure(ScopeTriggerSource, Double, Double, ScopeTriggerPolarity, ScopeGlitchTriggerCondition, ScopeTriggerCoupling, PrecisionTimeSpan, PrecisionTimeSpan) was called after the associated NIScope or ScopeDriverUtility object was disposed. |
IviCDriverException |
The value for glitch width was invalid.
- or - The value for glitch polarity was invalid.- or - The value for glitch condition 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. |