Fixed pyvisa wrapper. It should now be compatible with pyvisa 1.4 and 1.5