Open Dog-menG opened 5 years ago
Pyvisa-py relies on pyserial for listing the resources. And I am not sure why it does not detect your resource. Could you please post the output of pyvisa-info
and give some details about the instrument you are trying to connect and the kind of serial adapter you are using if you are using any. Also in some cases listing the resource may fail but the resource can be accessed nonetheless, could you try opening the resource with the known address ?
I tried the code below with NI backend:
import visa rm = visa.ResourceManager() print (rm.list_resources())
The output shows the connecting instrument: ('ASRL3::INSTR',)
while I changed NI backend to py backend, the output is empty. pyvisa-py installed. import visa rm = visa.ResourceManager('@py') print (rm.list_resources())
The output is empty: ()
Please suggest. Thanks