RFmx Instr DotNET

Table of Contents

RFmxInstrMX.GetPreampEnabled Method

  • Updated2024-07-17
  • 1 minute(s) read
RFmxInstrMX.GetPreampEnabled Method

RFmxInstrMXGetPreampEnabled Method

Gets whether the RF preamplifier is enabled in the system.

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 GetPreampEnabled(
	string channelName,
	out RFmxInstrMXPreampEnabled value
)
Public Function GetPreampEnabled ( 
	channelName As String,
	<OutAttribute> ByRef value As RFmxInstrMXPreampEnabled
) 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  RFmxInstrMXPreampEnabled
Upon return, contains whether the RF preamplifier is enabled in the system.

Return Value

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

Remarks

This method gets the value of PreampEnabled attribute. The default value for PXIe-5644/5645/5646 and PXIe-5830/5831/5832/5840/5841/5842/5860 is Automatic, else the default value is Disabled.

See Also

Log in to get a better experience