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
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
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.
Push the Help hardkey followed by any other key on the front panel or the softkey to get help on that key. The help information contains the SCPI command among many other things.
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.
The easiest option is to save the State file (:MMEM:STOR:STATE command) and then recall the state file (:MMEM:LOAD:STATE command) at a later time. C
Your help is much appreciated. Thanks in advance!
Best regards,
Paul