Series 2600B System SourceMeter® Instrument Reference Manual
Section 6: Instrument programming
2600BS-901-01 Rev. C / August 2016
6-45
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 Series 2600B 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 use 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