NI-DCPower .NET fx45 API Reference

Table of Contents

DCPowerOutputDigitalEdgeSequenceAdvanceTrigger.Configure Method

  • Updated2024-01-04
  • 2 minute(s) read
DCPowerOutputDigitalEdgeSequenceAdvanceTrigger.Configure Method

DCPowerOutputDigitalEdgeSequenceAdvanceTriggerConfigure Method

Configures the SequenceAdvanceTrigger for digital edge triggering for the specified channel(s).

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

Syntax

public void Configure(
	DCPowerDigitalEdgeSequenceAdvanceTriggerInputTerminal inputTerminal,
	DCPowerTriggerEdge edge
)
Public Sub Configure ( 
	inputTerminal As DCPowerDigitalEdgeSequenceAdvanceTriggerInputTerminal,
	edge As DCPowerTriggerEdge
)

Parameters

inputTerminal
Type: NationalInstruments.ModularInstruments.NIDCPowerDCPowerDigitalEdgeSequenceAdvanceTriggerInputTerminal

Specifies the input terminal for the digital edge SequenceAdvanceTrigger.

You can specify any valid input terminal. Valid terminals are listed in MAX under the Device Routes tab or in the Signal Routing topic for the instrument.

Specify the input terminal using the form /Dev1/PXI_Trig0, where Dev1 is the instrument and PXI_Trig0 is the terminal. The input terminal can also be a terminal from another instrument or channel. For example, you can set the input terminal on Dev1 to be /Dev2/Engine0/SourceCompleteEvent, where Engine0 is channel 0.

edge
Type: NationalInstruments.ModularInstruments.NIDCPowerDCPowerTriggerEdge
Specifies whether to configure the SequenceAdvanceTrigger to assert on the rising or falling edge.

Exceptions

ExceptionCondition
ObjectDisposedExceptionThe method was called after the associated NIDCPower object was disposed.
OperationNotSupportedExceptionThe method was called to unsupported hardware.
SelectorNameExceptionThe method was called with an unknown channel name.
ArgumentNullExceptionThe method was called with a null input terminal.
IviCDriverExceptionThe underlying NI-DCPower driver returned an error.

Remarks

Note Note
This method cannot be called in the Running state. Refer to the Programming States topic in the NI DC Power Supplies and SMUs Help for information about the specific NI-DCPower software states.
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.

See Also

Log in to get a better experience