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. To get the status of measurements, you can use the CheckMeasurementStatus(string, out bool) method.

Syntax

Namespace: NationalInstruments.RFmx.DemodMX

public int Initiate(string selectorString, string resultName)

Remarks

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

Parameters

NameTypeDescription
selectorStringstring

Specifies a selector string comprising 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 input, either the result name specified by 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 a selector string comprising 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 input, either the result name specified by resultName parameter or the default result instance is used. Example: "", "result::r1". You can use the BuildResultString(string) method to build the selector string.

Returns

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