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

Syntax

Namespace: NationalInstruments.ModularInstruments.NIDCPower

public void Configure(DCPowerDigitalEdgePulseTriggerInputTerminal inputTerminal, DCPowerTriggerEdge edge)

Remarks

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

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.

Parameters

NameTypeDescription
inputTerminalDCPowerDigitalEdgePulseTriggerInputTerminal

Specifies the input terminal for the digital edge PulseTrigger.

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.

edgeDCPowerTriggerEdge

Specifies whether to configure the PulseTrigger to assert on the rising or falling edge.

Exceptions

TypeDescription
System.ObjectDisposedException

The method was called after the associated NIDCPower object was disposed.

Ivi.Driver.OperationNotSupportedException

The method was called to unsupported hardware.

Ivi.Driver.SelectorNameException

The method was called with an unknown channel name.

System.ArgumentNullException

The method was called with a null input terminal.

Ivi.Driver.IviCDriverException

The underlying NI-DCPower driver returned an error.