I can't seem to figure out configure the 53230A for gap-free, continuous, ongoing measurement. Either I have to use "READ?" in a loop, which has a ~300ms gap, or have to specify a sample number (which is finite). Is there a command for setting the counter for infinite measurement (with a given gating time) and use R? or DATA:REM? to get transfer the values to the computer?
I am trying to accomplish the same thing. I have set up math functions through the CALCulate commands but would then like the counter to run continously to accumilate statistics for a period of time, then stop and read the stats throug the ALL query. I have set up a sequence in command expert for now but still have not achived contiuous measurement.
I'm looking to do the same thing with my new 53230A: make continuous time-gated frequency measurements indefinitely and read the data off the unit periodically to avoid memory overflows. I've tried using the SENS:FREQ:MODE CONT command followed by an INIT:IMM but it seems to just return one measurement and then stop. What am I missing? Anyone have a working program I can crib?
I noticed an unexpected interuption of the measurement after about 1 second. Turning of the system timeout worked for me:
SYSTEM:TIMEOUT INF #or a sensible value
SAMPLE:COUNT 100 # the number of measurements to take
SENSE:FREQUENCY:MODE CONT #or RCON (not documented, for continuous measurements in reciprocal mode, firmware >1.10)
SENSE:FREQUENCY:GATE:TIME 1.0 #or another desired gate time
R? #repeat until all measurements are read
The difference between CONT and RCON is that CONT measures in resolution enhanced mode (Lambda-averaging), and gives you a modified allan deviation (MDEV) statistic for the selected gate time, while RCON is measuring in reciprocal mode (Pi-averaging) and gives a normal allan deviation (ADEV).