Cannot get ACPR/ Channel measurements data from spectrumAnalyzer object

3 vues (au cours des 30 derniers jours)
Mason Huynh
Mason Huynh le 6 Août 2022
Modifié(e) : Mason Huynh le 6 Août 2022
I want to extract the ACPR data from the spectrumAnalyzer object, by using getmeasurementsdata. However, I want to grab the ACPR, but the grabbed data is always Occupied BW. Windows showed:
But grabbed data showed:
which is the occupied BW:
Code:
scope = spectrumAnalyzer(SampleRate=122880000, ...
MeasurementChannel=1, ...
ShowLegend=true, ...
ChannelNames={'Input','Output woDPD - Simulated','Output woDPD - Measured', 'Output wDPD'}, ...
YLimits=[-100 0]);
% Channel Measurements Configuration
scope.ChannelMeasurements.Algorithm = 'ACPR';
scope.ChannelMeasurements.Span = 18.36e6;
scope.ChannelMeasurements.AdjacentBW = 18.36e6;
scope.ChannelMeasurements.ACPROffsets = [20000000 40000000];
scope.ChannelMeasurements.Enabled = true;
scope.PlotAsTwoSidedSpectrum = true;
scope.ReferenceLoad = 1;
scope(randn(100000,1))
Error using matlab.internal.lang.capability.Capability.require
This functionality is not available on remote platforms.

Error in matlab.internal.webwindow (line 161)
Capability.require(Capability.WebWindow);

Error in matlabshared.scopes.WebWindow/show (line 77)
hWebWindow = matlab.internal.webwindow(URL,matlab.internal.getDebugPort, ...

Error in dsp.webscopes.internal.BaseWebScope/show

Error in dsp.webscopes.internal.BaseWebScope/setup

Error in dsp.webscopes.internal.BaseWebScope/step

Error in ()
data = getMeasurementsData(scope,'all');

Réponses (0)

Produits


Version

R2022a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by