RFmxInstrMX.GetInstrumentModel Method
- Updated2024-07-17
- 1 minute(s) read
RFmx
Gets a string that contains the model number or name of the RF device that you are currently using.
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 GetInstrumentModel( string channelName, out string value )
Public Function GetInstrumentModel ( channelName As String, <OutAttribute> ByRef value As String ) As Integer
Parameters
- channelName String
-
Specifies the port number.
Example: "port0".
You can use the BuildPortString2(String, String, String, Int32) method to build the selector string. - value String
- Upon return, contains a string that contains the model number or name of the RF device that you are currently using.
Return Value
Int32Returns the status code of this method. The status code either indicates success or describes a warning condition.
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