ExportSignal(string, 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(string channelString, 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 |
|---|---|---|
| channelString | string | 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. |
| signalSource | DCPowerSignalSource | The trigger or event signal to export. |
| outputTerminal | string | 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
| 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.SelectorNameException | ExportSignal(DCPowerSignalSource, string) was called with invalid channel. |
| Ivi.Driver.IviCDriverException | The value of signalSource is invalid. |