User manual

WaveAce Remote Control
66
920836 Rev A
Appendix: Waveform Template
This section contains the Waveform Template describing the contents of the Waveform
Descriptor produced by WF? DESC and WF? ALL queries. After the template, explanations detail
the construction of floating point numbers from bytes in the descriptor, followed by program
fragments showing a method of performing calculations.
Wave Descriptor Block WAVEDESC; Explanation
< 0> DESCRIPTOR_NAME: string ; the first 8 chars are always WAVEDESC
;
< 16> TEMPLATE_NAME: string
;
< 32> COMM_TYPE: enum ; chosen by remote command COMM_FORMAT
_0 byte
_1 word
endenum
;
< 34> COMM_ORDER: enum
_0 HIFIRST
_1 LOFIRST
endenum
;
;
; The following variables of this basic wave descriptor block specify
; the block lengths of all blocks of which the entire waveform (as it
is
; currently being read) is composed. If a block length is zero, this
; block is (currently) not present.
;
; Blocks and arrays that are present will be found in the same order
; as their descriptions below.
;
;BLOCKS :
;
< 36> WAVE_DESCRIPTOR: long ; length in bytes of block WAVEDESC
< 40> USER_TEXT: long ; length in bytes of block USERTEXT
< 44> RES_DESC1: long ;