Sets the power units.

Syntax

Namespace: NationalInstruments.RFmx.SpecAnMX

public int SetPowerUnits(string selectorString, RFmxSpecAnMXSemPowerUnits value)

Remarks

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

Parameters

NameTypeDescription
selectorStringstring

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

valueRFmxSpecAnMXSemPowerUnits

Specifies the power units.

Returns

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