NI Bluetooth Analysis Toolkit

NIBTSA_TXSPECTRUM_POWER_LEVEL_TYPE

  • Updated2023-02-21
  • 1 minute(s) read

Data Type: int32
Access:read/write
Functions:niBTSA_SetScalarAttributeI32
niBTSA_GetScalarAttributeI32
niBTSA_ResetAttribute
Description: Specifies the power level type for transmit spectrum measurements. The toolkit uses this attribute to compute the value for the NIBTSA_RESULT_TXSPECTRUM_BANDWIDTH attribute.

The toolkit computes a frequency (f_L) below the center frequency at which transmit power drops below a power level X and frequency (f_H) above the center frequency at which transmit power drops below a power level X. The toolkit determines X based on the NIBTSA_TXSPECTRUM_POWER_LEVEL_TYPE and NIBTSA_TXSPECTRUM_POWER_LEVEL attributes. If you set the NIBTSA_TXSPECTRUM_POWER_LEVEL_TYPE attribute to NIBTSA_VAL_ABSOLUTE, the toolkit determines X as value that you specify in the NIBTSA_TXSPECTRUM_POWER_LEVEL attribute. If you set the NIBTSA_TXSPECTRUM_POWER_LEVEL attribute to NIBTSA_VAL_RELATIVE, the toolkit determines X according to the following equation: maximum power level in the signal - power level

The default value is NIBTSA_VAL_TXSPECTRUM_POWER_LEVEL_TYPE_RELATIVE.

Get Function: niBTSA_TxSpectrumGetPowerLevelType
Set Function: niBTSA_TxSpectrumSetPowerLevelType
Values:
NIBTSA_VAL_TXSPECTRUM_POWER_LEVEL_TYPE_ABSOLUTE (0)Specifies that the value that you configure in the NIBTSA_TXSPECTRUM_POWER_LEVEL attribute is an absolute power level.
NIBTSA_VAL_TXSPECTRUM_POWER_LEVEL_TYPE_RELATIVE (1)Specifies that the value that you configure in the NIBTSA_TXSPECTRUM_POWER_LEVEL attribute is relative to the maximum power level in the signal.

Log in to get a better experience