APPENDIX B
THE WAVEFORM
TEMPLATE
This is the response of the instrument to a command of the form
TMPL?
TMPL "
/00
000000
LECROY 2 1: TEMPLATE
8 68 i09
; Explanation of the formats of waveforms and their descriptors on the
; LeCroy Digital Oscilloscopes,
Software Release 41.1.1.2, 90/10/04.
; A descriptor and/or a waveform consists of one or several logical data blocks
: whose formats are explained below.
; Usually, complete waveforms are read: at the minimum they consist of
the basic descriptor block WAVEDESC
a data array block.
; Some more complex waveforms, e.g. Extrema data or the results of a Fourier
; transform, may contain several data array blocks.
; when there are more blocks, they are in the following sequence:
the basic descriptor block WAVEDESC
the history text descriptor block USERTEXT (may or may not be present)
the time array block (for RIS and sequence acquisitions only)
data array block
auxiliary or second data array block
; With the exception of the data and time arrays, every block starts with
; an 8-character name which identifies which kind of block it is.
; In the following explanation, every element of a block is described by a
; single line in the form
; <byte position> <variable name>: <variable type> ; <comment>
where
<byte position> = position in bytes (decimal offset) of the variable,
relative to the beginning of the block.
<variable name> = name of the variable.
;
<variable type> = string
up to 16-character name
;
terminated with a null byte
;
byte 8-bit signed data value
2O5