I know this is coming a little bit late in the season, but I wrote a document explaining in fairly simple terms how to code a robot using LabVIEW. Hopefully it can help any teams who are scrambling now to get code working on their robot.
I’ll be updating this periodically when I’m not actively testing our own robot’s code. Let me know if you think the guide is missing something important and I’ll be sure to add it.
By the way, please let me know if you see any inaccurate information in my guide! I want to make sure that the guide will be as useful for teams as possible.
I do have one suggestion. Can you find a way to put something in there explaining – in terms the novice can understand – why it doesn’t work to put delays in TeleOp? This is a problem every year for new programmers.
Perhaps you could explain both the state machine approach and the concept of concurrent processing (Periodic Tasks).
Thanks for the feedback! I just tested VI snippets, and unfortunately they don’t work in Google Docs…oh well, it’ll be good practice for new programmers to actually find the VI’s they need.
I’ll clarify the compressor issue (I forgot about that part!) and I’ll try to explain the Teleop delay issue.