NIDCPower.ExportSignal Method (DCPowerSignalSource, String)
- Updated2024-01-04
- 2 minute(s) read

NIDCPowerExportSignal Method (DCPowerSignalSource, String)
Routes trigger and event signals to the output terminal you specify. The route is created when the session is committed.
Namespace: NationalInstruments.ModularInstruments.NIDCPower
Assembly: NationalInstruments.ModularInstruments.NIDCPower.Fx45 (in NationalInstruments.ModularInstruments.NIDCPower.Fx45.dll) Version: 2023
Syntax
public void ExportSignal( DCPowerSignalSource signalSource, string outputTerminal )
Public Sub ExportSignal ( signalSource As DCPowerSignalSource, outputTerminal As String )
Parameters
- signalSource
- Type: NationalInstruments.ModularInstruments.NIDCPowerDCPowerSignalSource
The trigger or event signal to export. - outputTerminal
- Type: SystemString
The terminal to route the signal to. For example, if the device is named "Dev1" and your terminal is "PXI_Trig0", you can specify the terminal with the fully qualified terminal name, "/Dev1/PXI_Trig0", or with the shortened terminal name, "PXI_Trig0".
Exceptions
Exception | Condition |
---|---|
OperationNotSupportedException | ExportSignal(DCPowerSignalSource, String) was called on a session to unsupported hardware. |
ObjectDisposedException | ExportSignal(DCPowerSignalSource, String) was called after the associated NIDCPower object was disposed. |
IviCDriverException |
The value of signalSource is invalid.
- or - The destination terminal to be routed cannot be found on the device.- or - The underlying NI-DCPower driver returned an error. |
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. |