05-14-2025 02:15 PM
Greetings there,
I am new to LabVIEW and forums. I am trying to connect my Arduino to LabVIEW for which I came to know that I first should check the I/O communication in VISA Test Panel. I connected Arduino Due and Arduino UNO, separately, and tried to test the command (*IDN?\n) which is already mentioned. But with every Arduino, everytime this error comes up (VISA: (Hex 0xBFFF0015) Timeout expired before operation completed). I tried with different Baud rate, stop bits, parity settings, changing cables, increassing the timout time, but nothing worked.
Arduinos are working fine with Arduino IDE and are being detected properly.
What should I do? Please Help.
Solved! Go to Solution.
05-14-2025 02:20 PM - edited 05-14-2025 02:24 PM
@A.S.H wrote:
Greetings there,
I am new to LabVIEW and forums. I am trying to connect my Arduino to LabVIEW for which I came to know that I first should check the I/O communication in VISA Test Panel. I connected Arduino Due and Arduino UNO, separately, and tried to test the command (*IDN?\n) which is already mentioned. But with every Arduino, everytime this error comes up (VISA: (Hex 0xBFFF0015) Timeout expired before operation completed). I tried with different Baud rate, stop bits, parity settings, changing cables, increassing the timout time, but nothing worked.
Arduinos are working fine with Arduino IDE and are being detected properly.
What should I do? Please Help.
An Arduino will NOT respond to an IEEE common command query like *IDN?
Unless of course you program it to do so.
The Arduino IDE is made specifically for Arduino's and is doing some kind of chip ID. It is not using IEEE commands like VISA communicating with an IEEE 488.2 compliant piece of test equipment.
05-14-2025 02:23 PM
Thank you for your reply.
Okay, so can I begin writing LabVIEW programs straightaway? Or is there any other command which will serve as a test to confirm the communication between Arduino and LabVIEW?
05-14-2025 02:26 PM
@A.S.H wrote:
Thank you for your reply.
Okay, so can I begin writing LabVIEW programs straightaway? Or is there any other command which will serve as a test to confirm the communication between Arduino and LabVIEW?
Yes, VISA can communicate with an Arduino just like any instrument on a serial port. Here's my prefab answer to using LabVIEW with an Arduino
In general there are three ways of using LabVIEW with an Arduino
05-14-2025 02:33 PM
Thank you so much!!!
I will try to make LV programs and test through Serial communication only. Let's see what happens 🙂
05-14-2025 03:55 PM
Looks like TSXperts is totally dead now.
05-15-2025 08:51 AM
You can still get it from NI Arduino™-Compatible Compiler for LabVIEW