NIDigital.ExportSignal Method
- Updated2023-11-24
- 1 minute(s) read
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
Exception | Condition |
---|---|
IviCDriverException | The NI-Digital Pattern Driver returned an error. |
ArgumentException |
|
Remarks
For more information, refer to Opcodes, Triggers and Events,
and Signal Routing in the Digital Pattern Help.