ExportSignal(DCPowerSignalSource, string)
- Updated2025-10-06
- 1 minute(s) read
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
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 Triggers
- or -
The destination terminal to be routed cannot be found on the device.
- or -
The underlying NI-DCPower driver returned an error.
Parameters
| Name | Type | Description |
|---|---|---|
| signalSource | DCPowerSignalSource | The trigger or event signal to export. |
| outputTerminal | string | 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
| Type | Description |
|---|---|
| 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. |