working on Rigol scripting