Waits for the specified number for seconds for all the measurements to complete.

Syntax

Namespace: NationalInstruments.RFmx.SpecAnMX

public int WaitForMeasurementComplete(string selectorString, double timeout)

Remarks

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

Parameters

NameTypeDescription
selectorStringstring

Specifies the result name. Example: "", "result::r1". You can use the BuildResultString(string) method to build the selector string.

timeoutdouble

Specifies the time, in seconds, for which the method waits for the measurement to complete. A value of -1 specifies that the method waits until the measurement is complete.

Returns

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