pyvisa: VI_ERROR_RSRC_NFOUND while connecting to a LeCroy using VICP
I am trying to connect to a LeCroy Wavesurfer which is connected to my local network. First, I attempted this code:
import visa
rm = visa.ResourceManager()
scope = rm.open_resource("VICP::192.168.122.53::INSTR")
This throws out an error: pyvisa.errors.VisaIOError: VI_ERROR_RSRC_NFOUND (-1073807343): Insufficient location information or the requested device or resource is not present in the system.
I followed the bug report thread #168, but no luck. 😦 Likewise, I read through other related bug reports, as well as several StackOverflow threads, but nothing helped. I did manage to get other types of errors, but without understanding the problem, I don’t really consider that an improvement.
I am using Python 3.5.1 with PyVISA 1.8 running on a Win8.1 computer. If needed, I can provide any other relevant information.
Thanks in advance.
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 21 (9 by maintainers)
Actually, because every other resource supports something like a board attribute, the base class make it somewhat mandatory. I tried and pushed a solution to #215. Please have a look and check it fixes your issue.
I am experiencing exactly the same problem with VI_ERROR_RSRC_NFOUND (-1073807343) when I am using pyvisa version 1.13. If I downgrade to the version 1.12 everything works fine. I see in the change log that there are indeed changes connected to VICP but I do not understand exactly what was changed.
Does anyone has an idea what has happened with the update and how it could be fixed? Thanks!