RouteTriggerInput Method
- Updated2023-02-21
- 3 minute(s) read
Routes the SwitchScan.TriggerInput from the front or rear connector to a trigger bus line (TTLx). To disconnect the route, call this function again and specify SwitchScanTriggerInputBusLine.None for trigger bus line parameter.
Namespace:
NationalInstruments.ModularInstruments.NISwitch
Assembly:
NationalInstruments.ModularInstruments.NISwitch.Fx40 (in NationalInstruments.ModularInstruments.NISwitch.Fx40.dll) Version: 19.0.0.49152 (19.0.0.49152)Visual Basic (Declaration) |
---|
Public Sub RouteTriggerInput ( _ triggerInputConnector As String, _ triggerInputBusLine As String, _ invert As Boolean _ ) |
C# |
---|
public void RouteTriggerInput( string triggerInputConnector, string triggerInputBusLine, bool invert ) |
Parameters
- triggerInputConnector
- Type: System..::.StringThe location of the SwitchScan.TriggerInput source on the switch module. Valid Values are defined in NISwitch.SwitchScanTriggerInputConnector. The default value is SwitchScanTriggerInputConnector.FrontConnector.
- triggerInputBusLine
- Type: System..::.StringThe trigger line to route the SwitchScan.TriggerInput. Select SwitchScanAdvancedOutputBusLine.None to break an existing route. Valid Values are defined in SwitchScanTriggerInputBusLine.
- invert
- Type: System..::.BooleanIf trueTruetruetrue (True in Visual Basic), inverts the input trigger signal from falling to rising or vice versa. The default value is falseFalsefalsefalse (False in Visual Basic).
Exceptions
Exception | Condition |
---|---|
ObjectDisposedException | The RouteTriggerInput method was accessed after the associated NISwitch.NISwitch object was disposed. |