RfsaIQAcquisition.Abort Method
- Updated2025-05-22
- 1 minute(s) read
Rfsa
Stops an acquisition previously started with the Initiate or
ReadPowerSpectrum(PrecisionTimeSpan)
method. You can also use the this method to stop a self-calibration. Calling this method
is optional, unless you want to stop an acquisition before it is complete or you are
continuously acquiring data.
Namespace: NationalInstruments.ModularInstruments.NIRfsa
Assembly: NationalInstruments.ModularInstruments.NIRfsa.Fx45 (in NationalInstruments.ModularInstruments.NIRfsa.Fx45.dll) Version: 2025
Syntax
public void Abort()
Public Sub Abort
Exceptions
Exception | Condition |
---|---|
ObjectDisposedException | The Abort method was accessed after the associated NIRfsa object was disposed. |
Remarks
You can abort reading a power spectrum if it is a triggered acquisition that has not yet
been triggered. You can also abort multi-span acquisitions in a middle of a span. If you call this
method soon enough, you can abort averaged spectrum acquisitions and single-record spectrum
acquisitions.