NI RFmx NR TXP Attributes - ni/grpc-device GitHub Wiki

TXP Attributes

RFMXNR_ATTR_TXP_MEASUREMENT_ENABLED

Data Type: int32
Access: read/write
Functions: RFmxNR_SetAttributeI32
RFmxNR_GetAttributeI32
Description: Specifies whether to enable the TXP measurement.

You do not need to use a selector string to configure or read this attribute for the default signal instance. Refer to the Selector Strings topic for information about the string syntax for named signals.

The default value is RFMXNR_VAL_FALSE.

Get Function: RFmxNR_TXPGetMeasurementEnabled
Set Function: RFmxNR_TXPSetMeasurementEnabled

RFMXNR_ATTR_TXP_MEASUREMENT_OFFSET

Data Type: float64
Access: read/write
Functions: RFmxNR_SetAttributeF64
RFmxNR_GetAttributeF64
Description: Specifies the measurement offset to skip from the start of acquired waveform for TXP measurement. This value is expressed in seconds.

You do not need to use a selector string to configure or read this attribute for the default signal instance. Refer to the Selector Strings topic for information about the string syntax for named signals.

The default value is 0.

Get Function: RFmxNR_TXPGetMeasurementOffset
Set Function: RFmxNR_TXPSetMeasurementOffset

RFMXNR_ATTR_TXP_MEASUREMENT_INTERVAL

Data Type: float64
Access: read/write
Functions: RFmxNR_SetAttributeF64
RFmxNR_GetAttributeF64
Description: Specifies the measurement interval. This value is expressed in seconds.

You do not need to use a selector string to configure or read this attribute for the default signal instance. Refer to the Selector Strings topic for information about the string syntax for named signals.

The default value is 1 ms.

Get Function: RFmxNR_TXPGetMeasurementInterval
Set Function: RFmxNR_TXPSetMeasurementInterval

TXP Averaging

RFMXNR_ATTR_TXP_AVERAGING_ENABLED

Data Type: int32
Access: read/write
Functions: RFmxNR_SetAttributeI32
RFmxNR_GetAttributeI32
Description: Specifies whether to enable averaging for TXP measurement.

You do not need to use a selector string to configure or read this attribute for the default signal instance. Refer to the Selector Strings topic for information about the string syntax for named signals.

The default value is RFMXNR_VAL_TXP_AVERAGING_ENABLED_FALSE.

Get Function: RFmxNR_TXPGetAveragingEnabled
Set Function: RFmxNR_TXPSetAveragingEnabled
Values:
RFMXNR_VAL_TXP_AVERAGING_ENABLED_FALSE (0) The number of acquisitions is 1.
RFMXNR_VAL_TXP_AVERAGING_ENABLED_TRUE (1) The measurement uses the RFMXNR_ATTR_TXP_AVERAGING_COUNT for the number of acquisitions over which the measurement is averaged.

RFMXNR_ATTR_TXP_AVERAGING_COUNT

Data Type: int32
Access: read/write
Functions: RFmxNR_SetAttributeI32
RFmxNR_GetAttributeI32
Description: Specifies the number of acquisitions used for averaging when RFMXNR_ATTR_TXP_AVERAGING_ENABLED is RFMXNR_VAL_TXP_AVERAGING_ENABLED_TRUE.

You do not need to use a selector string to configure or read this attribute for the default signal instance. Refer to the Selector Strings topic for information about the string syntax for named signals.

The default value is 10.

Get Function: RFmxNR_TXPGetAveragingCount
Set Function: RFmxNR_TXPSetAveragingCount

RFMXNR_ATTR_TXP_ALL_TRACES_ENABLED

Data Type: int32
Access: read/write
Functions: RFmxNR_SetAttributeI32
RFmxNR_GetAttributeI32
Description: Enables the traces to be stored and retrieved after the TXP measurement is performed.

You do not need to use a selector string to configure or read this attribute for the default signal instance. Refer to the Selector Strings topic for information about the string syntax for named signals.

The default value is RFMXNR_VAL_FALSE.

Get Function: RFmxNR_TXPGetAllTracesEnabled
Set Function: RFmxNR_TXPSetAllTracesEnabled

RFMXNR_ATTR_TXP_NUMBER_OF_ANALYSIS_THREADS

Data Type: int32
Access: read/write
Functions: RFmxNR_SetAttributeI32
RFmxNR_GetAttributeI32
Description: Specifies the maximum number of threads used for parallelism inside TXP measurement.

You do not need to use a selector string to configure or read this attribute for the default signal instance. Refer to the Selector Strings topic for information about the string syntax for named signals.

The number of threads must range from 1 to the number of physical cores. The default value is 1.

The number of threads set used in calculations is not guaranteed. The actual number of threads used depends on the problem size, system resources, data availability, and other considerations.

Get Function: RFmxNR_TXPGetNumberOfAnalysisThreads
Set Function: RFmxNR_TXPSetNumberOfAnalysisThreads

Results

RFMXNR_ATTR_TXP_RESULTS_AVERAGE_POWER_MEAN

Data Type: float64
Access: read only
Functions: RFmxNR_GetAttributeF64
Description: Returns the average power of the acquired signal.

When you set the RFMXNR_ATTR_TXP_AVERAGING_ENABLED to RFMXNR_VAL_TXP_AVERAGING_ENABLED_TRUE, it returns the max of the peak power computed for each averaging count.

You do not need to use a selector string to configure or read this attribute for the default signal instance. Refer to the Selector Strings topic for information about the string syntax for named signals.

The default value is dBm.

Get Function: RFmxNR_TXPGetResultsAveragePowerMean

RFMXNR_ATTR_TXP_RESULTS_PEAK_POWER_MAXIMUM

Data Type: float64
Access: read only
Functions: RFmxNR_GetAttributeF64
Description: Returns the peak power of the acquired signal.

When you set the RFMXNR_ATTR_TXP_AVERAGING_ENABLED to RFMXNR_VAL_TXP_AVERAGING_ENABLED_TRUE, it returns the mean of the average power computed for each averaging count.

You do not need to use a selector string to configure or read this attribute for the default signal instance. Refer to the Selector Strings topic for information about the string syntax for named signals.

The default value is dBm.

Get Function: RFmxNR_TXPGetResultsPeakPowerMaximum
⚠️ **GitHub.com Fallback** ⚠️