View Full Version : Panic Mode Programming Guide
bvisness
12-02-2013, 19:01
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.
https://docs.google.com/document/d/1XG2kYRg-vpUs1A8yr9Yq7yVSGuQv-iNi6DVR0yS7cqI/edit?usp=sharing
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.
propionate
12-02-2013, 19:07
Hey this looks pretty fantastic. Let me know if you need any help editing/adding content.
Greg McKaskle
12-02-2013, 20:13
I like it. Two thumbs up.
Greg McKaskle
bvisness
12-02-2013, 20:56
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.
plnyyanks
14-02-2013, 10:31
Very nice job. If you'd like me to help expand it further, shoot me a PM, I'd be happy to.
I don't know if Google Docs supports it, but it would be pretty awesome if some of the little code screenshots were VI Snippets (http://www.ni.com/white-paper/9330/en) and draggable into LV.
Very clearly written and easy to follow.
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).
Joe Ross
14-02-2013, 12:20
I like it. It's like 358's LabVIEW Common Operations (http://team358.org/files/programming/ControlSystem2009-/LabVIEW/), but with more explanation.
One note on the compressor, you also need to enable the compressor loop in periodic tasks.
bvisness
14-02-2013, 21:24
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.
vBulletin® v3.6.4, Copyright ©2000-2017, Jelsoft Enterprises Ltd.