NI-Digital Pattern Driver .NET Class Library

Table of Contents

NIDigital.ExportSignal Method

  • Updated2023-11-24
  • 1 minute(s) read
NIDigital.ExportSignal Method

NIDigitalExportSignal Method

Routes trigger and event signals to the specified outputTerminal.

Namespace:  NationalInstruments.ModularInstruments.NIDigital
Assembly:  NationalInstruments.ModularInstruments.NIDigital.Fx40 (in NationalInstruments.ModularInstruments.NIDigital.Fx40.dll) Version: 2021

Syntax

public void ExportSignal(
	SignalType signal,
	string signalId,
	string outputTerminal
)
Public Sub ExportSignal ( 
	signal As SignalType,
	signalId As String,
	outputTerminal As String
)

Parameters

signal
Type: NationalInstruments.ModularInstruments.NIDigitalSignalType
The type of signal to export.
signalId
Type: SystemString
The instance of the selected signal to export. Possible values include "patternOpcodeEvent0", "patternOpcodeEvent1", "patternOpcodeEvent2", or "patternOpcodeEvent3".
outputTerminal
Type: SystemString
The terminal to which to export the signal. Possible values include but are not limited to "PXI_Trig0", "PXI_Trig1", "PXI_Trig2", "PXI_Trig3", "PXI_Trig4", "PXI_Trig5", "PXI_Trig6", or "PXI_Trig7".

Exceptions

ExceptionCondition
IviCDriverExceptionThe NI-Digital Pattern Driver returned an error.
ArgumentException
  1. The value for signal is invalid.
  2. The value for signalId is invalid.
  3. The value for outputTerminal is invalid.

Remarks

For more information, refer to Opcodes, Triggers and Events, and Signal Routing in the Digital Pattern Help.

See Also

Log in to get a better experience