RfsgDriverUtility.ExportSignal Method
- Updated2024-05-08
- 1 minute(s) read
RfsgDriverUtilityExportSignal Method
Routes signals (triggers, clocks, and events) to a specified output terminal. The NI-RFSG device must be in the Configuration state before you call this function.
You can clear a previously routed signal by exporting the signal to "" (empty string).
Namespace: NationalInstruments.ModularInstruments.NIRfsg
Assembly: NationalInstruments.ModularInstruments.NIRfsg.Fx40 (in NationalInstruments.ModularInstruments.NIRfsg.Fx40.dll) Version: 2022
Syntax
public void ExportSignal( RfsgSignalType signal, RfsgSignalIdentifier signalIdentifier, RfsgOutputTerminal outputTerminal )
Public Sub ExportSignal ( signal As RfsgSignalType, signalIdentifier As RfsgSignalIdentifier, outputTerminal As RfsgOutputTerminal )
Parameters
- signal
- Type: NationalInstruments.ModularInstruments.NIRfsgRfsgSignalType
Specifies the RfsgSignalType to route. - signalIdentifier
- Type: NationalInstruments.ModularInstruments.NIRfsgRfsgSignalIdentifier
Specifies which instance of the selected signal to export. This parameter is useful when you set the signal parameter to ScriptTrigger or MarkerEvent. Otherwise, set the RfsgSignalIdentifier parameter to None. - outputTerminal
- Type: NationalInstruments.ModularInstruments.NIRfsgRfsgOutputTerminal
Specifies the RfsgOutputTerminal where the signal is exported. You can choose not to export any signal.
Exceptions
Exception | Condition |
---|---|
ObjectDisposedException | The ExportSignal(RfsgSignalType, RfsgSignalIdentifier, RfsgOutputTerminal) method was accessed after the associated NIRfsg object was disposed. |