16-33
IM 765601-01E
Communication Commands
3
2
1
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
App
Index
16.2.9 Store/Recall Commands (TRACe Group)
:TRACe[:STATe]/?
Function Turns ON/OFF the storage function or queries the
current setting.
Syntax
:TRACe[:STATe] 1|0|ON|OFF
1 or ON
Starts the storage operation.
0 or OFF
Stops the storage operation.
:TRACe[:STATe]?
→ 1 Storage operation in progress.
→ 0 Storage operation not in progress.
Example
:TRAC:STAT ON
:TRAC 0
:TRAC:STAT?
:TRACe:BINary:REPLy/?
Function Sets/queries the type of stored data.
Syntax
:TRACe:BINary:REPLy BINary|ASCii
BINary Selects binary.
ASCii Selects ASCII.
:TRACe:BINary:REPLy?
→BIN The current type is binary
→ASC The current type is ASCII
Example
:TRAC:BIN:REPL BIN
:TRAC:BIN:REPL?
Description When the data format of stored data is set to
binary, and the stored data type is set to binary, the
response to the
:TRAC:CHAN<n>:DATA:READ?
command is the data string when in binary format.
When the data format of stored data is set to
binary, and the stored data type is set to ASCII, the
response to the
:TRAC:CHAN<n>:DATA:READ?
command is the text string when TEXT is
specified.
:TRACe:FILE:CREate/?
Function Turns ON/OFF the result file generation function
or queries the current setting.
Syntax
:TRACe:FILE:CREate 1|0|ON|OFF
1 or ON
Turns the result file generation
function ON.
0 or OFF
Turns the result file generation
function OFF.
:TRACe:FILE:CREate?
→ 1 The result file generation function is ON.
→ 0 The result file generation function is OFF.
Example
:TRAC:FILE:CRE ON
:TRAC:FILE:CRE 0
:TRAC:FILE:CRE?
:TRACe:POINts/?
Function Sets the storage count or queries the current
setting.
Syntax
:TRACe:POINts
<integer>|MINimum|MAXimum
<integer>
Specify any storage count.
MINimum Sets the minimum value (= 1).
MAXimum Sets the maximum value (= 100000).
:TRACe:POINts?
→ <integer> The present storage count.
Example
:TRAC:POIN MAX
:TRAC:POIN 1000
:TRAC:POIN?
:TRACe:CHANnel<n>:ACTual?
Function Queries the actual number of stored points.
Syntax
:TRACe:CHANnel<n>:ACTual?
→ <integer> The actual number of stored points.
Example
:TRAC:CHAN2:ACT?
:TRACe:CHANnel<n>:DATA:FORMat/?
Function Sets the read data format (ASCII or binary) of the
stored data or queries the current setting.
Syntax
:TRACe:CHANnel<n>:DATA:FORMat
ASCii|BINary
ASCii ASCII format.
BINary Binary format.
:TRACe:CHANnel<n>:DATA:FORMat?
→ ASC Set to ASCII format.
→ BIN Set to binary format.
Example
:TRAC:CHAN1:DATA:FORM BIN
:TRAC:CHAN1:DATA:FORM?
:TRACe:CHANnel<n>:DATA:ENDian/?
Function Sets the byte order (Little or Big) used to read
the stored results for binary format or queries the
current setting.
Syntax
:TRACe:CHANnel<n>:DATA:ENDian
LITTle|BIG
LITTle Sets the byte order of the binary format to
Little Endian.
BIG Sets the byte order of the binary format to
Big Endian.
:TRACe:CHANnel<n>:DATA:ENDian?
→ LITT Set to Little Endian.
→ BIG Set to Big Endian.
Example
:TRAC:CHAN1:DATA:END LITT
:TRAC:CHAN1:DATA:END?
16.2 Commands