Hello.
Modal errors occur inside the motion control hardware and can sometimes be hard to pinpoint since they only show themselves after a program is finished running. The exact nature of a modal error can be diagnosed under the 1D Interactive window in the Measurement & Automation Explorer (MAX).
Often times, modal errors result from programs that frequently update their target positions or velocities. With increasingly faster computers, it is possible for a PC to overflow the motion control card's input buffer with new positions and velocities. This will result in a modal error. The way to work around this is to make sure your loop times aren't faster the 10ms. This will guarantee that the motion controller will be able to keep up with your fast computer
.
However, if your motion control board returns "a modal error 0 occured at < >", then you may have a hardware watchdog error and will need to call NI tech support to clear it up.
Please keep us updated on the status.
Kyle V