View Full Version : question regarding labview and framework...
Hey guys i have a quick question.
Last year when i was still a student on our team and was programming, i was using the basic architecture within lab view. This year when i am a mentor and helping out the programmers program the robot i noticed that the basic architecture has been removed. Is there any way to get this back? I am having the hardest time trying to grasp the concept of the advanced architecture...
Thanks guys,
dani
Greg McKaskle
21-02-2010, 15:20
You can of course program like that, but we made some changes and thus far seem to be pretty successful getting everyone to use the more modular framework, the one called advanced last year.
The framework has lots of comments, and the idea is to visit the Team Code functions adding and modifying. What specific issues would you like more info on?
Greg McKaskle
Egg 3141592654
26-02-2010, 12:12
I agree with you to an extent. This year's framework is not much different from last year's basic. Here's what is different.
- Each vi is run through a loop AUTOMATICALLY, so no while loops around all of the meaty parts of the code
- Begin == all of anything the robot uses being opened and set into globals (setNumRegestry for this year which replaces annoying global vars)
- Autonomous from last year has been bisected into one of two choices (iterative or Independent)
- Teleop is teleop
- Finish is where everything closes
- everything else is for things like recalibration and what not
Basically, it terminates each program when told without loops, and everything is run from the Main.vi vi. I personally think that this setup made things more specific and complex, while keeping it general enough for anyone to use.
vBulletin® v3.6.4, Copyright ©2000-2017, Jelsoft Enterprises Ltd.