![background image](http://html2.mh-extra.com/html/keithley/2657a/2657a_reference-manual_4007750296.webp)
Model 2657A High Power System SourceMeter® Instrument Reference Manual
Section 6: Instrument programming
2657A-901-01 Rev. B/December 2012
6-47
Restore a script to the run-time environment
You can retrieve a script that was removed from the run-time environment but is still saved in
nonvolatile memory.
To restore a script from nonvolatile memory into the run-time environment, you can use
script.restore("
scriptName
")
, where
scriptName
is the user-defined name of the script to
be restored.
For example, to restore a user script named
"test9"
from nonvolatile memory:
script.restore("test9")
Memory considerations for the run-time environment
The Model 2657A reserves 32 MB of memory for dynamic run-time use. Approximate allocation of
this memory is shown below:
5 MB
Firmware general operation
1 MB
Reserve for instrument internal operation
2 MB
Reserve for future firmware updates
24 MB
Run-time environment, user-created reading buffers, and active sweep
configuration
Note that the run-time environment, user-created reading buffers, and active sweep configuration
must fit in the 24 MB of memory that is available. The amount of memory used by a reading buffer is
approximately 15 bytes for each entry requested.
Reading buffers also uses a small amount of memory for reading buffer management, which is not
significant when making memory utilization calculations. For example, assume two reading buffers
were created. One of them was created to store up to 1,000 readings and the other to store up to
2,500 readings. The memory reserved for the reading buffers is calculated as follows:
(1000 * 15) + (2500 * 15) = 52,500 bytes or 52.5 kilobytes
Содержание 2657A
Страница 3: ......