RouteTriggerInput(string, string, bool)
- Updated2026-01-20
- 1 minute(s) read
Routes the TriggerInput from the front or rear connector to a trigger bus line (TTLx). To disconnect the route, call this function again and specify None for trigger bus line parameter.
Syntax
Namespace: NationalInstruments.ModularInstruments.NISwitch
public void RouteTriggerInput(string triggerInputConnector, string triggerInputBusLine, bool invert)
Parameters
| Name | Type | Description |
|---|---|---|
| triggerInputConnector | string | The location of the TriggerInput source on the switch module. Valid Values are defined in SwitchScanTriggerInputConnector. The default value is FrontConnector. |
| triggerInputBusLine | string | The trigger line to route the TriggerInput. Select None to break an existing route. Valid Values are defined in SwitchScanTriggerInputBusLine. |
| invert | bool | If true, inverts the input trigger signal from falling to rising or vice versa. The default value is false. |
Exceptions
| Type | Description |
|---|---|
| System.ObjectDisposedException | The RouteTriggerInput method was accessed after the associated NISwitch object was disposed. |