03-21-2012 12:06 PM
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.
03-28-2012 09:00 AM
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?
03-28-2012 02:09 PM
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