Closed ambegossi closed 5 years ago
Could you post the output of pyvisa-info
?
Currently pyvisa-py only check explicitly for TimeoutError during a write (https://github.com/pyvisa/pyvisa-py/blob/master/pyvisa-py/gpib.py#L186). You can try to tweak the logic to get a bit more details about what happens in the gpib lib. This part of the code could definitively be improved. PR welcome.
Why did you close @ambegossi ? If you found a solution to your problem, please post it it might help others.
I was able to resolve this by configuring the gpib port on the function generator manually. It was configured to receive commands on the wrong port. Thank you for your help
Thanks for your answer !
I'm trying to use the pyvisa-py library to communicate with a SRS ds345 function generator.
After the open resource command: rm = visa.ResourceManager('@py') ds345 = rm.open_resource('GPIB0::6::INSTR')
I'm trying to send a command to the function generator: ds345.write('FREQ 32760.0')
but I'm getting the following error:
VisaIOError Traceback (most recent call last)