Exemple #1
0
        public void InitializeParameters()
        {
            //shared Parameters
            centerFrequency    = 3.5e9; //Hz
            resourceName       = "5840";
            filePath           = @"C:\Users\Public\Documents\National Instruments\RFIC Test Software\Waveforms\NR_FR1_DL_TM1-1_1x100MHz_30kHz-SCS_OS4.tdms";
            signalStringSpecan = "specanSig0";
            signalStringNr     = "nrSig0";
            resultStringSpecan = "specanResult0";
            resultStringNr     = "nrResult0";

            //Generator Configuiration
            SgInstrConfig = SG.InstrumentConfiguration.GetDefault();
            SgInstrConfig.CarrierFrequency_Hz      = centerFrequency;
            SgInstrConfig.DutAverageInputPower_dBm = -10.0;
            SgInstrConfig.ExternalAttenuation_dB   = 0;

            //Analyzer Configuration
            saInstrConfig  = SA.RFmxInstr.InstrumentConfiguration.GetDefault();
            saCommonConfig = SA.CommonConfiguration.GetDefault();
            saCommonConfig.ExternalAttenuation_dB = 0;
            saCommonConfig.CenterFrequency_Hz     = centerFrequency;
            saCommonConfig.ReferenceLevel_dBm     = 0.0;

            saAutolevelConfig         = SA.AutoLevelConfiguration.GetDefault();
            saAutolevelConfig.Enabled = true;

            AmpmConfigurationSpecAn = SA.RFmxSpecAn.AmpmConfiguration.GetDefault();

            StandardConfigNR = SA.RFmxNR.StandardConfiguration.GetDefault();
            StandardConfigNR.LinkDirection                 = RFmxNRMXLinkDirection.Downlink;
            StandardConfigNR.DownlinkTestModel             = RFmxNRMXDownlinkTestModel.TM1_1;
            StandardConfigNR.DownlinkTestModelDuplexScheme = RFmxNRMXDownlinkTestModelDuplexScheme.Fdd;

            AcpConfigNR = SA.RFmxNR.AcpConfiguration.GetDefault();
            AcpConfigNR.NumberOfNrOffsets    = 2;
            AcpConfigNR.NumberOfUtraOffsets  = 0;
            AcpConfigNR.NumberOfEutraOffsets = 0;

            ModaccConfigNR = SA.RFmxNR.ModAccConfiguration.GetDefault();

            //Methods Configuration
            CommonConfigurationDpd = Methods.RFmxDPD.CommonConfiguration.GetDefault();
            CommonConfigurationDpd.DutAverageInputPower_dBm = SgInstrConfig.DutAverageInputPower_dBm;
            MemoryPolynomialConfiguration = Methods.RFmxDPD.MemoryPolynomialConfiguration.GetDefault();
            MemoryPolynomialConfiguration.NumberOfIterations = 1;
            EnableDpd = true;
            preDpdCrestFactorReductionConfig           = Methods.RFmxDPD.PreDpdCrestFactorReductionConfiguration.GetDefault();
            preDpdCrestFactorReductionConfig.Enabled   = RFmxSpecAnMXDpdPreDpdCfrEnabled.False;
            applyDpdCrestFactorReductionConfig         = Methods.RFmxDPD.ApplyDpdCrestFactorReductionConfiguration.GetDefault();
            applyDpdCrestFactorReductionConfig.Enabled = RFmxSpecAnMXDpdApplyDpdCfrEnabled.False;
        }
Exemple #2
0
        public void InitializeParameters()
        {
            //shared Parameters
            centerFrequency    = 1.95e9; //Hz
            resourceName       = "5840";
            filePath           = @"C:\Users\Public\Documents\National Instruments\RFIC Test Software\Waveforms\LTE_FDD_DL_1x20MHz_TM11_OS4.tdms";
            signalStringSpecan = "specanSig0";
            signalStringLte    = "lteSig0";
            resultStringSpecan = "specanResult0";
            resultStringLte    = "lteResult0";

            //Generator Configuiration
            SgInstrConfig = SG.InstrumentConfiguration.GetDefault();
            SgInstrConfig.CarrierFrequency_Hz      = centerFrequency;
            SgInstrConfig.DutAverageInputPower_dBm = -10.0;
            SgInstrConfig.ExternalAttenuation_dB   = 0;

            //Analyzer Configuration
            saInstrConfig  = SA.RFmxInstr.InstrumentConfiguration.GetDefault();
            saCommonConfig = SA.CommonConfiguration.GetDefault();
            saCommonConfig.ExternalAttenuation_dB = 0;
            saCommonConfig.CenterFrequency_Hz     = centerFrequency;
            saCommonConfig.ReferenceLevel_dBm     = 0.0;

            saAutolevelConfig         = SA.AutoLevelConfiguration.GetDefault();
            saAutolevelConfig.Enabled = true;

            AmpmConfigurationSpecAn = SA.RFmxSpecAn.AmpmConfiguration.GetDefault();

            StandardConfigLte = SA.RFmxLTE.StandardConfiguration.GetDefault();
            StandardConfigLte.LinkDirection = RFmxLteMXLinkDirection.Downlink;
            StandardConfigLte.DownlinkAutoCellIDDetectionEnabled                  = RFmxLteMXDownlinkAutoCellIDDetectionEnabled.True;
            StandardConfigLte.ComponentCarrierConfigurations[0].Bandwidth_Hz      = 20.0e6;
            StandardConfigLte.ComponentCarrierConfigurations[0].DownlinkTestModel = RFmxLteMXDownlinkTestModel.TM1_1;

            AcpConfigLte = SA.RFmxLTE.AcpConfiguration.GetDefault();

            ModaccConfigLte = SA.RFmxLTE.ModAccConfiguration.GetDefault();
            ModaccConfigLte.SynchronizationMode = RFmxLteMXModAccSynchronizationMode.Frame;

            //Methods Configuration
            CommonConfigurationDpd = Methods.RFmxDPD.CommonConfiguration.GetDefault();
            CommonConfigurationDpd.DutAverageInputPower_dBm = SgInstrConfig.DutAverageInputPower_dBm;
            MemoryPolynomialConfiguration = Methods.RFmxDPD.MemoryPolynomialConfiguration.GetDefault();
            MemoryPolynomialConfiguration.NumberOfIterations = 1;
            EnableDpd = true;
            preDpdCrestFactorReductionConfig           = Methods.RFmxDPD.PreDpdCrestFactorReductionConfiguration.GetDefault();
            preDpdCrestFactorReductionConfig.Enabled   = RFmxSpecAnMXDpdPreDpdCfrEnabled.False;
            applyDpdCrestFactorReductionConfig         = Methods.RFmxDPD.ApplyDpdCrestFactorReductionConfiguration.GetDefault();
            applyDpdCrestFactorReductionConfig.Enabled = RFmxSpecAnMXDpdApplyDpdCfrEnabled.False;
        }
Exemple #3
0
        public void InitializeParameters()
        {
            //shared Parameters
            resourceName       = "5840";
            centerFrequency    = 5.18e9; //Hz
            filePath           = @"C:\Users\Public\Documents\National Instruments\RFIC Test Software\Waveforms\80211ax_80M_MCS11.tdms";
            signalStringSpecan = "specanSig0";
            signalStringWlan   = "wlanSig0";
            resultStringSpecan = "specanResult0";
            resultStringWlan   = "wlanResult0";

            //Generator Configuration
            sgInstrConfig = InstrumentConfiguration.GetDefault();
            sgInstrConfig.CarrierFrequency_Hz      = centerFrequency;
            sgInstrConfig.DutAverageInputPower_dBm = -10.0;
            sgInstrConfig.ExternalAttenuation_dB   = 0;

            // Analyzer Configuration
            saInstrConfig  = SA.RFmxInstr.InstrumentConfiguration.GetDefault();
            saCommonConfig = SA.CommonConfiguration.GetDefault();
            saCommonConfig.ExternalAttenuation_dB = 0;
            saCommonConfig.CenterFrequency_Hz     = centerFrequency;
            saCommonConfig.ReferenceLevel_dBm     = 0.0;

            saAutolevelConfig         = SA.AutoLevelConfiguration.GetDefault();
            saAutolevelConfig.Enabled = true;

            ampmConfigurationSpecAn = SA.RFmxSpecAn.AmpmConfiguration.GetDefault();
            ampmConfigurationSpecAn.DutAverageInputPower_dBm = sgInstrConfig.DutAverageInputPower_dBm;
            // WLAN Configuration
            wlanStandardConfig = SA.RFmxWLAN.StandardConfiguration.GetDefault();
            wlanStandardConfig.ChannelBandwidth_Hz = 80e6; // Hz
            wlanStandardConfig.Standard            = RFmxWlanMXStandard.Standard802_11ax;

            modAccConfig = SA.RFmxWLAN.OFDMModAccConfiguration.GetDefault();

            semConfig = SA.RFmxWLAN.SEMConfiguration.GetDefault();

            //Methods Configuration
            commonConfigurationDpd = Methods.RFmxDPD.CommonConfiguration.GetDefault();
            commonConfigurationDpd.DutAverageInputPower_dBm = sgInstrConfig.DutAverageInputPower_dBm;
            memoryPolynomialConfiguration = Methods.RFmxDPD.MemoryPolynomialConfiguration.GetDefault();
            memoryPolynomialConfiguration.NumberOfIterations = 1;
            EnableDpd = true;
            preDpdCrestFactorReductionConfig           = Methods.RFmxDPD.PreDpdCrestFactorReductionConfiguration.GetDefault();
            preDpdCrestFactorReductionConfig.Enabled   = RFmxSpecAnMXDpdPreDpdCfrEnabled.False;
            applyDpdCrestFactorReductionConfig         = Methods.RFmxDPD.ApplyDpdCrestFactorReductionConfiguration.GetDefault();
            applyDpdCrestFactorReductionConfig.Enabled = RFmxSpecAnMXDpdApplyDpdCfrEnabled.False;
        }
Exemple #4
0
        public void InitializeParameters()
        {
            //shared Parameters
            centerFrequency    = 3.5e9; //Hz
            resourceName       = "5840";
            filePath           = @"C:\Users\Public\Documents\National Instruments\RFIC Test Software\Waveforms\LTE_FDD_UL_1x20MHz_256QAM_OS4.tdms";
            signalStringSpecan = "specanSig0";
            resultStringSpecan = "specanResult0";

            //Generator Configuiration
            SgInstrConfig = SG.InstrumentConfiguration.GetDefault();
            SgInstrConfig.CarrierFrequency_Hz      = centerFrequency;
            SgInstrConfig.DutAverageInputPower_dBm = -10.0;
            SgInstrConfig.ExternalAttenuation_dB   = 0;

            //Analyzer Configuration
            saInstrConfig  = SA.RFmxInstr.InstrumentConfiguration.GetDefault();
            saCommonConfig = SA.CommonConfiguration.GetDefault();
            saCommonConfig.ExternalAttenuation_dB = 0;
            saCommonConfig.CenterFrequency_Hz     = centerFrequency;
            saCommonConfig.ReferenceLevel_dBm     = 0.0;

            saAutolevelConfig         = SA.AutoLevelConfiguration.GetDefault();
            saAutolevelConfig.Enabled = true;

            AmpmConfigurationSpecAn = SA.RFmxSpecAn.AmpmConfiguration.GetDefault();

            TxpConfigurationSpecAn = SA.RFmxSpecAn.TxpConfiguration.GetDefault();
            TxpConfigurationSpecAn.RbwFilterType = RFmxSpecAnMXTxpRbwFilterType.None;
            TxpConfigurationSpecAn.RrcAlpha      = 0;
            AcpConfigurationSpecAn        = SA.RFmxSpecAn.AcpConfiguration.GetDefault();
            AcpConfigurationSpecAn.Rbw_Hz = 10e3;
            AcpConfigurationSpecAn.ComponentCarrierConfiguration[0].RrcFilterEnabled = RFmxSpecAnMXAcpCarrierRrcFilterEnabled.False;
            AcpConfigurationSpecAn.OffsetChannelConfiguration = new SA.RFmxSpecAn.AcpOffsetChannelConfiguration[NumberOfOffsets];

            //Define ACP offset configuration
            for (int i = 0; i < NumberOfOffsets; i++)
            {
                AcpConfigurationSpecAn.OffsetChannelConfiguration[i].Enabled  = RFmxSpecAnMXAcpOffsetEnabled.True;
                AcpConfigurationSpecAn.OffsetChannelConfiguration[i].SideBand = RFmxSpecAnMXAcpOffsetSideband.Both;
                AcpConfigurationSpecAn.OffsetChannelConfiguration[i].PowerReferenceCarrier       = RFmxSpecAnMXAcpOffsetPowerReferenceCarrier.Closest;
                AcpConfigurationSpecAn.OffsetChannelConfiguration[i].PowerReferenceSpecificIndex = 0;
                AcpConfigurationSpecAn.OffsetChannelConfiguration[i].RelativeAttenuation_dB      = 0.00;
                AcpConfigurationSpecAn.OffsetChannelConfiguration[i].RrcFilterEnabled            = RFmxSpecAnMXAcpOffsetRrcFilterEnabled.False;
                AcpConfigurationSpecAn.OffsetChannelConfiguration[i].RrcAlpha = 0.220;

                if (i == 0) //For offset 0, frequency offset = 10MHz, IBW = 9MHz
                {
                    AcpConfigurationSpecAn.OffsetChannelConfiguration[i].Frequency_Hz            = 20e6;
                    AcpConfigurationSpecAn.OffsetChannelConfiguration[i].IntegrationBandwidth_Hz = 18e6;
                }
                else if (i == 1) //For offset 1, frequency offset = 7.5MHz, IBW = 3.84MHz
                {
                    AcpConfigurationSpecAn.OffsetChannelConfiguration[i].Frequency_Hz            = 12.5e6;
                    AcpConfigurationSpecAn.OffsetChannelConfiguration[i].IntegrationBandwidth_Hz = 3.84e6;
                }
                else if (i == 2) //For offset 2, frequency offset = 12.5MHz, IBW = 3.84MHz
                {
                    AcpConfigurationSpecAn.OffsetChannelConfiguration[i].Frequency_Hz            = 17.5e6;
                    AcpConfigurationSpecAn.OffsetChannelConfiguration[i].IntegrationBandwidth_Hz = 3.84e6;
                }
            }

            //Methods Configuration
            CommonConfigurationDpd = Methods.RFmxDPD.CommonConfiguration.GetDefault();
            CommonConfigurationDpd.DutAverageInputPower_dBm = SgInstrConfig.DutAverageInputPower_dBm;
            MemoryPolynomialConfiguration = Methods.RFmxDPD.MemoryPolynomialConfiguration.GetDefault();
            MemoryPolynomialConfiguration.NumberOfIterations = 1;
            EnableDpd = true;
            preDpdCrestFactorReductionConfig           = Methods.RFmxDPD.PreDpdCrestFactorReductionConfiguration.GetDefault();
            preDpdCrestFactorReductionConfig.Enabled   = RFmxSpecAnMXDpdPreDpdCfrEnabled.False;
            applyDpdCrestFactorReductionConfig         = Methods.RFmxDPD.ApplyDpdCrestFactorReductionConfiguration.GetDefault();
            applyDpdCrestFactorReductionConfig.Enabled = RFmxSpecAnMXDpdApplyDpdCfrEnabled.False;
        }