From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Hobbyist Toolkit

cancel
Showing results for 
Search instead for 
Did you mean: 

How to solve ERROR 5001: A timeout occurred while waiting for the to respond

Hi everyone, I am using a continuous servo motor (MG996R) with an external power supply (4 AA battery) using Arduino MEGA 2560 as the microcontroller. The purpose of the programming is to stop the continuous servo motor at certain blockage level to rotate for 1.85 seconds.

However, I keep on running into this error 5001 and I don't know how to fix it despite countless hours of troubleshooting. Please look over my VI and let me know if I did a mistake somewhere.


Download All
0 Kudos
Message 1 of 3
(1,317 Views)

looks like a timeout error.

apparently you are using a 64bit version, can you try on a 32bit version?

 

check this post that have a nice solution for several servo motors at once.

 

https://forums.ni.com/t5/Hobbyist-Toolkit/Servo-motor/td-p/4232131

Jorge Augusto Pessatto Mondadori, PhD
Sistema Fiep
CLAD, CLD
0 Kudos
Message 2 of 3
(1,308 Views)

Hi, thanks for the reply. I already tried running using the 32 bit version, still the same error 5001 that occured. btw, it is only for 1 servo only.

0 Kudos
Message 3 of 3
(1,256 Views)