Quote:
Originally Posted by Gdeaver
The Key to Successful programming a robot in Labview is to understand the concept of data flow. Many of the text for Labview state that a procedural programming mindset can cause problems, but do not define or give very good examples of exactly what data flow means. There is an opportunity for some one to write a paper on data flow best practices. This would help the FRC community allot. Anyone up to the challenge? The next big thing that could help with the robot programming is a good tutorial on state machines. There are some good college level text on the subject but most students seam to have problems comprehending them. Another opportunity for a white paper. This year our robot code was much more complex than previous years. We had some serious control problems. As the the season progressed and the code evolved, it went from a procedural flavor to data flow and our problems resolved. This happened by experimentation not by design. The question is how to teach these concepts to new Labview programmers.
|
Wow, great post, you hit the nail on the head. The only thing I would add is a brief but usable explanation of the realtime and multitasking aspects of LabVIEW in the FRC context (LabVIEW FRC Framework). Or perhaps this could be integrated into the main topics you mentioned. From posts I have read this season and from personal experience, that was a big stumbling block for many new FRC LabVIEW users.
~