Waveform:data - Agilent Technologies InfiniiVision 5000 Series Programmer's Manual

Hide thumbs Also See for InfiniiVision 5000 Series:
Table of Contents

Advertisement

:WAVeform:DATA

Query Syntax
:WAVeform:DATA?
The :WAVeform:DATA query returns the binary block of sampled data
points transmitted using the IEEE 488.2 arbitrary block data format. The
binary data is formatted according to the settings of the
:WAVeform:UNSigned, :WAVeform:BYTeorder, :WAVeform:FORMat, and
:WAVeform:SOURce commands. The number of points returned is
controlled by the :WAVeform:POINts command.
In BYTE or WORD waveform formats, these data values have special
meaning:
• 0x00 or 0x0000 — Hole. Holes are locations where data has not yet been
• 0x01 or 0x0001 — Clipped low. These are locations where the waveform
• 0xFF or 0xFFFF — Clipped high. These are locations where the
Return Format
<binary block data><NL>
See Also
Example Code
Agilent InfiniiVision 5000 Series Oscilloscopes Programmer's Guide
(see
page
658)
acquired. Holes can be reasonably expected in the equivalent time
acquisition mode (especially at slower horizontal sweep speeds when
measuring low frequency signals).
Another situation where there can be zeros in the data, incorrectly, is
when programming over telnet port 5024. Port 5024 provides a
command prompt and is intended for ASCII transfers. Use telnet port
5025 instead.
is clipped at the bottom of the oscilloscope display.
waveform is clipped at the top of the oscilloscope display.
"Introduction to :WAVeform Commands"
":WAVeform:UNSigned"
":WAVeform:BYTeorder"
":WAVeform:FORMat"
":WAVeform:POINts"
on page 512
":WAVeform:PREamble"
":WAVeform:SOURce"
":WAVeform:TYPE"
on page 526
' QUERY_WAVE_DATA - Outputs waveform data that is stored in a buffer.
' Query the oscilloscope for the waveform data.
myScope.WriteString ":WAV:DATA?"
' READ_WAVE_DATA - The wave data consists of two parts: the header,
' and the actual waveform data followed by a new line (NL) character.
' The query data has the following format:
on page 502
on page 527
on page 507
on page 511
on page 516
on page 521
Commands by Subsystem
5
509

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents