68
AT4610/AT4710 User’s Guide
11.10.4
LOG:DISP
LOG:DISP Is used for switching to LOG display.
Command syntax
LOG:DISP {WAVE+VALUE,WAVE,VALUE}
Parameter
there
,
WAVE+VALUE combine display of graph and value
WAVE
only display graph
VALUE
display that highlight value
Example
SEND
> LOG:DISP WAVE
<NL>
Query syntax
LOG:DISP?
Query response
{WAVE+VALUE,WAVE,VALUE}
This command is only valid in <DATALOG> page.
This command needs to restore graph, and it takes longer time, please process next command after
receiving identification code.
11.10.5
LOG:FETCH?
LOG:FETCH? Is used for acquiring logging data, return data according to an appointed buffer.
Query syntax
LOG:FETCH? <start data pointer>,<data total line number>
or
LOG:FETC?
<start data pointer>,<data total line number>
Parameter
there
,
<
Start data pointer
>: data pointer is corresponding to data buffer’s serial number, after
begin logging, it will be writing in data from buffer 0, data pointer=0. Under 1s sampling rate,
one buffer corresponds to 1s; under 500ms sampling rate, one buffer corresponds to 500ms,
means 1s consist of two buffers. The calculation formula of buffer pointer corresponding to
relative time is as following:
Data pointer (integer) = time (s) / sampling rate(s)
Example
:
when sampling rate is 500ms
,
request data pointer at 10s
:
10s’s
data pointer
= 10s/0.5s = 20
Example
:
when sampling rate is 5s
,
request data pointer at 2s
:
2s’s
data pointer
= 2s/5s = 0
Query response
#<total line number>,$<time>,<CH data>
……
< CH10 data>,$<next time>,< CH1 data>,
……
There,
# start character
Valid line number returned by <total line number>, if appointed line number exceeds actual
buffer number
,
it will return actual line number.
$ data start character
<Time> is current relative time, marked by scientific notation.
<Channel Data> marked by scientific notation. 1E9 means overflow, 1E10 means open
circuit.
Example
SEND> LOG:FETC? 0,2
<NL>
//begin acquire 2 groups’ data from buffer 0.
RET>
#2
,
$0.000000
,+1.010,+1.010,+1.010,+1.010,+1.0
10,+1.010,+1.010,+1.010,+1.010,+1.010,
$5.000000000e-0
01
,+1.010,+1.010,+1.010,+1.010,+1.010,+1.010,+
1.010,+1.010,+1.010,+1.010,
<NL>
SEND> LOG:FETC? 2,2
<NL>
// begin acquire 2 groups’ data from buffer 2.
RET>
#2,$1.000000
,+9.38435e-002,+1.46542e-002,-5.36098e-002,-1.56517e-002,+7.65038e-0
03,-4.01554e-002,+1.81522e-002,+4.81033e-003,+9.83810e-003,+6.16875e-002,
$1.5000
00
,+2.13394e-002,+4.80328e-002,+2.39658e-002,+5.41573e-002,+3.24955e-002,+5.61237e-002,+
1.04027e-002,+4.57363e-002,+2.02484e-002,+1.57623e-002,
<NL>
This command is only valid in <DATALOG> page.
Due to there are 2,000,000 group data for instrument’s buffer, the data that exceeds buffer will rewind to
buffer start, the earliest data will be covered. If buffer has rewound, start data pointer will point to
previous position, and it will return E9 (invalid parameter).
If the appointed data pointer > current pointer, it will return E9 (invalid parameter).
Every time command acquires all channels’ data, if returns data 1E9, this means overflow, 1E10 means