Log in

View Full Version : Default code doesn't seem to match documentation


finman
18-12-2008, 11:50
i have been trying to follow the programming tutorial for labview for first from the documentation on:

http://decibel.ni.com/content/docs/DOC-2631

one of the first steps says to change the booleans called RightMotorInverted and LeftMotorInverted in the teleop.vi panel; i do not see these variables. has the default code changed since the tutorial was written? is there an updated tutorial?

sparrowkc
18-12-2008, 12:03
http://usfirst.org/community/frc/content.aspx?id=10934

Have you done all the software updates on this page? The NI update changes the default template, and updates the image used by the crio imaging tool. You need to reformat the crio before the updated default code will work on it.

Alan Anderson
18-12-2008, 12:28
We found -- and changed -- those two boolean values without difficulty yesterday. It did take us two tries to get them to match the way our practice drivebase's motors were wired, but they weren't hard to find.

finman
18-12-2008, 12:40
i have installed all the updates listed on the page, as well as updating the image on the crio, but i still cannot find those variables. are they directly on the teleop vi?

Mark McLeod
18-12-2008, 13:27
For Basic Framework - in the Block Diagram for "Basic Robot Main.vi" on the top left you'll see them. (I'd recommend not using the Basic template for now- it has a bug that I'm sure a later patch will fix.)

For Advanced Framework - in the Block Diagram for Begin.vi towards the bottom in the center "column" you'll see them.

Documentation always lags production sw...

When you created your project did you see the choice for Basic vs Advanced framework shown the the right photo below?
If not then you haven't installed the LabVIEW FRC update.