Routes trigger and event signals to the output terminal you specify. The route is created when the session is committed.

Syntax

Namespace: NationalInstruments.ModularInstruments.NIDCPower

public void ExportSignal(string channelString, DCPowerSignalSource signalSource, string outputTerminal)

Remarks

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 Programming States

See Triggers


- or -

The destination terminal to be routed cannot be found on the device.

- or -

The underlying NI-DCPower driver returned an error.

Parameters

NameTypeDescription
channelStringstring

The channel to which you export the signal. You can only export a signal to one channel at a time. Specify the channel using the form PXI1Slot3/0, where PXI1Slot3 is the instrument resource name and 0 is the channel.

signalSourceDCPowerSignalSource

The trigger or event signal to export.

outputTerminalstring

The terminal to route the signal to. You can supply a fully qualified terminal name to this parameter, for example, /Dev1/PXI_Trig0, or /Dev1/Engine0/PXI_Trig0, where Engine0 is channel 0.

Exceptions

TypeDescription
Ivi.Driver.OperationNotSupportedException

ExportSignal(DCPowerSignalSource, string) was called on a session to unsupported hardware.

System.ObjectDisposedException

ExportSignal(DCPowerSignalSource, string) was called after the associated NIDCPower object was disposed.

Ivi.Driver.SelectorNameException

ExportSignal(DCPowerSignalSource, string) was called with invalid channel.

Ivi.Driver.IviCDriverException

The value of signalSource  is invalid.