Waveform:format - Agilent Technologies InfiniiVision 2000 X-Series Programmer's Manual

Oscilloscopes
Hide thumbs Also See for InfiniiVision 2000 X-Series:
Table of Contents

Advertisement

:WAVeform:FORMat

Command Syntax
:WAVeform:FORMat <value>
<value> ::= {WORD | BYTE | ASCii}
The :WAVeform:FORMat command sets the data transmission mode for
waveform data points. This command controls how the data is formatted
when sent from the oscilloscope.
• ASCii formatted data converts the internal integer data values to real
• WORD formatted data transfers 16- bit data as two bytes. The
• BYTE formatted data is transferred as 8- bit bytes.
When the :WAVeform:SOURce is the serial decode bus SBUS1, ASCii is the
only waveform format allowed.
When the :WAVeform:SOURce is one of the digital channel buses (BUS1 or
BUS2), ASCii and WORD are the only waveform formats allowed.
Query Syntax
:WAVeform:FORMat?
The :WAVeform:FORMat query returns the current output format for the
transfer of waveform data.
Return Format
<value><NL>
<value> ::= {WORD | BYTE | ASC}
See Also
Example Code
Agilent InfiniiVision 2000 X-Series Oscilloscopes Programmer's Guide
(see
page
790)
Y- axis values. Values are transferred as ASCii digits in floating point
notation, separated by commas.
ASCII formatted data is transferred ASCii text.
:WAVeform:BYTeorder command can be used to specify whether the
upper or lower byte is transmitted first. The default (no command sent)
is that the upper byte transmitted first.
"Introduction to :WAVeform Commands"
":WAVeform:BYTeorder"
":WAVeform:SOURce"
":WAVeform:DATA"
on page 637
":WAVeform:PREamble"
"Example Code"
on page 650
on page 629
on page 635
on page 649
on page 644
30
:WAVeform Commands
639

Advertisement

Table of Contents
loading

Table of Contents