User manual

Table Of Contents
3152B User Manual Publication No. 980935 Rev. M
5-54 Programming Reference Astronics Test Systems
Transfer of definite length arbitrary block data must terminate with the EOI bit set. This way, carriage-return
(CR
0DH) and line feed (LF 0AH) characters can
be used as waveform data points and will not cause
unexpected termination of the arbitrary block data.
<binary_block> Waveform data
The waveform data is made of 16
-bit words,
however, programmers may choose to prepare the data in two
bytes and arrange
to download these two bytes in a sequence. Figure 5-
2 shows a waveform word that is
acceptable for the 3152B. There are a number of points you should be aware of before you start preparing the
data:
1. Waveform data points have 16-bit values - 0x0000 to 0xFFFF
2. Data point range is 0 to 65,535 decimal for the 3152B and 0 to 4095 decimal for 3152A emulation.
0x0000 correspond to -8 V and 0xFFFF corresponds to +8V (0xFFF corresponds to +8 V for 3152A
emulation).
3. 3152B data point data point 65,535 corresponds to full-scale amplitude setting. Point 32768 (point 2048
for the legacy 3152A) corresponds to the 0 V amplitude setting.
Figure 5
-2 shows how to initially prepare the 16-bit word for a waveform data point. Figure 5-
3 shows how
legacy 3152A waveform data poin
t was represented.
D7
D6
D5
D4
D3
D2
D1
D0
high-byte
D8
D9
D10
D11
D12
D13
D14
D15
MSB
LSB
low-byte
Figure 5-2, 3152B 16-bit Waveform Data Point Representation
D7
D6
D5
D4
D3
D2
D1
D0
high-byte
D8
D9
D10
D11
X
X
X
X
MSB
LSB
low-byte
Figure 5-3, 3152A 12-bit Waveform Data Point Representation
Parameters
Name
Type
Description
<header>
Discrete
Contains information on the size of the binary block that
contains waveform
data.
<binary_block>
Binary
Block of binary data that contains
waveform data po
ints
as explained above.