TriggerInput
- Updated2026-01-20
- 2 minute(s) read
Gets or sets a value which specifies the source of the trigger for which the switch can wait when processing a List. The switch waits for a trigger when it encounters a semicolon in a List. When the trigger occurs, the switch advances to the next entry in the List.
Syntax
Namespace: NationalInstruments.ModularInstruments.NISwitch
public string TriggerInput { get; set; }
Remarks
External: The switch waits until it receives a trigger from an external source through the "trigger in" connector.
SoftwareTrigger: The switch waits until you call the SendSoftwareTrigger method.
RearConnector: The switch waits until it receives a trigger on the Rear connector before processing the next entry in the scan list. This value is valid for SCXI scanners that consist of a single device. If more than one device is used, you must use RouteTriggerInput or RouteScanAdvancedOutput functions to route a trigger from the connector on another module to one of the TTL lines instead.
FrontConnector: The switch waits until it receives a trigger on the front connector before processing the next entry in the scan list. When using SCXI scanners, this variable is valid for scanners that consist of a single device. If more than one device is used, you must use the RouteTriggerInput or RouteScanAdvancedOutput functions to route a trigger from the connector on another module to one of the TTL lines instead.
Returns
The values accepted by this property are defined in SwitchScanTriggerInput.
Exceptions
| Type | Description |
|---|---|
| System.ObjectDisposedException | The TriggerInput was accessed after the associated NISwitch object was disposed. |