Stops acquisition and measurements associated with signal instance, which were previously initiated by the Initiate or measurement read methods.

Syntax

Namespace: NationalInstruments.RFmx.SpecAnMX

public int AbortMeasurements(string selectorString)

Remarks

Calling this method is optional, unless you want to stop a measurement before it is complete. This method executes even if there is an incoming error.

This method maps to the RFmxSpecAn_AbortMeasurements() function in C.

Parameters

NameTypeDescription
selectorStringstring

Pass an empty string. The signal name that is passed when creating the signal configuration is used.

Returns

Returns the status code of this method. The status code either indicates success or describes an error or warning condition.