GetPreampEnabled(string, out RFmxInstrMXPreampEnabled)
- Updated2025-10-13
- 1 minute(s) read
Gets whether the RF preamplifier is enabled in the system.
Syntax
Namespace: NationalInstruments.RFmx.InstrMX
public int GetPreampEnabled(string channelName, out RFmxInstrMXPreampEnabled value)
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.
Parameters
| Name | Type | Description |
|---|---|---|
| channelName | string | Specifies the port number. |
| value | out RFmxInstrMXPreampEnabled | Upon return, contains whether the RF preamplifier is enabled in the system. |
Returns
Returns the status code of this method. The status code either indicates success or describes a warning condition.