Instrument memory (MEMory)


Outputs data from memory. (ASCII)

Syntax

(Query)


:MEMory:ADATa? A

(Response)

B1,B2,...<NR1>(Wave Calc Result = <NR3>)

A = 1 to 2000(amount of output data)
Bi = -32768 to 32767(Analog)
Bi = 0 to 1000000000(Count, Revolve)
Bi = 0 to 255(Logic, Alarm)
Bi = Wave Calc Result(Wave Calc)

Details

The number of data values specified by A are output from the memory channel and point set by the :MEMory:APOINt.
The output point is incremented by the number of data values.

Use the following formula to convert analog data values to physical quantities.
physical quantities = (data value) × (voltage range) / (number of data per range)

The number of data per range is shown in the table below.

Unit Mode Number of data per range
*The number of data from
0V to 1V in the 1V range
U8550/LR8530
U8552/LR8532
Voltage/Temp unit
30Ch Voltage/Temp unit
Voltage(All range) *1-5V is the same as 10V 20000
Thermocouple(100°C range) 10000
Thermocouple(500°C range) 10000
Thermocouple(2000°C range) 20000
Humidity(100%) 1000
U8551/LR8531 Universal unit Voltage(All range) *1-5V is the same as 10V 20000
Thermocouple(100°C range) 10000
Thermocouple(500°C range) 10000
Thermocouple(2000°C range) 20000
Humidity(100%) 1000
RTD(100°C range) 10000
RTD(500°C range) 10000
RTD(2000°C range) 20000
Resistance(All range) 20000
U8553/LR8533 High speed voltage unit Voltage(All range) *1-5V is the same as 10V 20000
U8554/LR8534 Strain unit Voltage(All range) 20000
Strain 20000

Count, Wave Calc returns a measurement value.

The number of revolutions can be calculated by dividing the data value by the number of pulses per revolution set in :UNIT:PCOUnt.
revolutions = data value / number of pulses per revolution

The logic/alarm channel returns an integer representation of all channels (8 bits).
(Output from the bottom bit to channel 1, channel 2...)

Example

:MEMory:APOINt CH1_1,0
:MEMory:ADATa? 10
(Response)  :MEMORY:ADATA 3176,3176,3176,3186,3186,3186,3186,3186,3198,3198  (when headers are enabled)

Note

The correspondence between the value of A and the main unit notation is as follows.

Value of A Main unit notation
32767 +OVER
32768 -OVER
32766 BURNOUT
32765 NODATA
When recording 1,000,000 points data, the time required to send the command ":MEMory:ADATa? 2000" 500 times is about 12 seconds.
(Running Microsoft Windows 10 Pro (Ver 1903) on a Intel(R) i7-9700F 3.00GHz CPU and 16 GB RAM).
Please note that these values are for reference only, and depend on the actual data transfer speed of the LAN connection.

Usage
Conditions

The output point must be set to :MEMory:POINt.
Provided that the output point is lower than the amount of data stored.
Provided that stored data is present.




Output hold data. (ASCII)

Syntax

(Query)


:MEMory:AFETch? ch$

(Response)

A<NR1>(Wave Calc Result = <NR3>)

ch$ = , , LOG, ALARM,
A = -32768 to 32767(Analog)
A = 0 to 1000000000(Count, Revolve)
A = 0 to 255(Logic, Alarm)
A = Wave Calc Result(Wave Calc)

Details

Returns the value of the channel specified by ch$ from the hold data captured by the :MEMory:GETReal.
The relationship between the returned data value and the measured value is same as :MEMory:ADATa?.

Example

:MEMory:GETReal
:MEMory:AFETch? CH1_1
(Response)  :MEMORY:AFETCH 3176  (when headers are enabled)

Note

If you have not run the :MEMory:GETReal before this command, it returns 32765 as a value indicating NODATA.

Usage
Conditions

-




Queries the end of data samples stored. (when longer data is stored than the inside memory)

Syntax

(Query)


:MEMory:AMAXPoint?

(Response)

A<NR1>

A = 0(no data stored), 1 to

Details

Returns the end of data samples stored in the memory as a numerical value in NR1 format.

Example

:MEMory:AMAXPoint?
(Response)  :MEMORY:AMAXPOINT 800  (when headers are enabled)

Note

-

Usage
Conditions

It is not in a start operation.




Sets and queries the point in memory for output.(when longer data is stored than the inside memory)

Syntax

(Command)

(Query)


:MEMory:APOINt ch$,A

:MEMory:APOINt?

(Response)

ch$,A<NR1>

ch$ = , , LOG, ALARM,
A = 0 to (number of storage data - 1)

Details

Sets the output point in memory.
Returns the current output point in memory as an NR1 numerical value.

Example

:MEMory:APOINt CH1_1,100
:MEMory:APOINt?
(Response)  :MEMORY:APOINT CH1_1,100  (when headers are enabled)

Note

If there is no stored data, the read pointer cannot be set.
Argument A can be set only to a value less than that returned by the :MEMory:AMAXPoint?.
If the measurement data is longer than the internal memory, the data for the specified point may not be available.

Usage
Conditions

-




Output real time data (ASCII)

Syntax

(Query)


:MEMory:AREAL? ch$

(Response)

ch$,A<NR1>(Wave Calc Result = <NR3>)

ch$ = , , LOG, ALARM,
A = -32768 to 32767(Analog)
A = 0 to 1000000000(Count, Revolve)
A = 0 to 255(Logic, Alarm)
A = Wave Calc Result(Wave Calc)

Details

Returns the final measurement of the channel designated by ch$.

Example

:MEMory:AREAL? CH1_1
(Response)  :MEMORY:AREAL CH1_1,3176  (when headers are enabled)

Note

Returns 32765 as a value indicating NODATA if following actions have not been performed have been performed before this command.
  •Measurements
  •Display Monitor Values
  •Execute :MEMory:GETReal

Usage
Conditions

-




Binary transfer of stored data.

Syntax

(Query)


:MEMory:BDATa? A

(Response)

#0<binary data>

A = 1 to 5000 (Output number)

Details

Outputs the data stored by a :MEMory:POINt command specification in binary format. The data format is big-endian.
The output point is incremented by the number of data values.

The read data is structured as follows:
  (1) Initially: "#0" (Indicates binary format)
  (2) After "#0", data in binary format is returned by the number of data specified in A.

Data sizes per point for each channel type are as follows:
  •Analog, Logic, Alarm:2byte
  •Pulse:4byte
  •Wave Calc:8byte
(The response of the waveform calc channel is output in double-precision floating-point format (IEEE 754 format).)

Example

:MEMory:POINt CH1_1,0
:MEMory:BDATa? 10
(Response)  :MEMORY:BDATA #0...(binary data)  (when headers are enabled)

Note

Returns an error value if no storage data exists for the specified channel/output point.
Error values for each channel type are as follows.
[Analog channel]
0x7ffd(2byte)

[Pulse channel]
0x00000000(4byte)

[Wave calc channel]
0x7ff0000000000001(8byte)

Binary data may include delimiter codes such as 0Ah or 0Dh.
If the PC software misinterprets such codes as data terminators, the PC will not handle the data correctly, so the PC software should always read the number of words specified by A.
A line feed code (LF or CR + LF) is not added at the end of the data.

When recording 1,000,000 points data, the time required to send the command ":MEMory:BDATa? 5000" 200 times is about 2 seconds.
(Running Microsoft Windows 10 Pro (Ver 1903) on a Intel(R) i7-9700F 3.00GHz CPU and 16 GB RAM).
Please note that these values are for reference only, and depend on the actual data transfer speed of the LAN connection.

Usage
Conditions

Provided that the output point is lower than the amount of data stored.
Provided that stored data is present.




Output hold data. (binary)

Syntax

(Query)


:MEMory:BFETch? ch$

(Response)

A

ch$ = , , LOG, ALARM,
A = Binary data

Details

Returns the value of the channel specified by ch$ from the hold data captured by the :MEMory:GETReal.
The relationship between the returned data value and the measured value is same as:MEMory:BDATa?.

Example

:MEMory:GETReal
:MEMory:BFETch? CH1_1
(Response)  :MEMORY:BFETCH (binary data)  (when headers are enabled)

Note

If you have not run the :MEMory:GETReal before this command, it returns the error value for the specified channel.

Usage
Conditions

-




Outputs real time data. (binary)

Syntax

(Query)


:MEMory:BREAL? ch$

(Response)

ch$,A

ch$ = , , LOG, ALARM,
A = Binary data

Details

Returns the final measurement of the channel designated by ch$.
The relationship between the returned data value and the measured value is same as :MEMory:BDATa?.

Example

:MEMory:BREAL? CH1_1
(Response)  :MEMORY:BREAL (binary data)  (when headers are enabled)

Note

Returns the error value for the specified channel if following actions have not been performed have been performed before this command.
  •Measurements
  •Display Monitor Values
  •Execute :MEMory:GETReal

Usage
Conditions

-




Queries storage data existence for each channel.

Syntax

(Query)


:MEMory:CHSTore? ch$

(Response)

ch$,A$

ch$ = , , LOG, ALARM,
A$ = OFF, ON

Details

Returns the presence or absence of storage data of the channel designated by ch$.

Example

:MEMory:CHSTore? CH1_1
(Response)  :MEMORY:CHSTORE CH1_1,ON  (when headers are enabled)

Note

-

Usage
Conditions

-




Queries hold data existence for each channel.

Syntax

(Query)


:MEMory:FCHSTore? ch$

(Response)

ch$,A$

ch$ = , , LOG, ALARM,
A$ = OFF, ON

Details

Returns the presence or absence of the hold data of the channel specified by ch$.

Example

:MEMory:FCHSTore? CH1_1
(Response)  :MEMORY:FCHSTORE CH1_1,ON  (when headers are enabled)

Note

-

Usage
Conditions

-




Captures hold data.

Syntax

(Command)


:MEMory:GETReal

Details

Causes the instrument to acquire real-time measurement values on all channels and retains it as hold data.

Example

:MEMory:GETReal

Note

-

Usage
Conditions

-




Queries the number of data samples stored.

Syntax

(Query)


:MEMory:MAXPoint?

(Response)

A<NR1>

A = number of data samples (0 = no data stored)

Details

Returns the number of data samples stored in the memory as a numerical value in NR1 format.

Example

:MEMory:MAXPoint?
(Response)  :MEMORY:MAXPOINT 2500  (when headers are enabled)

Note

-

Usage
Conditions

-




Sets and queries the point in memory for output.

Syntax

(Command)

(Query)


:MEMory:POINt ch$,A

:MEMory:POINt?

(Response)

ch$,A<NR1>

ch$ = , , LOG, ALARM,
A = 0 to 268435456(maximum at only 1 channel)

Details

Sets the output point in memory.
Returns the current output point in memory as an NR1 numerical value.

Example

:MEMory:POINt CH1_1,100
:MEMory:POINt?
(Response)  :MEMORY:POINT CH1_1,100  (when headers are enabled)

Note

If there is no storage data, the output point cannot be set.
The value that can be set for A is smaller than the value returned by :MEMory:MAXPoint?.

Usage
Conditions

-




Output hold data. (ASCII) (ALL storage channels in the Unit)

Syntax

(Query)


:MEMory:TAFETch? unit$

(Response)

A1,A2,...<NR1>(Wave Calc Result = <NR3>)

unit$ = , PLS&ALM, CALC1, CALC2
Ax = -32768 to 32767(Analog)
Ax = 0 to 1000000000(Count, Revolve)
Ax = 0 to 255(Logic, Alarm)
Ax = Wave Calc Result(Wave Calc)

Details

Returns the value of the channel containing the hold data of the specified unit (data type) among the hold data captured by the :MEMory:GETReal.
The relationship between the returned data value and the measured value is same as :MEMory:ADATa?.

Example

:MEMory:GETReal
:MEMory:TAFETch? UNIT1
(Response)  :MEMORY:TAFETCH 3176,3176,3176,3186,3186,3186,3186,3186,3198,3198,3186,3186,3186,3198,3198  (when headers are enabled)

Note

If you have not run the :MEMory:GETReal before this command, a command error is occur.
If there is no channel with hold data in the specified unit, a command error will occur.

Usage
Conditions

-




Outputs real time store channel. (ASCII)

Syntax

(Query)


:MEMory:TARCH? unit$

(Response)

ch1$,ch2$,...

unit$ = , PLS&ALM, CALC1, CALC2
ch$ = , , LOG, ALARM,

Details

Returns the measurement ON channel of the unit (data type) designated by unit$.

Example

:MEMory:TARCH? UNIT1
(Response)  :MEMORY:TARCH CH1_1,CH1_2,CH1_3,CH1_4,CH1_5,CH1_6,CH1_7,CH1_8,CH1_9,CH1_10,CH1_11,CH1_12,CH1_13,CH1_14,CH1_15  (when headers are enabled)

Note

-

Usage
Conditions

-




Outputs real time data (ASCII) (ALL storage channels in the Unit)

Syntax

(Query)


:MEMory:TAREAl? unit$

(Response)

A1,A2,...<NR1>(Wave Calc Result = <NR3>)

unit$ = , PLS&ALM, CALC1, CALC2
Ax = -32768 to 32767(Analog)
Ax = 0 to 1000000000(Count, Revolve)
Ax = 0 to 255(Logic, Alarm)
Ax = Wave Calc Result(Wave Calc)

Details

Returns the last storage data value of the measurement ON channel of the unit (data type) designated by unit$.

Example

:MEMory:TAREAl? UNIT1
(Response)  :MEMORY:TAREAL 3176,3176,3176,3186,3186,3186,3186,3186,3198,3198,3186,3186,3186,3198,3198  (when headers are enabled)

Note

Returns 32765 as a value indicating NODATA if following actions have not been performed have been performed before this command.
  •Measurements
  •Display Monitor Values
  •Execute :MEMory:GETReal
If there is no measurement ON channel in the specified unit, NO_STORAGE is returned.

Usage
Conditions

-




Queries storage data existence for each unit. (ALL storage channels in the Unit)

Syntax

(Query)


:MEMory:TCHSTore? unit$

(Response)

ch1$,ch2$,...

unit$ = , PLS&ALM, CALC1, CALC2
ch$ = , , LOG, ALARM,

Details

Returns the presence or absence of storage data of the unit (data type) designated by unit$.

Example

:MEMory:TCHSTore? UNIT1
(Response)  :MEMORY:TCHSTORE CH1_1,CH1_2,CH1_3,CH1_4,CH1_5,CH1_6,CH1_7,CH1_8,CH1_9,CH1_10,CH1_11,CH1_12,CH1_13,CH1_14,CH1_15  (when headers are enabled)

Note

-

Usage
Conditions

-




Queries hold data existence for each unit. (ALL storage channels in the Unit)

Syntax

(Query)


:MEMory:TFCHSTore? unit$

(Response)

ch1$,ch2$,...

unit$ = , PLS&ALM, CALC1, CALC2
ch$ = , , LOG, ALARM,

Details

Returns the presence or absence of the hold data of the unit (data type) specified by unit$.

Example

:MEMory:TFCHSTore? UNIT1
(Response)  :MEMORY:TFCHSTORE CH1_1,CH1_2,CH1_3,CH1_4,CH1_5,CH1_6,CH1_7,CH1_8,CH1_9,CH1_10,CH1_11,CH1_12,CH1_13,CH1_14,CH1_15  (when headers are enabled)

Note

-

Usage
Conditions

-




Queries the top of data samples stored. (when longer data is stored than the inside memory)

Syntax

(Query)


:MEMory:TOPPoint?

(Response)

A<NR1>

A = Top data number (0 = no data stored)

Details

Returns the top of data samples stored in the memory as a numerical value in NR1 format.

Example

:MEMory:TOPPoint?
(Response)  :MEMORY:TOPPOINT 100  (when headers are enabled)

Note

-

Usage
Conditions

-




Output hold data. (measured value) (ALL storage channels in the Unit)

Syntax

(Query)


:MEMory:TVFETch? unit$

(Response)

A1,A2,...<NR3>

unit$ = , PLS&ALM, CALC1, CALC2
Ax = measured value

Details

Returns the measured value of the channel containing the hold data of the specified unit (data type) among the hold data captured by the :MEMory:GETReal.
See the description of :MEMory:VDATa? For the contents of the returned data.

Example

:MEMory:GETReal
:MEMory:TVFETch? UNIT1
(Response)  :MEMORY:TVFETCH +1.00000E-02,+2.00000E-02,+3.00000E-02,+4.00000E-02,+5.00000E-02,+6.00000E-02,+7.00000E-02,+8.00000E-02,+1.00000E-02,+2.00000E-02,+3.00000E-02,+4.00000E-02,+5.00000E-02,+6.00000E-02,+7.00000E-02  (when headers are enabled)

Note

If you have not run the :MEMory:GETReal before this command, a command error is occur.
If there is no channel with hold data in the specified unit, a command error will occur.

Usage
Conditions

-




Outputs real time store channel. (measured value) (ALL storage channels in the Unit)

Syntax

(Query)


:MEMory:TVRCH? unit$

(Response)

ch1$,ch2$,...

unit$ = , PLS&ALM, CALC1, CALC2
ch$ = , , LOG, ALARM,

Details

Returns the measurement ON channel of the unit (data type) designated by unit$. (Same as :MEMory:TARCH?)

Example

:MEMory:TVRCH? UNIT1
(Response)  :MEMORY:TVRCH CH1_1,CH1_2,CH1_3,CH1_4,CH1_5,CH1_6,CH1_7,CH1_8,CH1_9,CH1_10,CH1_11,CH1_12,CH1_13,CH1_14,CH1_15  (when headers are enabled)

Note

-

Usage
Conditions

-




Outputs real time data. (measured value) (ALL storage channels in the Unit)

Syntax

(Query)


:MEMory:TVREAl? unit$

(Response)

A1,A2,...<NR3>

unit$ = , PLS&ALM, CALC1, CALC2
Ax = measured value

Details

Returns the last storage data measured value of the measurement ON channel of the unit (data type) designated by unit$.
See the description of :MEMory:VDATa? For the contents of the returned data.

Example

:MEMory:TVREAl? UNIT1
(Response)  :MEMORY:TVREAL +1.00000E-02,+2.00000E-02,+3.00000E-02,+4.00000E-02,+5.00000E-02,+6.00000E-02,+7.00000E-02,+8.00000E-02,+1.00000E-02,+2.00000E-02,+3.00000E-02,+4.00000E-02,+5.00000E-02,+6.00000E-02,+7.00000E-02  (when headers are enabled)

Note

Returns 9.99999+E99 as a value indicating NODATA if following actions have not been performed have been performed before this command.
  •Measurements
  •Display Monitor Values
  •Execute :MEMory:GETReal
If there is no measurement ON channel in the specified unit, NO_STORAGE is returned.

Usage
Conditions

-




Output voltage data from memory.

Syntax

(Query)


:MEMory:VDATa? A

(Response)

B1,B2,...<NR3>

A = 1 to 1000
Bi = measured value

The number of decimal places depends on the specified channel.
[Analog channel]
5 decimal places

[Pulse channel]
9 decimal places

[Wave calc channel]
9 decimal places

Details

The number of measured values specified by A are output as voltage values from the memory channel and point set by the :MEMory:POINt.
The output point is incremented by the number of data values.
When scaling, the scaled values are output.

Example

:MEMory:POINt CH1_1,0
:MEMory:VDATa? 2
(Response)  :MEMORY:VDATA +5.00000E-05,+4.00000E-05  (when headers are enabled)

Note

Returns 9.99999+E99 as a error value if no storage data exists for the specified channel/output point.

When recording 1,000,000 points data, the time required to send the command ":MEMory:VDATa? 1000" 1000 times is about 14 seconds.
(Running Microsoft Windows 10 Pro (Ver 1903) on a Intel(R) i7-9700F 3.00GHz CPU and 16 GB RAM).
Please note that these values are for reference only, and depend on the actual data transfer speed of the LAN connection.

Usage
Conditions

The output point must be set to :MEMory:POINt.
Provided that the output point is lower than the amount of data stored.
Provided that stored data is present.




Output hold data. (measured value)

Syntax

(Query)


:MEMory:VFETch? ch$

(Response)

A<NR3>

ch$ = , , LOG, ALARM,
A = measured value

Details

Returns the measured value of the channel specified by ch$ from the hold data captured by the :MEMory:GETReal.
The relationship between the returned data value and the measured value is same as :MEMory:VDATa?.

Example

:MEMory:GETReal
:MEMory:VFETch? CH1_1
(Response)  :MEMORY:VFETCH +1.23000E-02  (when headers are enabled)

Note

If you have not run the :MEMory:GETReal before this command, it returns 9.99999+E99 as a error value.

Usage
Conditions

-




Outputs real time data. (measured value)

Syntax

(Query)


:MEMory:VREAL? ch$

(Response)

A<NR3>

ch$ = , , LOG, ALARM,
A = measured value

Details

Returns the final measurement of the channel designated by ch$.

Example

:MEMory:VREAL? CH1_1
(Response)  :MEMORY:VREAL +1.23000E-02  (when headers are enabled)

Note

Returns 9.99999+E99 as a value indicating NODATA if following actions have not been performed have been performed before this command.
  •Measurements
  •Display Monitor Values
  •Execute :MEMory:GETReal

Usage
Conditions

-