12
3-2-5.:ACQuire<X>:MEMory
Query
Description
Returns the total waveform data in the acquisition
memory.
Syntax
< Long >
< Short >
:acquire<X>:memory?
:acq<X>:mem?
Parameter
<X>
Channel
1/2
Channel1/2
Example
:acquire1:memory?
Returns the channel 1
waveform data.
Data format
Six data elements are concatenated to form one
data string.
# A
B
C D
E
F
A: Data size digit
B: Data size
C: Time interval
D: Channel indicator
E: Reserved data
F: Waveform data
# (1 byte)
The start of data transfer. The value is 0X23
(“#” in ASCII code).
Data size digit (1 bytes)
Indicates the number of digits used for the data
string that follows. The data size digit is always 4.
Data size (4 bytes)
Indicates the data size. The data size is always
8008 (4000 points per channel).
8 bytes are total of Time interval, Channel indicator,
and Reserved data.
Time interval (4 bytes)
Indicates the time interval between two adjacent
sampling points in the floating point format,
compatible with IEEE 754 standards.
Note: The data is sorted in the little-endian format.
Channel indicator (1 byte)
Indicates the channel, 1 (0X01) or 2 (0X02).
Reserved data (3 bytes)
An unused data block, 3 bytes.
Waveform data (8000 bytes)
The waveform data comprised of 4000 data points.
Each point is made up of 2 bytes (16 bits),
two's
complement,
high byte (MSB) first.