I'm trying to get the current average count on a N9010A spectrum analyzer. My aim is to poll over ethernet once a second and then when the average is complete - i.e. 100 averages then save the data. I just cannot find the command to read what the current average number is (K).
Hello tweekzilla,
Retrieving the number of averages currently acquired towards your hold number is not currently supported. However, you could set the analyzer to trace averaging in single sweep mode, use the following SCPI commands to start the 100 average sweep and wait for the Operation Complete bit to be returned:
:init:imm;*OPC?
and then take your measurement when this returns 1. This way, your process can be automated without polling.
For more information on SCPI commands, refer to the built-in help files on your instrument (or download to your PC from here).