NI-DCPower .NET fx40 API Reference

Table of Contents

DCPowerOutputSourceAdvancedSequencing.CreateAdvancedSequence Method

  • Updated2024-01-04
  • 2 minute(s) read
DCPowerOutputSourceAdvancedSequencing.CreateAdvancedSequence Method

DCPowerOutputSourceAdvancedSequencingCreateAdvancedSequence Method

Creates an empty advanced sequence. Call the CreateAdvancedSequenceStep(Boolean) method to add steps to the active advanced sequence, or the CreateAdvancedSequenceCommitStep(Boolean) method to add a Commit step.

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.

Note Note
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.

Note Note
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(Double) 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.

Namespace:  NationalInstruments.ModularInstruments.NIDCPower
Assembly:  NationalInstruments.ModularInstruments.NIDCPower.Fx40 (in NationalInstruments.ModularInstruments.NIDCPower.Fx40.dll) Version: 2023

Syntax

public void CreateAdvancedSequence(
	string sequenceName,
	DCPowerAdvancedSequenceProperty[] properties,
	bool setAsActiveSequence
)
Public Sub CreateAdvancedSequence ( 
	sequenceName As String,
	properties As DCPowerAdvancedSequenceProperty(),
	setAsActiveSequence As Boolean
)

Parameters

sequenceName
Type: SystemString
Specifies the name of the sequence to create.
properties
Type: NationalInstruments.ModularInstruments.NIDCPowerDCPowerAdvancedSequenceProperty
Specifies the properties you reconfigure per step in the advanced sequence.
setAsActiveSequence
Type: SystemBoolean
Specifies that the current sequence is active.

See Also

Log in to get a better experience