|
Re: Slow acceleration (LabView)
One thing that we've learned certainly aids in the debugging process is probes and the button I like to call "data flow". I'm sure there is specific technical LabView documentation on this somewhere, but this is what I know. Click on any wire while the program/code is running, and you'll get a look into what that wire is carrying at the moment (might be real time, but I can't remember). Another nice thing is there is a button at the top of the screen that looks kinda like a light bulb (aka "data flow" as I call it). If you press it, you will see the data flow across the screen (no serious, like electrons do in wires in animated movies) along with numbers showing up for where actions occur. Be warned though that "data flow" SEVERELY slows down your code execution for the time is takes the data to flow through your entire VI, and may cause robot damage if you do any motor movement that isn't changed until later in the VI.
Cheers
-Tanner
|