RFmxVnaMX.WaitForMeasurementComplete Method
- Updated2024-07-17
- 1 minute(s) read
RFmx
Waits for the specified number for seconds for all the measurements to complete.
Namespace: NationalInstruments.RFmx.VnaMX
Assembly: NationalInstruments.RFmx.VnaMX.Fx40 (in NationalInstruments.RFmx.VnaMX.Fx40.dll) Version: 24.5.0.49286 (24.5.0.49286)
Syntax
public int WaitForMeasurementComplete( string selectorString, double timeout )
Public Function WaitForMeasurementComplete ( selectorString As String, timeout As Double ) As Integer
Parameters
- selectorString String
- 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 BuildSParameterString(String, Int32) method to build the selector string. - timeout Double
- Specifies the timeout, in seconds, for fetching the specified measurement. 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.
Return Value
Int32Returns the status code of this method. The status code either indicates success or describes a warning condition.