Enums
enums.py - Contains enum classes.
- class nirfmxgsm.enums.AutoTscDetectionEnabled(value)[source]
Bases:
EnumAutoTscDetectionEnabled.
- TRUE = 1
The measurement detects the TSC in the burst.
- class nirfmxgsm.enums.Band(value)[source]
Bases:
EnumBand.
- DCS1800 = 3
The operation band is GSM in the 1800 MHz band.
- EGSM = 1
The operation band is Extended GSM in the 900 MHz band.
- GSM450 = 5
The operation band is GSM in the 450 MHz band.
- GSM480 = 6
The operation band is GSM in the 480 MHz band.
- GSM750 = 8
The operation band is GSM in the 750 MHz band.
- GSM850 = 7
The operation band is GSM in the 850 MHz band.
- PCS1900 = 4
The operation band is GSM in the 1900 MHz band.
- PGSM = 0
The operation band is Primary GSM in the 900 MHz band.
- RGSM = 2
The operation band is Railway GSM in the 900 MHz band.
- TGSM810 = 9
The operation band is terrestrial GSM in the 810 MHz band.
- class nirfmxgsm.enums.BurstSynchronizationType(value)[source]
Bases:
EnumBurstSynchronizationType.
- AMPLITUDE = 1
Synchronizes the measurement based on the RF envelope of the received signal. The measurement sets the T0 point as the center of the RF envelope.
- NONE = 2
Sets the T0 point to 273.23 microseconds after the trigger.
- TSC = 0
Synchronizes the measurement to the timing of the demodulated training sequence in the burst. The measurement requires a burst with a valid training sequence code (TSC). The measurement determines the T0 point by demodulating the burst and identifying the TSC.
- class nirfmxgsm.enums.BurstType(value)[source]
Bases:
EnumBurstType.
- AB = 2
The burst type is Access Burst.
- HB = 1
The burst type is Higher Symbol Rate Burst.
- NB = 0
The burst type is Normal Burst.
- class nirfmxgsm.enums.DigitalEdgeTriggerEdge(value)[source]
Bases:
EnumDigitalEdgeTriggerEdge.
- FALLING_EDGE = 1
The trigger asserts on the falling edge of the signal.
- RISING_EDGE = 0
The trigger asserts on the rising edge of the signal.
- class nirfmxgsm.enums.HBFilterWidth(value)[source]
Bases:
EnumHBFilterWidth.
- NARROW = 0
The measurement uses a narrow filter.
- WIDE = 1
The measurement uses a wide filter.
- class nirfmxgsm.enums.IQPowerEdgeTriggerLevelType(value)[source]
Bases:
EnumIQPowerEdgeTriggerLevelType.
- ABSOLUTE = 1
The IQ Power Edge Level attribute specifies the absolute power.
- RELATIVE = 0
The value of the IQ Power Edge Level attribute is relative to the value of the
REFERENCE_LEVELattribute.
- class nirfmxgsm.enums.IQPowerEdgeTriggerSlope(value)[source]
Bases:
EnumIQPowerEdgeTriggerSlope.
- FALLING_SLOPE = 1
The trigger asserts when the signal power is falling.
- RISING_SLOPE = 0
The trigger asserts when the signal power is rising.
- class nirfmxgsm.enums.LimitedConfigurationChange(value)[source]
Bases:
EnumLimitedConfigurationChange.
- DISABLED = 0
This is the normal mode of RFmx operation. All configuration changes in RFmxInstr attributes or in personality attributes will be applied during RFmx Commit.
- FREQUENCY = 2
Signal configuration, other than center frequency and external attenuation, is locked after first Commit of the named signal configuration. Thereafter, only the
CENTER_FREQUENCYandEXTERNAL_ATTENUATIONattribute value changes will be considered by subsequent driver Commits or Initiates of this signal. Refer to the Limitations of the Limited Configuration Change Property topic for more details about the limitations of using this mode.
- FREQUENCY_AND_REFERENCE_LEVEL = 4
Signal configuration, other than center frequency, reference level, and external attenuation, is locked after first Commit of the named signal configuration. Thereafter only Center Frequency, Reference Level, and External Attenuation attribute value changes will be considered by subsequent driver Commits or Initiates of this signal. If you have configured this signal to use an IQ Power Edge Trigger, NI recommends you set the IQ Power Edge Level Type to Relative so that the trigger level is automatically adjusted as you adjust the reference level. Refer to the Limitations of the Limited Configuration Change Property topic for more details about the limitations of using this mode.
- NO_CHANGE = 1
Signal configuration is locked after the first Commit of the named signal configuration. Any configuration change thereafter either in RFmxInstr attributes or personality attributes will not be considered by subsequent RFmx Commits or Initiates of this signal. Use No Change if you have created named signal configurations for all measurement configurations but are setting some RFmxInstr attributes. Refer to the Limitations of the Limited Configuration Change Property topic for more details about the limitations of using this mode.
- REFERENCE_LEVEL = 3
Signal configuration, other than the reference level, is locked after first Commit of the named signal configuration. Thereafter only the
REFERENCE_LEVELattribute value change will be considered by subsequent driver Commits or Initiates of this signal. If you have configured this signal to use an IQ Power Edge Trigger, NI recommends that you set theIQ_POWER_EDGE_TRIGGER_LEVEL_TYPEto Relative so that the trigger level is automatically adjusted as you adjust the reference level. Refer to the Limitations of the Limited Configuration Change Property topic for more details about the limitations of using this mode.
- SELECTED_PORTS_FREQUENCY_AND_REFERENCE_LEVEL = 5
Signal configuration, other than selected ports, center frequency, reference level, external attenuation, and RFInstr configuration, is locked after first Commit or Initiate of the named signal configuration. Thereafter only Selected Ports, Center Frequency, Reference Level, and External Attenuation attribute value changes will be considered by subsequent driver Commits or Initiates of this signal. If you have configured this signal to use an IQ Power Edge Trigger, NI recommends you set the IQ Power Edge Level Type to Relative so that the trigger level is automatically adjusted as you adjust the reference level. Refer to the Limitations of the Limited Configuration Change Property topic for more details about the limitations of using this mode.
- class nirfmxgsm.enums.LinkDirection(value)[source]
Bases:
EnumLinkDirection.
- DOWNLINK = 0
The source is a base transceiver station.
- UPLINK = 1
The source is a mobile station.
- class nirfmxgsm.enums.MeasurementTypes(value)[source]
Bases:
IntFlagMeasurementTypes.
- MODACC = 1
Selects MODACC measurement.
- ORFS = 2
Selects ORFS measurement.
- PVT = 4
Selects PVT measurement.
- class nirfmxgsm.enums.ModAccAveragingEnabled(value)[source]
Bases:
EnumModAccAveragingEnabled.
- FALSE = 0
The measurement is performed on a single acquisition.
- TRUE = 1
The measurement is averaged over multiple acquisitions.
- class nirfmxgsm.enums.ModAccDetectedTsc(value)[source]
Bases:
EnumModAccDetectedTsc.
- TSC0 = 0
The detected TSC is TSC0.
- TSC1 = 1
The detected TSC is TSC1.
- TSC2 = 2
The detected TSC is TSC2.
- TSC3 = 3
The detected TSC is TSC3.
- TSC4 = 4
The detected TSC is TSC4.
- TSC5 = 5
The detected TSC is TSC5.
- TSC6 = 6
The detected TSC is TSC6.
- TSC7 = 7
The detected TSC is TSC7.
- Unknown = -1
The synchronization is not found, and measurements correspond to best estimate of synchronization.
- class nirfmxgsm.enums.ModAccDroopCompensationEnabled(value)[source]
Bases:
EnumModAccDroopCompensationEnabled.
- FALSE = 0
Disables power droop compensation in the EVM measurement.
- TRUE = 1
Enables power droop compensation in the EVM measurement.
- class nirfmxgsm.enums.ModAccMeasurementInterval(value)[source]
Bases:
EnumModAccMeasurementInterval.
- NUMBER_OF_TIMESLOTS = 0
The measurement includes all timeslots defined by the
NUMBER_OF_TIMESLOTSattribute.
- TIMESLOT_AT_OFFSET = 1
The measurement is performed only on the timeslot specified by the
MODACC_MEASUREMENT_OFFSETattribute. This attribute is applicable only when you set theTRIGGER_TYPEattribute to IQ Power Edge or **Digital Edge **.
- class nirfmxgsm.enums.ModulationType(value)[source]
Bases:
EnumModulationType.
- MODULATION_TYPE_16QAM = 3
The modulation type is 16-QAM.
- MODULATION_TYPE_32QAM = 4
The modulation type is 32-QAM.
- MODULATION_TYPE_8PSK = 1
The modulation type is 8-PSK. This value is valid only when you set the Burst Type attribute to NB.
- MODULATION_TYPE_GMSK = 0
The modulation type is Gaussian minimum shift keying. This value is valid only when you set the
BURST_TYPEattribute to NB or AB.
- MODULATION_TYPE_QPSK = 2
The modulation type is QPSK. This value is valid only when you set the Burst Type attribute to HB.
- class nirfmxgsm.enums.OrfsAveragingEnabled(value)[source]
Bases:
EnumOrfsAveragingEnabled.
- FALSE = 0
The measurement is performed on a single acquisition.
- TRUE = 1
The measurement is averaged over multiple acquisitions.
- class nirfmxgsm.enums.OrfsAveragingType(value)[source]
Bases:
EnumOrfsAveragingType.
- LOG = 1
The measurement averages the power spectrum in a logarithmic scale.
- RMS = 0
The measurement averages the power spectrum linearly. RMS averaging reduces signal fluctuations but not the noise floor.
- class nirfmxgsm.enums.OrfsEvaluationSymbolsIncludeTsc(value)[source]
Bases:
EnumOrfsEvaluationSymbolsIncludeTsc.
- FALSE = 0
The TSC portion of the burst will be excluded while performing the ORFS measurement.
- TRUE = 1
The TSC portion of the burst will be included while performing the ORFS measurement.
- class nirfmxgsm.enums.OrfsEvaluationSymbolsScope(value)[source]
Bases:
EnumOrfsEvaluationSymbolsScope.
- OFFSET = 0
Modulation Offset Power measurements will only use the part of burst configured using the RFmxGSM ORFS Configure Evaluation Symbols method. Modulation Carrier Power measurement will use all of the useful part of the burst.
- OFFSET_AND_CARRIER = 1
Modulation Offset and Carrier Power measurements will both use the part of burst configured using the RFmxGSM ORFS Configure Evaluation Symbols method.
- class nirfmxgsm.enums.OrfsMeasurementInterval(value)[source]
Bases:
EnumOrfsMeasurementInterval.
- NUMBER_OF_TIMESLOTS = 0
The measurement includes all timeslots defined by the
NUMBER_OF_TIMESLOTSattribute.
- TIMESLOT_AT_OFFSET = 1
The measurement is performed only on the timeslot specified by the
ORFS_MEASUREMENT_OFFSETattribute. This attribute is applicable only when you set theTRIGGER_TYPEattribute to IQ Power Edge or **Digital Edge **.
- class nirfmxgsm.enums.OrfsMeasurementType(value)[source]
Bases:
EnumOrfsMeasurementType.
- MODULATION = 1
Measures the spectrum on the modulated part of the waveform.
- MODULATION_AND_SWITCHING = 0
Measures the spectrum on the modulated part and the switching part of the waveform.
- SWITCHING = 2
Measures the spectrum on the switching part of the waveform.
- class nirfmxgsm.enums.OrfsNoiseCompensationEnabled(value)[source]
Bases:
EnumOrfsNoiseCompensationEnabled.
- FALSE = 0
Disables compensation of the channel powers for the signal analyzer noise floor.
- TRUE = 1
Enables compensation of the channel powers for the noise floor of the signal analyzer. The noise floor of the signal analyzer is measured for the RF path used by the output radio frequency spectrum (ORFS) measurement and cached for future use. If signal analyzer or measurement parameters change, noise floors are measured again.
- class nirfmxgsm.enums.OrfsOffsetFrequencyMode(value)[source]
Bases:
EnumOrfsOffsetFrequencyMode.
- CUSTOM = 2
Uses the list of frequencies that is configured using the
orfs_configure_modulation_custom_offset_frequency_array()andorfs_configure_switching_custom_offset_frequency_array()methods for measurement of spectrum produced by modulation and switching measurements.
- SHORT = 1
Uses the list of lower and upper offset frequencies of 200 kHz, 250 kHz, 400 kHz, 600 kHz, and 1200 kHz for the spectrum due to the modulation measurement, and the lower and upper offset frequencies of 400 kHz, 600 kHz, 1200 kHz, and 1800 kHz for the spectrum produced by the switching measurement.
- STANDARD = 0
Uses the list of lower and upper offset frequencies of 100 kHz, 200 kHz, 250 kHz, 400 kHz, 600 kHz, 800 kHz, 1000 kHz, 1200 kHz, 1400 kHz, 1600 kHz, and 1800 kHz for the spectrum due to the modulation measurement, and the lower and upper offset frequencies of 400 kHz, 600 kHz, 1200 kHz, and 1800 kHz for the spectrum produced by the switching measurement.
- class nirfmxgsm.enums.PvtAveragingEnabled(value)[source]
Bases:
EnumPvtAveragingEnabled.
- FALSE = 0
The measurement is performed on a single acquisition.
- TRUE = 1
The measurement is averaged over multiple acquisitions.
- class nirfmxgsm.enums.PvtAveragingType(value)[source]
Bases:
EnumPvtAveragingType.
- LOG = 1
The power at each sample interval is averaged on a logarithmic scale from one acquisition to the next acquisition.
- MAXIMUM = 3
The peak power at each sample interval is retained from one acquisition to the next acquisition.
- MINIMUM = 4
The lowest power at each sample interval is retained from one acquisition to the next acquisition.
- RMS = 0
The power at each sample interval is linearly averaged from one acquisition to the next acquisition.
- class nirfmxgsm.enums.PvtMaximumPowerTraceEnabled(value)[source]
Bases:
EnumPvtMaximumPowerTraceEnabled.
- FALSE = 0
Disables computation of the PVT Maximum Power Trace.
- TRUE = 1
Enables computation of the PVT Maximum Power Trace.
- class nirfmxgsm.enums.PvtMeasurementStatus(value)[source]
Bases:
EnumPvtMeasurementStatus.
- FAIL = 0
The measurement failed because the average power of at least one slot is outside the standard-defined limits.
- PASS = 1
The measurement passed because the average power of all slots is within the standard-defined limits.
- class nirfmxgsm.enums.PvtMinimumPowerTraceEnabled(value)[source]
Bases:
EnumPvtMinimumPowerTraceEnabled.
- FALSE = 0
Disables computation of the PVT Minimum Power Trace.
- TRUE = 1
Enables computation of the PVT Minimum Power Trace.
- class nirfmxgsm.enums.PvtSlotMeasurementStatus(value)[source]
Bases:
EnumPvtSlotMeasurementStatus.
- FAIL = 0
The average power for at least one slot is outside the standard-defined limits.
- PASS = 1
The average power for each slot is within the standard-defined limits.
- class nirfmxgsm.enums.SignalStructure(value)[source]
Bases:
EnumSignalStructure.
- BURSTED = 0
The signal is bursted.
- CONTINUOUS = 1
The signal is continuous.
- class nirfmxgsm.enums.TriggerMinimumQuietTimeMode(value)[source]
Bases:
EnumTriggerMinimumQuietTimeMode.
- AUTO = 1
The measurement computes the minimum quiet time used for triggering.
- MANUAL = 0
The minimum quiet time for triggering is the value of the
TRIGGER_MINIMUM_QUIET_TIME_DURATIONattribute.
- class nirfmxgsm.enums.TriggerType(value)[source]
Bases:
EnumTriggerType.
- DIGITAL_EDGE = 1
The Reference Trigger is not asserted until a digital edge is detected. The source of the digital edge is specified using the
DIGITAL_EDGE_TRIGGER_SOURCEattribute.
- IQ_POWER_EDGE = 2
The Reference Trigger is asserted when the signal changes past the level specified by the slope (rising or falling), which is configured using the
IQ_POWER_EDGE_TRIGGER_SLOPEattribute.
- NONE = 0
No Reference Trigger is configured.
- SOFTWARE = 3
The Reference Trigger is not asserted until a software trigger occurs.
- class nirfmxgsm.enums.Tsc(value)[source]
Bases:
EnumTsc.
- TSC0 = 0
The measurement uses training sequence code 0.
- TSC1 = 1
The measurement uses training sequence code 1.
- TSC2 = 2
The measurement uses training sequence code 2.
- TSC3 = 3
The measurement uses training sequence code 3.
- TSC4 = 4
The measurement uses training sequence code 4.
- TSC5 = 5
The measurement uses training sequence code 5.
- TSC6 = 6
The measurement uses training sequence code 6.
- TSC7 = 7
The measurement uses training sequence code 7.