pyvisa / pyvisa-py

A pure python PyVISA backend
https://pyvisa-py.readthedocs.io
MIT License
288 stars 124 forks source link

rm.list_resources() not showing TCPIP resources #214

Closed CarlosOnera closed 5 years ago

CarlosOnera commented 5 years ago

Hi,

I'm creating a test bench with several instruments and I'd like to automate as much as possible using pyvisa. When executing

rm = pyvisa.ResourceManager() print(rm.list_resources())

Only USB instruments are shown; I've tried already a few combinations like rm.list_resources(query='?::INSTR') and print(rm.list_resources(query='TCPIP::')) without avail.

I am, however, able to connect to the instrument and get IDN using the rm.open_resource() function with TCPIP (VXI-11).

Is there anything in particular that I would need to do to be able to see the TCPIP instruments?

I'm using Python 3.8

MatthieuDartiailh commented 5 years ago

That capability is not yet implemented in pyvisa-py. Since this issue is a duplicate of #165 I will close it. If you have time you can have a look at implementing it, #165 has a reference for you to look at.