1186
Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide
36
Synchronizing Acquisitions
#
# How it works:
#
#
-
The :DIGitize command is a blocking command, and thus, all
#
other SCPI commands are blocked until :DIGitize is completely
#
done.
This includes any subsequent processing that is already
#
set up, such as math and measurements.
#
#
KEY POINT: However, :DIGitize does not prevent additional
#
commands from being sent to the queue or cause the remote
#
program to wait.
For example, if your program does something
#
like:
#
#
KsInfiniiVisionX.write(":DIGitize")
#
print("Signal acquired.\n")
#
#
The "Signal acquired" message will be written immediately
#
after the :DIGitize is sent, not after the acquisition and
#
processing is complete.
#
#
To pause the program until the :DIGitize is complete, you must
#
wait for a query result after the :DIGitize.
For example, in
#
this case:
#
#
query_result = KsInfiniiVisionX.query(":DIGitize;*OPC?")
#
print("Signal acquired.\n")
#
#
The "Signal acquired" message will be written after the
#
acquisition and processing is complete.
The *OPC? query is
#
appended to :DIGitize with a semi-colon (;), which
#
essentially ties it to the same thread in the parser. It is
#
immediately dealt with once :DIGitize finishes and gives a "1"
#
back to the program (whether the program uses it or not),
#
allowing the program to move on.
#
# Other Notes:
#
#
-
If you DO NOT know when a trigger will occur, you should set a
#
very long timeout.
#
#
-
The timeout should be adjusted before and after the :DIGitize
#
operation, though this is not absolutely required.
#
#
-
A :DIGitize can be aborted with a device clear, which also
#
stops the oscilloscope:
#
KsInfiniiVisionX.clear()
#
#
-
:DIGItize disables the anti-aliasing feature (sample rate
#
dither) on all InfiniiVision and InfiniiVision X-Series
#
oscilloscopes.
#
#
-
:DIGitize temporarily blocks the front panel, and all front
#
panel presses are queued until :DIGitize is done.
So if you
#
change the vertical scale, it will not happen until the
#
acquisition is done.
#
#
The exception is that the Run/Stop button on the front panel
Содержание 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...