Initiate(string, string)
- Updated2025-04-08
- 1 minute(s) read
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
Name | Type | Description |
---|---|---|
selectorString | string | 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: |
resultName | string | 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: |
Returns
Returns the status code of this method. The status code either indicates success or describes a warning condition.