NI-DCPower C Function Reference Help

niDCPower_CreateAdvancedSequenceStep

  • Updated2023-04-15
  • 1 minute(s) read

ViStatus niDCPower_CreateAdvancedSequenceStep(ViSession vi, viBoolean setAsActiveSequenceStep);

Purpose

This function is deprecated. Use niDCPower_CreateAdvancedSequenceStepWithChannels instead.

Creates a new advanced sequence step in the advanced sequence specified by the Active advanced sequence. When you create an advanced sequence step, each attribute you passed to the niDCPower_CreateAdvancedSequence function is reset to its default value for that step unless otherwise specified.

Support for this Function

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

You must set the source mode to NIDCPOWER_VAL_SEQUENCE to use this function.

Using the niDCPower_SetSequence function with Advanced Sequence functions is unsupported.

Related Topics:

Advanced Sequence Mode

Programming States

niDCPower_CreateAdvancedSequence

Parameters

Input
Name Type Description
vi ViSession Identifies a particular instrument session. vi is obtained from the niDCPower_InitializeWithIndependentChannels function.
setAsActiveStep ViBoolean Specifies that this current step in the active sequence is active.

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.

Log in to get a better experience