Gets the value of a UShort attribute.

Syntax

Namespace: NationalInstruments.RFmx.InstrMX

public int GetAttributeUShort(string channelName, int attributeIdentifier, out ushort value)

Parameters

NameTypeDescription
channelNamestring

Specifies the selector string for the attribute being read. Refer to the Using a Selector String (.NET) topic in the NI-RFmx Instr Help for more information about configuring the selector string.

attributeIdentifierint

Specifies the ID of an attribute.

valueout ushort

Upon return, contains the value of the specified attribute ID.

Returns

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