Initiate Method
- Updated2023-02-21
- 2 minute(s) read
Commits the configured SwitchScan.List and trigger settings to hardware and initiates the scan. If SwitchScan.Commit was called earlier, SwitchScan.Initiate only initiates the scan and returns immediately.
Once the scanning operation begins, you cannot perform any other operation other than GetAttribute, SwitchScan.Abort, or SwitchScan.SendSoftwareTrigger. All other functions return the Exception.
To stop the scanning operation, call SwitchScan.Abort.
Namespace:
NationalInstruments.ModularInstruments.NISwitch
Assembly:
NationalInstruments.ModularInstruments.NISwitch.Fx40 (in NationalInstruments.ModularInstruments.NISwitch.Fx40.dll) Version: 19.0.0.49152 (19.0.0.49152)Exception | Condition |
---|---|
Ivi.Swtch.EmptyScanListException | This exception is used when no scan list is specified. |
ObjectDisposedException | The Initiate method was accessed after the associated NISwitch.NISwitch object was disposed. |