Using the read_raw function with the default argument (num_bytes=-1) causes the following error: `ValueError: Array length must be >= 0, not -1` To fix this the default argument of pyvisa read() should be left empty