lots work on saving
Debugging the vna.A longer sleep after each clear seemed to work.
Instead of using g.rsp() to do a serial poll, I just use the GPIB command OUTPSTAT and read the second byte.