Section 11: TSP command reference Series 3700A System Switch/Multimeter Reference Manual
11-294 3700AS-901-01 Rev. D/June 2018
Example: After recalling a setup
setup.recall(1)
print(memory.available())
Reads and returns the amount of memory available
in the instrument after a setup is recalled.
Output:
11.13, 92.84, 0.16, 97.03
Example: Used and available memory
print("Memory used:", memory.used())
print("Memory available: ",
memory.available())
Reads and returns the amount memory used and
memory available percentages.
Output:
Memory used: 69.14, 0.16, 12.74, 1.04
Memory available: 30.86, 99.84, 87.26,
98.96
Also see
memory.used() (on page 11-294)
memory.used()
This function reports the amount of memory used in the instrument overall and for user scripts, storing channel
patterns, and storing user DMM configurations.
Usage
memoryUsed = memory.used()
A comma-delimited string with percentages for used memory; the format is
systemMemory, scriptMemory, patternMemory,
configurationMemory, where:
â–ª systemMemory: The percentage of memory used in the instrument
â–ª scriptMemory: The percentage of memory used in the instrument to
store user scripts
â–ª patternMemory: The percentage of memory used in the instrument to
store channel patterns
â–ª configurationMemory: The percentage of memory used to store
DMM configurations
Details
Use this function to view the used memory in the overall instrument, as well as the memory used for
storing user scripts, channel patterns, and user DMM configurations.
The response to this function is a single string that shows the overall instrument memory used, as
well as the script memory used, channel pattern memory used, and DMM configuration memory used
as comma-delimited percentages.