View Single Post
  #3   Spotlight this post!  
Unread 13-01-2009, 18:47
Tanner's Avatar
Tanner Tanner is offline
Registered User
FRC #1261 (Roblions)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Suwanee, GA
Posts: 311
Tanner is a splendid one to beholdTanner is a splendid one to beholdTanner is a splendid one to beholdTanner is a splendid one to beholdTanner is a splendid one to beholdTanner is a splendid one to behold
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
Reply With Quote