ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Arduino servo error

Solved!
Go to solution

I am using Arduino to control my two servos. I uploaded Arduino IDE---LIFA Base to my Arduino board and used VI package manager to install LabVIEW Interface for Arduino and Arduino Compatible Compliance for LabVIEW Standard. After set up Comport, I ran Arduino Servo (got from example), "Init" was good, but got error 5003 (timeout) from "Set Number of Servos.vi". I opened and looked into it, found the error was from "Send Receive.vi" because the "Bytes Available?" is false in Wait For Bytes.vi" . I found the "Data" is set "empty" for Packetize.vi.  I don't know which step is wrong on my settings. I use LabVIEW 2024 with windows 10. Any help will be appreciated.

yuntan_2-1718746216557.png

 

 

yuntan_1-1718745746433.png

 

 

0 Kudos
Message 1 of 2
(660 Views)
Solution
Accepted by topic author yuntan

I figured out myself. I need to use Arduino IDE---Arduino 1.0.1 to match my LabVIEW Interface for Arduino. It works now.

0 Kudos
Message 2 of 2
(617 Views)