CreateAdvancedSequence(string, DCPowerAdvancedSequenceProperty[], bool)
- Updated2025-10-06
- 1 minute(s) read
Creates an empty advanced sequence. Call the CreateAdvancedSequenceStep method to add steps to the active advanced sequence, or the CreateAdvancedSequenceCommitStep method to add a Commit step.
Syntax
Namespace: NationalInstruments.ModularInstruments.NIDCPower
public void CreateAdvancedSequence(string sequenceName, DCPowerAdvancedSequenceProperty[] properties, bool setAsActiveSequence)
Remarks
You can create mnultiple advanced sequences for a channel. Advanced sequences for a particular channel are independent from any advanced sequences of other channels. You can configure advanced sequences for one channel at a time or you can configure identical advanced sequences for multiple channels in unison.
Each channel can have only one active advanced sequence at a time.
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.
Use this method in the Uncommitted or Committed programming states. Refer to the Programming States topic in the NI DC Power Supplies and SMUs Help for more information about NI-DCPower programming states.
Parameters
| Name | Type | Description |
|---|---|---|
| sequenceName | string | Specifies the name of the sequence to create. |
| properties | DCPowerAdvancedSequenceProperty[] | Specifies the properties you reconfigure per step in the advanced sequence. |
| setAsActiveSequence | bool | Specifies that the current sequence is active. |