Gets a string that contains the model number or name of the RF device that you are currently using.

Syntax

Namespace: NationalInstruments.RFmx.InstrMX

public int GetInstrumentModel(string channelName, out string value)

Remarks

This method gets the value of InstrumentModel attribute.Supported devices: PXIe-5644/5645/5646, PXIe-5663/5663E/5665/5668, PXIe-5820/5830/5831/5832/5840/5841/5842/5860

Parameters

NameTypeDescription
channelNamestring

Specifies the port number.
Example: "port0".
You can use the BuildPortString2(string, string, string, int) method to build the selector string.

valueout string

Upon return, contains a string that contains the model number or name of the RF device that you are currently using.

Returns

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