RFmxInstrMX.SetAttributeUShort Method
- Updated2024-07-17
- 1 minute(s) read
RFmx
Sets the value of a UShort attribute.
Namespace: NationalInstruments.RFmx.InstrMX
Assembly: NationalInstruments.RFmx.InstrMX.Fx40 (in NationalInstruments.RFmx.InstrMX.Fx40.dll) Version: 24.5.0.49285 (24.5.0.49285)
Syntax
public int SetAttributeUShort( string channelName, int attributeIdentifier, ushort value )
Public Function SetAttributeUShort ( channelName As String, attributeIdentifier As Integer, value As UShort ) As Integer
Parameters
- channelName String
- Specifies the selector string for the attribute being set. Refer to the Using a Selector String (.NET) topic in the NI-RFmx Instr Help for more information about configuring the selector string.
- attributeIdentifier Int32
- Specifies the ID of an attribute.
- value UInt16
- Specifies the value to which you want to set the attribute.
Return Value
Int32Returns the status code of this method. The status code either indicates success or describes an error or warning condition.