‎12-14-2025 03:43 PM
While trying to attach a LINX imaged Arduino to my LINX imaged Raspberry Pi, I wasted hours trying to figure out what VISA serial alias I needed to connect to my Arduino.
LLMs all said /dev/ttyACM0 should be ASRL1::INSTR (linux ID and VISA ID respectively)
HOWEVER, it was wrong and left me flapping... how can I easily figure out what VISA needs when I know what it is on the system.
some LLMs said to type ASRL/dev/ttyACM0::INSTR but that did not work with VISA at least not NI-VISA, maybe pyVISA can...
so by the grace of John Medland, he drew my attention to VISA find devices
and by simply running with the device plugged in and not plugged in, I realized my Arduino was associating as ASRL2::INSTR
and then everything sprang to life as one would hope.
also, on top of that, using the interface properties of visa we can get even more details about everything connected.
Please buy John a coffee or a treat if you know him on me.
‎12-14-2025 10:03 PM
ni-visa.conf file in /etc/ni-visa which shows how devices will map to ASRLx::INSTRs‎12-15-2025 06:51 PM - edited ‎12-15-2025 07:34 PM
Hi,
Thanks for all the information.
I uploaded a VI that allows the VISA alias to be looked up from the Linux device name on a Raspberry PI.
The file is in a reply to this post
https://forums.ni.com/t5/Hobbyist-Toolkit/Raspberry-Pi-Target-Configuration/m-p/4457184#M2047
I've seen a new VISA alias entry generated if the LINX serial device is not closed before unplugging the device and plugging it back in again.