![Agilent Technologies Infiniium 90000 Q-Series Programmer'S Manual Download Page 78](http://html1.mh-extra.com/html/agilent-technologies/infiniium-90000-q-series/infiniium-90000-q-series_programmers-manual_2868674078.webp)
78
Agilent Infiniium 90000 Series Oscilloscopes Programmer's Reference
3
Introduction to Programming
Using the DIGITIZE Command
The DIGITIZE command is a macro that captures data using the
acquisition (ACQUIRE) subsystem. When the digitize process is complete,
the acquisition is stopped. You can measure the captured data by using
the oscilloscope or by transferring the data to a computer for further
analysis. The captured data consists of two parts: the preamble and the
waveform data record.
After changing the oscilloscope configuration, the waveform buffers are
cleared. Before doing a measurement, you should send the DIGITIZE
command to ensure new data has been collected.
You can send the DIGITIZE command with no parameters for a higher
throughput. Refer to the DIGITIZE command in
Chapter 27
, “Root Level
Commands,” starting on page 703 for details.
When the DIGITIZE command is sent to an oscilloscope, the specified
channel's waveform is digitized using the current ACQUIRE parameters.
Before sending the :WAVEFORM:DATA? query to download waveform data
to your computer, you should specify the WAVEFORM parameters.
The number of data points comprising a waveform varies according to the
number requested in the ACQUIRE subsystem. The ACQUIRE subsystem
determines the number of data points, type of acquisition, and number of
averages used by the DIGITIZE command. This lets you specify exactly
what the digitized information contains. The following program example
shows a typical setup:
myScope.WriteString ":SYSTEM:HEADER OFF"
myScope.WriteString ":ACQUIRE:MODE RTIME"
myScope.WriteString ":ACQUIRE:COMPLETE 100"
myScope.WriteString ":WAVEFORM:SOURCE CHANNEL1"
myScope.WriteString ":WAVEFORM:FORMAT BYTE"
myScope.WriteString ":ACQUIRE:COUNT 8"
myScope.WriteString ":ACQUIRE:POINTS 500"
myScope.WriteString ":DIGITIZE CHANNEL1"
myScope.WriteString ":WAVEFORM:DATA?"
This setup places the oscilloscope into the real time sampling mode using
eight averages. This means that when the DIGITIZE command is received,
the command will execute until the waveform has been averaged at least
eight times.
After receiving the :WAVEFORM:DATA? query, the oscilloscope will start
downloading the waveform information.
Digitized waveforms are passed from the oscilloscope to the computer by
sending a numerical representation of each digitized point. The format of
the numerical representation is controlled by using the
:WAVEFORM:FORMAT command and may be selected as BYTE, WORD, or
ASCII.
Summary of Contents for Infiniium 90000 Q-Series
Page 1: ...s1 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference...
Page 50: ...50 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 2 Setting Up...
Page 274: ...274 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 14 Digital Commands...
Page 292: ...292 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 15 Disk Commands...
Page 318: ...318 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 16 Display Commands...
Page 364: ...364 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 17 Function Commands...
Page 382: ...382 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 19 Histogram Commands...
Page 412: ...412 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 21 Limit Test Commands...
Page 416: ...416 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 22 Lister Commands...
Page 696: ...696 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 25 Measure Commands...
Page 702: ...702 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 26 Pod Commands...
Page 760: ...760 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 29 Self Test Commands...
Page 818: ...818 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 31 System Commands...
Page 830: ...830 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 32 Time Base Commands...
Page 930: ...930 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 33 Trigger Commands...
Page 1018: ...1018 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 37 Error Messages...
Page 1150: ...1150 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 38 Sample Programs...
Page 1186: ...1186 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference Index...