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

  • Immediate: The switch does not wait for a trigger before processing the next entry in the List.  

  • 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.  

  • Ttl0: The switch waits until it receives a trigger on the SCXI or PXI_TRIG0 line before processing the next entry in the List.  

  • Ttl1: The switch waits until it receives a trigger on the PXI_TRIG1 line before processing the next entry in the List.  

  • Ttl2: The switch waits until it receives a trigger on the SCXI or PXI_TRIG2 line before processing the next entry in the List.  

  • Ttl3: The switch waits until it receives a trigger on the PXI_TRIG3 line before processing the next entry in the List.  

  • Ttl4: The switch waits until it receives a trigger on the PXI_TRIG4 line before processing the next entry in the List.  

  • Ttl5: The switch waits until it receives a trigger on the PXI_TRIG5 line before processing the next entry in the List.  

  • Ttl6: The switch waits until it receives a trigger on the PXI_TRIG6 line before processing the next entry in the List.  

  • Ttl7: The switch waits until it receives a trigger on the PXI_TRIG7 line before processing the next entry in the List.  

  • PxiStar: The switch waits until it receives a trigger on the PXI STAR trigger bus before processing the next entry in the List.  

  • 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

TypeDescription
System.ObjectDisposedException

The TriggerInput was accessed after the associated NISwitch object was disposed.