Initiates all enabled measurements. Call this method after configuring the signal and measurement. This method asynchronously launches measurements in the background and immediately returns to the caller program. You can fetch measurement results using the Fetch methods or result methods in the method node. To get the status of measurements, use the WaitForMeasurementComplete(string, double) method or CheckMeasurementStatus(string, out bool) method.

Syntax

Namespace: NationalInstruments.RFmx.NRMX

public int Initiate(string selectorString, string resultName)

Parameters

NameTypeDescription
selectorStringstring

Specifies the result name. The result name can either be specified through this input or the resultName parameter. If you do not specify the result name in this parameter, either the result name specified by the resultName parameter or the default result instance is used. Example:
""
"result::r1"
You can use the BuildResultString(string) method to build the selector string.

resultNamestring

Specifies the name to be associated with measurement results. Provide a unique name, such as "r1" to enable fetching of multiple measurement results and traces. This input accepts the result name with or without the "result::" prefix. Example:
"result::r1"
"r1"

Returns

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