A system and method for portable instrumentation is proposed, comprising a server computer and a portable instrument that is wirelessly connectable to the server computer. In one embodiment, the results of erasing a group of storage elements is verified using a plurality of test conditions to better detect defective andor insufficiently erased storage elements of the group. , the execution state, can be collected from its most recent, or inner-most, function to its main, or outer-most function, and transferred and restored in the same order to the destination computer.