Fixed minor bugs preventing operation with Rigol.