NI-DCPower .NET fx45 API Reference

Table of Contents

NIDCPower.ExportSignal Method (DCPowerSignalSource, String)

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

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

ExceptionCondition
OperationNotSupportedExceptionExportSignal(DCPowerSignalSource, String) was called on a session to unsupported hardware.
ObjectDisposedExceptionExportSignal(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

Note 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 Also

Log in to get a better experience