05-13-2025 10:16 AM
Hi team,
I am trying to read an analog pin of arduino nano. I followed the LINX read single analog cahnnel example. However it does not seem to work and the following error message comes up.
Could you please comment on the same?
Many thanks,
Criton
05-13-2025 11:12 AM - edited 05-13-2025 11:12 AM
The VISA error message "The source is valid but VISA cannot currently access it" usually means another program has the VISA resource (serial port in this case) open.
Is the Arduino serial monitor running?
Also did you install the LINX firmware on the Arduino?
05-14-2025 03:35 AM
Hi,
Many thanks for getting in touch. I did upload the LINX firmware to arduino from Tools>Makerhub>LINX>Linx Firmware wizard and also made sure that other instances of the serial port is not open. But still it shows the same message.
Kind regards,
Criton
05-14-2025 09:53 AM
Post your code
05-15-2025 05:46 AM
Hi,
thank you for getting back.
Hi its the example from the LINX driver which read one analog channel.
Kind reagrds,
Criton
05-16-2025 03:29 AM
And do you have anything open other than LabVIEW ?
Have you tried to disconnect the board from the PC and then reconnect ?
05-16-2025 03:50 AM
Hi
Yes I tried removing and connecting the USB, restarting the PC closed everything else other than labview. But still I receive this message.
05-16-2025 04:54 AM
And you have selected the right COM port
What does NI MAX say to the COM port?