AnsweredAssumed Answered

Capture screen image from Spectrum analyzer E4440A with matlab?

Question asked by vincent001 on Mar 16, 2015
Latest reply on Mar 17, 2015 by vincent001
Hi,
I would like to capture the screen image of the spectrum analyzer with exact trace, units, scale, etc... e.g. how it looks on the equipment.
Is it possible to do this with matlab? Here is my script to setup. the last command ':MMEM...' was used to capture the screen but it did not work.
V-
---------------------------

clear all;

mxa_ip = '157.235.92.18';
mxa_port = 5025;
mxa = tcpip(mxa_ip,mxa_port);

fopen(mxa);
idn=query(mxa,'*IDN?')
fprintf('Hello from %s ', idn);

% SET START AND STOP FREQUENCY
fprintf(mxa,':FREQ:START 2412 MHz');
fprintf(mxa,':FREQ:STOP 2472 MHz');
% SET RBW TO 300KHZ
fprintf(mxa,':BAND:RES 1000 KHz');

% SET VBW TO 300KHZ
fprintf(mxa,':BAND:VID 30 KHz');

% saving picture
fprintf(mxa,':MMEM:STOR:SCR C:\Users\Administrator\Desktop\test.gif');

fclose(mxa);  

Outcomes