|
Hi,
"You can query the data before the sweep completes, but you have no idea how much (if any) of the returned data will reflect the results of the current sweep. For example:
INIT:IMM CALC:DATA:FDATa?
Will likely return an array with some data from the just-started sweep, and some data from the last sweep. Using *OPC? or *WAI will fix this problem:
INIT:IMM *WAI CALC:DATA:FDATa?
All this is because INIT:IMM is defined as an 'overlapped' SCPI operation, meaning that the SCPI parser will continue parsing new commands while INIT:IMM is still running (those new operations are overlapped (in time) with the INIT:IMM operation)."
Regards, Afsi
|