I have PSA E4440A (3Hz - 26.5 GHz). I have an automation routine using VEE which does spectrum measurements well.
All I am trying to do is make basic tone measurements, I set RBW and VBW = 3KHz and Span to 100kHz and for all the frequencies that I want to measure the tone at, I move the center frequency, clear the average and read data back, here's the code
"FREQ:CENT "+CENT_FREQ+" Hz"
"AVER:COUN "+avg
"CALC:MARK1:X "+CENT_FREQ
"AVER:CLE"
"*OPC?"
---wait to hear back from SA ----
"CALC:MARK:MAX"
---wait 100mS
"CALC:MARK:Y?"
---wait 100mS
---Read Returned Data
I have similar code for Rhode FSQ/FSU etc and it takes much less time than PSA does so I wondering if there are any techniques to improve the speed. I do have the display turned off but still not much improvement.
Another problem is if I try to run this code fast without any delays, the PSA kinda ignores few command and I do not get correct readings. Hence I have to add the delays and increase the average count too.
Any suggestions would be helpful.
All I am trying to do is make basic tone measurements, I set RBW and VBW = 3KHz and Span to 100kHz and for all the frequencies that I want to measure the tone at, I move the center frequency, clear the average and read data back, here's the code
"FREQ:CENT "+CENT_FREQ+" Hz"
"AVER:COUN "+avg
"CALC:MARK1:X "+CENT_FREQ
"AVER:CLE"
"*OPC?"
---wait to hear back from SA ----
"CALC:MARK:MAX"
---wait 100mS
"CALC:MARK:Y?"
---wait 100mS
---Read Returned Data
I have similar code for Rhode FSQ/FSU etc and it takes much less time than PSA does so I wondering if there are any techniques to improve the speed. I do have the display turned off but still not much improvement.
Another problem is if I try to run this code fast without any delays, the PSA kinda ignores few command and I do not get correct readings. Hence I have to add the delays and increase the average count too.
Any suggestions would be helpful.
It might be appropriate to comment that it is important for you to keep your PSA upgraded to current firmware. Each firmware release makes both improvements in the performance of existing features but also often adds new features to the instrument. You can find the current firmware for your PSA at www.agilent.com by searching using the model number of your instrument.
bwr