SendSoftwareTrigger Method
- Updated2023-02-21
- 2 minute(s) read
Sends a software trigger to the switch specified in the NI-SWITCH session. When the SwitchScan.TriggerInput is set to SwitchScanTriggerInput.SoftwareTrigger through either the SwitchScan.ConfigureTrigger function or the SwitchScan.TriggerInput attribute, the scan does not proceed from a semicolon (wait for trigger) until SwitchScan.SendSoftwareTrigger is called.
Namespace:
NationalInstruments.ModularInstruments.NISwitch
Assembly:
NationalInstruments.ModularInstruments.NISwitch.Fx40 (in NationalInstruments.ModularInstruments.NISwitch.Fx40.dll) Version: 19.0.0.49152 (19.0.0.49152)
Syntax
Visual Basic (Declaration) |
---|
Public Sub SendSoftwareTrigger |
C# |
---|
public void SendSoftwareTrigger() |
Exceptions
Exception | Condition |
---|---|
Ivi.Driver.TriggerNotSoftwareException | A Send Software Trigger method could not send a software trigger. |
ObjectDisposedException | The SendSoftwareTrigger method was accessed after the associated NISwitch.NISwitch object was disposed. |