1188
Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide
36
Synchronizing Acquisitions
#
#
-
Slow, as you don't want to poll the oscilloscope too fast.
#
#
-
DOES NOT work for Equivalent time mode.
MUST use the blocking
#
method.
#
#
-
Slow
#
#
-
Does NOT work for Average Acquisition type
#
-
:SINGle does not do a complete average
#
-
It does a single acquisition as if it were in NORMal
#
acq. type
#
-
Counting triggers in :RUN is much too slow
#
#
-
Works for Segmented Memory, BUT if any post processing is done
#
on the oscilloscope, for example measurements, lister, math, as
#
this reports that the acquisition is done, which is correct,
#
BUT the processing is NOT done, and it will take an indefinite
#
amount of time to wait for that, though there is no way to tell
#
if it is done.
Use the blocking_method for Segmented Memory.
#
#
-
Can't be used effectively for synchronizing math functions
#
#
It can be done by applying an additional hard coded wait after
#
the acquisition is done.
At least 200 ms is suggested, more
#
may be required.
#
#
However, as long as the timeout is not excessively short, the
#
math happens fast enough that once :OPERegister:CONDition?
#
comes back as done that one can just wait for it when it is
#
time to pull the math waveform.
The exception would be for eye
#
or jitter mode on a 6000 X-Series oscilloscope, where the
#
processing time can be long.
#
#
-
Still need some maximum timeout (here MAX_TIME_TO_WAIT),
#
ideally, or the script will sit in the while loop forever if
#
there is no trigger event
#
#
Max timeout (here MAX_TIME_TO_WAIT) must also account for any
#
processing done (see comments on math above)
#
#
Max timeout (here MAX_TIME_TO_WAIT) must also account for time
#
to arm the scope and finish the acquisition
#
#
This arm/trigger/finish part is accounted for in the main script.
#
# How it works:
#
#
-
What really matters is the RUN bit in the Operation Condition
#
(not Event) Register.
This bit changes based on the
#
oscilloscope state.
#
#
If the oscilloscope is running, it is high (8), and low (0) if
#
it is stopped.
#
#
The only (best) way to get at this bit is with the
#
:OPERation:CONDition? query.
The Operation Condition Register
Содержание P9241
Страница 1: ...Keysight P9241 42 43A Oscilloscopes SCPI Programmer s Guide...
Страница 6: ...6 Keysight P9241 42 43A Oscilloscopes SCPI Programmer s Guide...
Страница 36: ...36 Keysight P9241 42 43A Oscilloscopes SCPI Programmer s Guide 1 What s New...
Страница 41: ...Setting Up 2 Keysight P9241 42 43A Oscilloscopes SCPI Programmer s Guide 41...
Страница 44: ...44 Keysight P9241 42 43A Oscilloscopes SCPI Programmer s Guide 2 Setting Up...
Страница 222: ...222 Keysight P9241 42 43A Oscilloscopes SCPI Programmer s Guide 7 Root Commands...
Страница 244: ...244 Keysight P9241 42 43A Oscilloscopes SCPI Programmer s Guide 8 ACQuire Commands...
Страница 256: ...256 Keysight P9241 42 43A Oscilloscopes SCPI Programmer s Guide 9 CALibrate Commands...
Страница 278: ...278 Keysight P9241 42 43A Oscilloscopes SCPI Programmer s Guide 10 CHANnel n Commands...
Страница 328: ...328 Keysight P9241 42 43A Oscilloscopes SCPI Programmer s Guide 15 EXTernal Trigger Commands...
Страница 386: ...386 Keysight P9241 42 43A Oscilloscopes SCPI Programmer s Guide 17 FUNCtion m Commands...
Страница 390: ...390 Keysight P9241 42 43A Oscilloscopes SCPI Programmer s Guide 18 HCOPY Commands...
Страница 416: ...416 Keysight P9241 42 43A Oscilloscopes SCPI Programmer s Guide 20 MARKer Commands...
Страница 498: ...498 Keysight P9241 42 43A Oscilloscopes SCPI Programmer s Guide 21 MEASure Commands...
Страница 532: ...532 Keysight P9241 42 43A Oscilloscopes SCPI Programmer s Guide 22 MTESt Commands...
Страница 572: ...572 Keysight P9241 42 43A Oscilloscopes SCPI Programmer s Guide 24 SAVE Commands...
Страница 596: ...596 Keysight P9241 42 43A Oscilloscopes SCPI Programmer s Guide 25 SBUS n Commands SBUS n A429 SOURce on page 588...
Страница 900: ...900 Keysight P9241 42 43A Oscilloscopes SCPI Programmer s Guide 28 TIMebase Commands...
Страница 1080: ...1080 Keysight P9241 42 43A Oscilloscopes SCPI Programmer s Guide 31 WGEN w Commands...
Страница 1142: ...1142 Keysight P9241 42 43A Oscilloscopes SCPI Programmer s Guide 34 Error Messages...
Страница 1204: ...1204 Keysight P9241 42 43A Oscilloscopes SCPI Programmer s Guide 37 More About Oscilloscope Commands...
Страница 1344: ...1344 Keysight P9241 42 43A Oscilloscopes SCPI Programmer s Guide Index...