Hello,
sometimes the PSA performs automatic alignment, i do not know what cause it but it seems PSA stops everything during the alignment. My problem is the alignment makes my remote control software dead to no response when sending SCPI command or taking weep for measurements.
what is the solution for this problem?
do i have to query the PSA status before sending any SPCI command? How do i know the alignment has been completed(SCPI over GPIB)?
Thanks,
lgfcs
sometimes the PSA performs automatic alignment, i do not know what cause it but it seems PSA stops everything during the alignment. My problem is the alignment makes my remote control software dead to no response when sending SCPI command or taking weep for measurements.
what is the solution for this problem?
do i have to query the PSA status before sending any SPCI command? How do i know the alignment has been completed(SCPI over GPIB)?
Thanks,
lgfcs
When using the PSA remotely for automated test, it is recommended to set the auto-alignments to “Alert” instead of to “On”. In-between test sequences (perhaps every ten minutes or so) the automated test can query to see if the analyzer needs to run its alignments and then run them at that time. Alternatively, if a test sequence is going to be really long, you can simply run the alignments before starting the test sequence. The SCPI command to run the alignments and to return a “1” when the alignments are finished is “CAL:ALL?” The sequence to set the auto-alignments to alert and query to see if they need to be run is:
CAL:AUTO ALERT
STAT:QUES:CAL:COND?
(if bit 14 – value 16384 is returned then you know to run alignments)
CALL:ALL?
We have an example program for running alignments and polling to see when they are complete here:
www.agilent.com/find/sa_programming
The PSA needs its alignments run every 24 hours or if the instrument temperature changes by 3 degrees C.
Glad we could help.