Hello
Apologies if this is not the correct form to post this in. Historically I just read and find the answer I need and go my merry way, but this has me stumped.
Before I integrated the PI I was controlling a signal generator. Windows Laptop > Python3 > pyvisa > ethernet cable > signal generator
No problems (the laptop and SigGen have fixed IP addresses)
Got a new PI 5 with bookworm up and running, configured it and gave it a run.
PI 5 > Python3 > pyvisa > ethernet cable > signal generator
I wasn't getting the response I expected (the signal generator), but a different response from pyvisa
"ASRL/dev/ttyAMA10::INSTR"
From a terminal window I can ping the SigGen so the connection is good.
I also found without the ethernet cable, and then wifi disabled I still get
"ASRL/dev/ttyAMA10::INSTR"
Limited experience with pyvisa but it seems to query any available interface and returns valid found devices. With the PI it seems to ignore the eth0
This is where I am stuck. I appreciate you taking the time to read and any assistance you can offer.
Best Regards
CT
python code
def TestEquipmentSearch():
import pyvisa
global rm
rm = pyvisa.ResourceManager()
TEList = list(rm.list_resources())
print(TEList)
Apologies if this is not the correct form to post this in. Historically I just read and find the answer I need and go my merry way, but this has me stumped.
Before I integrated the PI I was controlling a signal generator. Windows Laptop > Python3 > pyvisa > ethernet cable > signal generator
No problems (the laptop and SigGen have fixed IP addresses)
Got a new PI 5 with bookworm up and running, configured it and gave it a run.
PI 5 > Python3 > pyvisa > ethernet cable > signal generator
I wasn't getting the response I expected (the signal generator), but a different response from pyvisa
"ASRL/dev/ttyAMA10::INSTR"
From a terminal window I can ping the SigGen so the connection is good.
I also found without the ethernet cable, and then wifi disabled I still get
"ASRL/dev/ttyAMA10::INSTR"
Limited experience with pyvisa but it seems to query any available interface and returns valid found devices. With the PI it seems to ignore the eth0
This is where I am stuck. I appreciate you taking the time to read and any assistance you can offer.
Best Regards
CT
python code
def TestEquipmentSearch():
import pyvisa
global rm
rm = pyvisa.ResourceManager()
TEList = list(rm.list_resources())
print(TEList)
Statistics: Posted by CaptainTuttle — Fri Mar 15, 2024 5:18 pm — Replies 0 — Views 21