First post here, please be gentle. ;-)
I've built a SCPI instrument controlled by a Teensy 4.0 for a physics lab course I teach. The Teensy works fine: it controls the apparatus and everything is fine, BUT... I can't communicate with the Teensy through Python because pyvisa can't find the Teensy.
Arduino IDE: interface selection shows COM3 and Teensy4.0.
'*idn?' --> expected response, all SCPI commands work fine and control the apparatus.
python
>>> import pyvisa
>>> rm = pyvisa.ResourceManager()
>>> devices = rm.list_resources()
>>> devices
('ASRL3::INSTR',)
So Python is only seeing COM3, not the Teensy. This may be a problem for the pyvisa forum, but I've used pyvisa for other SCPI instruments without trouble. This is a fresh Win64 box: is there some magic driver installation I need to do on the machine to let it see a Teensy? I don't think that's the answer, because the Arduino IDE sees it. I'm stumped!
Thanks in advance for any help you can offer.
-Eric
I've built a SCPI instrument controlled by a Teensy 4.0 for a physics lab course I teach. The Teensy works fine: it controls the apparatus and everything is fine, BUT... I can't communicate with the Teensy through Python because pyvisa can't find the Teensy.
Arduino IDE: interface selection shows COM3 and Teensy4.0.
'*idn?' --> expected response, all SCPI commands work fine and control the apparatus.
python
>>> import pyvisa
>>> rm = pyvisa.ResourceManager()
>>> devices = rm.list_resources()
>>> devices
('ASRL3::INSTR',)
So Python is only seeing COM3, not the Teensy. This may be a problem for the pyvisa forum, but I've used pyvisa for other SCPI instruments without trouble. This is a fresh Win64 box: is there some magic driver installation I need to do on the machine to let it see a Teensy? I don't think that's the answer, because the Arduino IDE sees it. I'm stumped!
Thanks in advance for any help you can offer.
-Eric