NI-SWITCH 19.0 .NET Framework 4.0 API Reference

Table of Contents

RouteTriggerInput Method

  • Updated2023-02-21
  • 3 minute(s) read
RouteTriggerInput Method
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
The location of the SwitchScan.TriggerInput source on the switch module. Valid Values are defined in NISwitch.SwitchScanTriggerInputConnector. The default value is SwitchScanTriggerInputConnector.FrontConnector.
triggerInputBusLine
The trigger line to route the SwitchScan.TriggerInput. Select SwitchScanAdvancedOutputBusLine.None to break an existing route. Valid Values are defined in SwitchScanTriggerInputBusLine.
invert
If 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

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

See Also

Log in to get a better experience