NI-SWITCH 19.0 .NET Framework 4.0 API Reference

Table of Contents

Abort Method

  • Updated2023-02-21
  • 2 minute(s) read
Abort Method
Aborts the scan in progress. Initiate a scan with SwitchScan.Initiate. If the switch module is not scanning, exception is returned.

Namespace:  NationalInstruments.ModularInstruments.NISwitch
Assembly:  NationalInstruments.ModularInstruments.NISwitch.Fx40 (in NationalInstruments.ModularInstruments.NISwitch.Fx40.dll) Version: 19.0.0.49152 (19.0.0.49152)
ExceptionCondition
Ivi.Swtch.NoScanInProgressException This exception is used when the driver expects that the switch is currently scanning through the scan list, but it is not.
ObjectDisposedException The Abort method was accessed after the associated NISwitch.NISwitch object was disposed.

See Also

Log in to get a better experience