Open dr-kernel opened 1 year ago
This is the display string of ErrorCode::ErrorRsrcNfound. The call to bindings should succeed, but the VISA library can't find the resource, so it returns this error to visa-rs. Does pyvisa invoke this VISA library or use its own one? You can try C codes to confirm the behaviour of the VISA library, here is an example from NI-VISA.
Looks like it can use a python version of VISA https://pyvisa.readthedocs.io/projects/pyvisa-py/en/latest/ or a local library. Thanks, I'll have to dig into this further, since the device is there as I can get to it using the python interface.
This is related to my comments on #19 but more specific to the functionality of this binding lib to the open source version of VISA.
While trying to run through the example code, I only get:
Error: Insufficient location information or the device or resource is not present in the system.
when i try to send any resource string intofind_res
.I've tried explicit
TCPIP0::192.168.0.100::inst0::INSTR
, which was used on pyVisa and worked, all way way down to simply?*
. No matter what I type I get the error above. That error seems to come from the VISA library itself as I don't see that string in the code. Curious if anyone else has had this issue or is it most people use the NI lib? Thanks!