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

NameTypeDescription
triggerInputConnectorstring

The location of the TriggerInput source on the switch module. Valid Values are defined in SwitchScanTriggerInputConnector. The default value is FrontConnector.

triggerInputBusLinestring

The trigger line to route the TriggerInput. Select None to break an existing route. Valid Values are defined in SwitchScanTriggerInputBusLine.

invertbool

If true, inverts the input trigger signal from falling to rising or vice versa. The default value is false.

Exceptions

TypeDescription
System.ObjectDisposedException

The RouteTriggerInput method was accessed after the associated NISwitch object was disposed.