Models 707B and 708B Switching Matrix Reference Manual
Section 7: Command reference
707B-901-01 Rev. A / August 2010
7-137
memory.used()
This function reports the amount of memory used in the instrument overall and for user scripts, and storing
channel patterns.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function Yes
Usage
memoryUsed = memory.used()
memoryUsed
A comma-delimited string with percentages for used memory; the format is
systemMemory
,
scriptMemory
,
patternMemory
, 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
Details
Use this function to view the used memory in the overall instrument, as well as the memory used for storing user
scripts and channel patterns.
The response to this function is a single string that shows the overall instrument memory used, as well as the
script memory used and channel pattern memory used as comma-delimited percentages.
Example
MemUsed = memory.used()
print(MemUsed)
Reads the memory used in the instrument and
returns out the percentages.
Output:
69.14, 0.16, 12.74
Also see
(on page 7-135)
opc()
This function sets the operation complete status bit when all overlapped commands are completed.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function No
Usage
opc()
Details
This function causes the operation complete bit in the Standard Event Status Register to be set when all
previously started local overlapped commands are complete.