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(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
signalSourceDCPowerSignalSource

The trigger or event signal to export.

outputTerminalstring

The terminal to route the signal to. For example, if the device is named "<tt>Dev1</tt>" and your terminal is "<tt>PXI_Trig0</tt>", you can specify the terminal with the fully qualified terminal name, "<tt>/Dev1/PXI_Trig0</tt>", or with the shortened terminal name, "<tt>PXI_Trig0</tt>".

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.IviCDriverException

The value of signalSource  is invalid.