Closed charlesbaynham closed 3 years ago
Please update to the most recent version of PyVISA and PyVISA-py in which serial resources are properly listed as ASRLx::INSTR. Note however that currently the automatic aliasing to COMx is currently not supported. You are welcome to submit a PR in that direction if you are so inclined however.
Thanks for the help!
I am going to assume it now works and close. Feel free to reopen if needed.
Yep, can confirm that it's just a version problem.
When using ni-visa on Windows, pyvisa's
rm.list_resources()
lists devices as e.g.ASRL3::INSTR
and can open them usingrm.open_resource("COM3")
. Using the pyvisa-py backend instead, devices are listed asASRLCOM3::INSTR
and cannot be opened using their COM alias.What are these "ASRLCOM3" devices?
To Reproduce
Output of
pyvisa-info
Thanks in advance!