LabVIEW Interface for Arduino Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

5003 Error

So I have been using the following code to control some dc motors with h bridges successfully. All of a sudden, I am getting a 5003 error...it seems to be happening when I try to write zeros to the ports on either side of the loop. Any idea what may be wrong? It's happening for another code I have using a different type of h bridge.

Slowness0.JPGSlowness1.JPG

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

I would start by trying to simplify the code. Does it happen when you run some of the examples? Can you get a simple VI that replicates the behavior?

Kevin Fort
Principal Software Engineer
NI
0 Kudos
Message 2 of 3
(2,757 Views)

We actually figured out that it was writing to the port outside of the while loop...we didn't really need it so we took it out and the code works now

0 Kudos
Message 3 of 3
(2,757 Views)