niDCPower_SetSequence

NI DC Power Supplies and SMUs Help (NI-DCPower)

Edition Date: January 2018

Part Number: 370736U-01

View Product Info

DOWNLOAD (Windows Only)


NI-DCPower (English | Japanese)

ViStatus niDCPower_SetSequence(ViSession vi, ViConstString channelName, ViReal64 values[], ViReal64 sourceDelays[], ViUInt32 size);

Purpose

Configures a series of voltage or current outputs and corresponding source delays. The source mode must be set to Sequence for this function 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 function 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.

Note Note  This function is not supported on all devices. Refer to Supported Functions by Device for more information about supported devices.

Parameters

Input
Name Type Description
vi ViSession Identifies a particular instrument session. vi is obtained from the niDCPower_InitializeWithChannels function.
channelName ViConstString Specifies the output channel to which this configuration value applies. You can only set a sequence for one channel at a time.
values ViReal64[] Specifies the series of voltage levels or current levels, depending on the configured output function.

Valid Values:
The valid values for this parameter are defined by the voltage level range or current level range.
sourceDelays ViReal64[] Specifies the source delay that follows the configuration of each value in the sequence.

Valid Values:
The valid values are between 0 and 167 seconds.
size ViUInt32 The number of elements in the Values and the Source Delays arrays. The Values and Source Delays arrays should have the same size.

Return Value

Name Type Description
StatusViStatusReports the status of this operation. To obtain a text description of the status code, call the niDCPower_error_message function. To obtain additional information concerning the error condition, call the niDCPower_GetError function.

WAS THIS ARTICLE HELPFUL?

Not Helpful