TriggerInput Property
- Updated2023-02-21
- 4 minute(s) read
Gets or sets a value which specifies the source of the trigger for which the switch can wait when processing a SwitchScan.List. The switch waits for a trigger when it encounters a semicolon in a SwitchScan.List. When the trigger occurs, the switch advances to the next entry in the SwitchScan.List.
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 Property TriggerInput As String |
C# |
---|
public string TriggerInput { get; set; } |
Property Value
Type: System..::.String The values accepted by this property are defined in NISwitch.SwitchScanTriggerInput.
Exceptions
Exception | Condition |
---|---|
ObjectDisposedException | The TriggerInput was accessed after the associated NISwitch.NISwitch object was disposed. |
Remarks
- SwitchScanTriggerInput.Immediate: The switch does not wait for a trigger before processing the next entry in the SwitchScan.List.
- SwitchScanTriggerInput.External: The switch waits until it receives a trigger from an external source through the "trigger in" connector.
- SwitchScanTriggerInput.SoftwareTrigger: The switch waits until you call the SwitchScan.SendSoftwareTrigger method.
- SwitchScanTriggerInput.Ttl0: The switch waits until it receives a trigger on the SCXI or PXI_TRIG0 line before processing the next entry in the SwitchScan.List.
- SwitchScanTriggerInput.Ttl1: The switch waits until it receives a trigger on the PXI_TRIG1 line before processing the next entry in the SwitchScan.List.
- SwitchScanTriggerInput.Ttl2: The switch waits until it receives a trigger on the SCXI or PXI_TRIG2 line before processing the next entry in the SwitchScan.List.
- SwitchScanTriggerInput.Ttl3: The switch waits until it receives a trigger on the PXI_TRIG3 line before processing the next entry in the SwitchScan.List.
- SwitchScanTriggerInput.Ttl4: The switch waits until it receives a trigger on the PXI_TRIG4 line before processing the next entry in the SwitchScan.List.
- SwitchScanTriggerInput.Ttl5: The switch waits until it receives a trigger on the PXI_TRIG5 line before processing the next entry in the SwitchScan.List.
- SwitchScanTriggerInput.Ttl6: The switch waits until it receives a trigger on the PXI_TRIG6 line before processing the next entry in the SwitchScan.List.
- SwitchScanTriggerInput.Ttl7: The switch waits until it receives a trigger on the PXI_TRIG7 line before processing the next entry in the SwitchScan.List.
- SwitchScanTriggerInput.PxiStar: The switch waits until it receives a trigger on the PXI STAR trigger bus before processing the next entry in the SwitchScan.List.
- SwitchScanTriggerInput.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 SwitchScan.RouteTriggerInput or SwitchScan.RouteScanAdvancedOutput functions to route a trigger from the connector on another module to one of the TTL lines instead.
- SwitchScanTriggerInput.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 SwitchScan.RouteTriggerInput or SwitchScan.RouteScanAdvancedOutput functions to route a trigger from the connector on another module to one of the TTL lines instead.