Sets the payload length mode of the signal to be measured. The payload length mode and SetPayloadLength(string, int) properties decide the length of the payload to be used for measurement.

Syntax

Namespace: NationalInstruments.RFmx.BTMX

public int SetPayloadLengthMode(string selectorString, RFmxBTMXPayloadLengthMode value)

Remarks

This method sets the value of PayloadLengthMode attribute.The default value is Auto.

Parameters

NameTypeDescription
selectorStringstring

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

valueRFmxBTMXPayloadLengthMode

Specifies the payload length mode of the signal to be measured. The payload length mode and SetPayloadLength(string, int) properties decide the length of the payload to be used for measurement.

Returns

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