Hi,
I am trying to read the channel power from a PXA using the commands shown in the attached file. There is quite a bit of averaging applied and the last transaction tries to read the power before the averaging is complete, resulting in the error also shown in the attached. If I insert a wait transaction before the last line that is longer than the averaging time it works ok.
I thought the *WAI command in line 11 was going to prevent the analyzer from processing more commands until the averaging sweeps were done but I must be missing something.
Any advice on how to wait until averaging is done before reading, without inserting a wait that will add unnecessary measurement time when not needed?
Thanks,
Don K.
I am trying to read the channel power from a PXA using the commands shown in the attached file. There is quite a bit of averaging applied and the last transaction tries to read the power before the averaging is complete, resulting in the error also shown in the attached. If I insert a wait transaction before the last line that is longer than the averaging time it works ok.
I thought the *WAI command in line 11 was going to prevent the analyzer from processing more commands until the averaging sweeps were done but I must be missing something.
Any advice on how to wait until averaging is done before reading, without inserting a wait that will add unnecessary measurement time when not needed?
Thanks,
Don K.
In the end, and to my abhorrence, the only way we could make the semi-automated measurements reliably was with some ugly waiting times. We contacted Keysight and they suggested 'searching the web' and looking at the examples. Surely they should know how to do these things reliably and without unnecessary wait times?
If you pursue this further and find a solid way to wait for the analyser, I'd be interested to know how you did it. Otherwise a computed wait time based on sweep time, number of sweeps to average 'plus a bit' would be a way forward.
HTH, Mike Watts