|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Default code doesn't seem to match documentation
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? |
|
#2
|
|||
|
|||
|
Re: Default code doesn't seem to match documentation
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. |
|
#3
|
|||||
|
|||||
|
Re: Default code doesn't seem to match documentation
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.
|
|
#4
|
||||
|
||||
|
Re: Default code doesn't seem to match documentation
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?
|
|
#5
|
|||||
|
|||||
|
Re: Default code doesn't seem to match documentation
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. Last edited by Mark McLeod : 18-12-2008 at 13:49. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Code for sensor still doesn't work | Ianuser | Programming | 3 | 14-02-2007 10:17 |
| Problems integrating CMUCAM code and IFI Default Code | Windward | Programming | 2 | 06-02-2007 16:48 |
| even simple autonomous code doesn't work?? | colman77 | Programming | 4 | 17-02-2006 23:58 |
| problems using gyro/adc code with camera default code | tanstaafl | Programming | 7 | 22-01-2006 23:09 |
| Inserting Naviagation code into Default code? | actorindp | Programming | 3 | 28-01-2004 18:12 |