Configures a series of voltage or current outputs and corresponding source delays.

Syntax

Namespace: NationalInstruments.ModularInstruments.NIDCPower

public void SetSequence(double[] values, NationalInstruments.PrecisionTimeSpan[] sourceDelays)

Remarks

The source mode must be set to Sequence for this method to take effect.

Refer to the Configuring the Source Unit topic in the NI DC Power Supplies and SMUs Help for more information about how to configure your device.

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 information about the specific NI-DCPower software states.

Using this method with Advanced Sequence methods for the same channel in the same session is not supported.

Note

NI-DCPower uses the terms "source" and "output". However, while sinking with electronic loads and SMUs these correspond to "sinking" and "input", respectively.

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.


The valid values for this parameter are defined by the voltage level range or current level range.

Valid Values:

For the PXIe-4051, 0 to 39 seconds.

For the PXIe-4147, 0 to 26.5 seconds.

For the PXIe-4151, 0 to 42 seconds.

For the PXIe-4162/4163 and PXIe-4190, 0 to 23 seconds.

For all other supported instruments, 0 to 167 seconds.

Parameters

NameTypeDescription
valuesdouble[]

Specifies the series of voltage levels or current levels, depending on the configured output method.

Parameters

NameTypeDescription
sourceDelaysNationalInstruments.PrecisionTimeSpan[]

Specifies the source delay, in seconds, that follows the configuration of each value in the sequence.