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

Syntax

Namespace: NationalInstruments.RFmx.BTMX

public int WaitForMeasurementComplete(string selectorString, double timeout)

Parameters

NameTypeDescription
selectorStringstring

Specifies a selector string comprising of the result name. If you do not specify the result name, the default result instance is used. Example:
""
"result::r1"
You can use the BuildResultString(string) method to build the selector string.

timeoutdouble

Specifies the timeout for fetching the specified measurement. This value is expressed in seconds. Set this value to an appropriate time, longer than expected for fetching the measurement. 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 a warning condition.