CreateAdvancedSequenceStep(bool)
- Updated2025-10-06
- 1 minute(s) read
Creates a new advanced sequence step in the active advanced sequence, specified by the ActiveAdvancedSequence property. You can configure properties for the new step only after the step is created.
Syntax
Namespace: NationalInstruments.ModularInstruments.NIDCPower
public void CreateAdvancedSequenceStep(bool setAsActiveStep)
Remarks
When you create an advanced sequence step, each property you passed to CreateAdvancedSequence is reset to its default value for the new step. To configure the step, you must first designate the new step as the active step using the ActiveAdvancedSequenceStep property or the setAsActiveStep parameter of this method. Once the step is active, you can configure the properties for the step.
You must set the Mode to Sequence to use this method. Refer to DCPowerAdvancedSequenceProperty for more information about supported properties. This method is not supported by all instruments. Refer to the Supported Functions by Device topic in the NI DC Power Supplies and SMUs Help for information about supported instruments.
Using the SetSequence method with Advanced Sequence methods for the same channel in the same session is unsupported.
Parameters
| Name | Type | Description |
|---|---|---|
| setAsActiveStep | bool | Specifies that the current step in the active sequence is active. |