Hi Erik, Thanks for your reply. It seems that the discussion is going to take a wrong turn. I think I have not been clear what I try to accomplish, so here goes. I have no problem during "normal operation". I call run_block, get_times_and_values etc. and they work fine. I only call close_unit in des...