AnsweredAssumed Answered

how to : 1) acquire scpi code, and 2) capture device state?

Question asked by pfjgeraedts on May 8, 2010
Latest reply on May 13, 2010 by mukta2008
Hello,

I just set up my measurement setup in Matlab, i.e. I'm able to send and receive SCPI over both GPIB and LAN.

I've still got 2 question related to controlling Agilent instruments in general and the Agilent's E4440A spectrum analyzer in specific:

1) If I use the instruments front panel buttons to set the instrument, I want to readout the corresponding SCPI commands to send to the instrument so I can send that/those command(s) to the instrument next time automatically. => I'm basically looking for an interactive mode similar to that in TCL software so I can get my Matlab scripting up-and-running quickely without have to read through all those huge manuals.

2) Before I shutdown the instrument, I want to capture the intrument's full state so I can set that state again the next time I start measuring. => I'm basically looking for a long list of commands to read from the device that, if send back, brings the instrument in the exact same state.

Your help is much appreciated. Thanks in advance!

Best regards,

Paul  

Outcomes