User manual

Section 13: Instrument Control Library (ICL) Series 3700 System Switch/Multimeter Reference Manual
13-220 3700S-901-01 Rev. C / July 2008
memory.used()
Usage
mem_avail = memory_available()
mem_avail: Comma-delimited string with percentages for available memory.
The string format of mem_avail is "sys_mem, script_mem, pat_mem, config_mem",
where:
sys_mem: Percentage of overall memory in the system
script_mem: Percentage of memory available in the system to store user scripts
pat_mem: Percentage of memory available in the system to store channel patterns
config_mem: Percentage of memory available int he system to store user DMM
configurations
Remarks
Use this function to view the used memory in the system overall as well as the
memory used for storing user scripts, for storing channel patterns, and for storing user
DMM configurations. The response to this function is a single string that provides the
overall system memory used as well as the script memory available, channel pattern
memory available, and DMM configuration memory used as comma-delimited
percentages.
Also see
memory.available() (on page 13-219)
Example
To read the memory used in the system:
MemUsed = memory.used()
To print out the memory used in the system:
print(MemUsed)
or
print(memory.used())
Output: 48.44, 7.16,0.00, 0.00
After recalling a setup that was saved internally:
setup.recall(1)
print(memory.available()) -> 88.87. 7.16, 99.84, 2.97
opc functions
Use this function to set the OPC bit in the status register when all overlapped
commands are completed.
opc()
Function
Sets the Operation Complete status bit when all overlapped commands are completed.
Usage
opc()