Specifies whether to enable the AMPM measurement.

Syntax

Namespace: NationalInstruments.RFmx.SpecAnMX

public int SetMeasurementEnabled(string selectorString, bool value)

Remarks

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

Parameters

NameTypeDescription
selectorStringstring

Pass an empty string. The signal name that is passed when creating the signal configuration is used.

valuebool

true if the AMPM measurement is enabled; otherwise, false.

Returns

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