function runOFDMScopes( scopeArrayPilot, scopeArrayPreamble,scopeSpect,...
                         scopeConstPre, scopeConstPost, scopeArrayFreqEst,...
                         buffer,  REqualized, Rraw, estimate )
%

%   Copyright 2013-2020 The MathWorks, Inc.
        
% Spectrum Analyzer
scopeSpect(buffer);

% Constellations
subcarrier = 1; % Select subcarrier to view from OFDM symbol
scopeConstPre(Rraw(subcarrier,:).'./mean(abs(Rraw(subcarrier,:).')));%Constellation of Pre-Equalized Signal
scopeConstPost(REqualized(subcarrier,:).'./mean(abs(REqualized(subcarrier,:).'))); %Constellation of Post-Equalized Signal

% Frequency Estimate
%ScopehArrayFreqEst.YLimits = [min(estimate.frequencyMA) max(estimate.frequencyMA)];
scopeArrayFreqEst(estimate.frequencyMA);

% Equalizers
subcarrier = 1; % Select subcarrier to view from OFDM symbol
scopeArrayPreamble(estimate.preambleEqGains);
scopeArrayPilot(estimate.pilotEqGains(:,subcarrier));

% Show recovered message
if estimate.printReceivedData
    disp(['MSG: ', estimate.message.']);
end

end

