How to clear a function without having to recycle power on the 2600B series.

Question:

How to clear a function without having to recycle power on the 2600B series.

Answer:

The easiest way to delete a function is to set it equal to nil, e.g. myfunc = nil. You should then call the collectgarbage() function to free up the memory. Garbage collection will actually occur automatically, but it can take up to a few seconds to process.

You can call the function yourself to avoid unexpected delays caused by the automatic process. It is recommended that you review the information in the 2600B Series Reference Manual about the collectgarbage() function, and Lua memory management.

This FAQ Applies to:

Product Series: 2606B Series SMU

Product: 2612B

FAQ ID : 729091

View all FAQs »
Downloads
Download

Download Manuals, Datasheets, Software and more:

Go to top