Msize - Agilent Technologies 3458A User Manual

Hide thumbs Also See for 3458A:
Table of Contents

Advertisement

Example

MSIZE

Syntax
Remarks
When you use the RMEM command to recall readings, it turns off reading
memory. This means any new readings will not be placed in reading memory
and cannot have an enabled memory math operation performed on them. When
you use the "implied read" method to recall readings, reading memory is not
turned-off.
Related Commands: MATH, MEM, RMATH, RMEM, SMATH
The following program performs the post-process NULL operation on 20
readings. After executing the MMATH NULL command, 21 readings are taken
and stored in reading memory in FIFO mode. Line 80 recalls the first reading
taken which is stored in the OFFSET register. The value in the OFFSET register
is then changed to 3.05. The remaining 20 readings in memory are recalled and
the NULL operation is performed on each.
10 OPTION BASE 1
20 DIM Rdgs(20)
30 OUTPUT 722; "PRESET NORM"
40 OUTPUT 722;"MEM FIFO"
50 OUTPUT 722;"MMATH NULL"
60 OUTPUT 722;"NRDGS 21"
70 OUTPUT 722;"TRIG SGL"
80 ENTER 722;A
90 OUTPUT 722; "SMATH OFFSET, 3.05"!WRITE 3.05 TO OFFSET REGISTER
100 ENTER 722;Rdgs(*)
105
110 PRINT Rdgs(*)
120 END
Memory size. On a previous multimeter, the MSIZE command was used to clear
all memory and allocate memory space for readings, subprograms, and state
storage. The 3458 accepts the MSIZE command to maintain language
compatibility, but performs no action since the 3458's memory allocations are
predefined and cannot be changed. The MSIZE? query command, however, is
useful to determine the total reading memory and the largest unused block of
subprogram/state memory.
MSIZE [reading_memory][,subprogam_memory ]
As subprogram/state memory is used, it eventually becomes fragmented into
many small blocks. The MSIZE? command returns the total number of bytes of
reading memory and the number of bytes of the largest unused block of
subprogram/state memory. The SCRATCH command clears all subprograms
and states from memory returning these memory areas to one contiguous block.
Also, when power is cycled, the multimeter combines fragmented blocks of
memory wherever possible.
!COMPUTER ARRAY NUMBERING STARTS AT 1
!DIMENSION ARRAY FOR 20 READINGS
!PRESET, NRDGS 1,AUTO, DCV 10
!ENABLE READING MEMORY, FIFO MODE
!ENABLE POST-PROCESS NULL OPERATION
!21 READINGS PER TRIGGER
!TRIGGER READINGS
!RECALL FIRST READING USING IMPLIED READ
!RECALL READINGS USING IMPLIED READ,
!PERFORM NULL OPERATION ON EACH
!PRINT NULL MODIFIED READINGS
Chapter 6 Command Reference

MSIZE

203

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents