|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools |
Rating:
|
Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: No Code Error
Quote:
If last year's code runs on the robot, then you haven't updated the image to v19 successfully. |
|
#2
|
|||
|
|||
|
Re: No Code Error
Quote:
I am also not sure that he installed the labview update. Since we are running wind river he may have thought we didn't need it...What would be the effect of not updating that? thanks again... Brian |
|
#3
|
|||||
|
|||||
|
Re: No Code Error
If you didn't update LabVIEW, you didn't get the v19 image that comes with the updated imaging tool.
|
|
#4
|
|||||
|
|||||
|
Re: No Code Error
Quote:
So it's easy to double check. |
|
#5
|
|||
|
|||
|
Re: No Code Error
Quote:
You can tell if the update worked by looking at the version of the image that the imaging tool is trying to send to the cRIO when you enable formatting the controller. |
|
#6
|
||||
|
||||
|
Re: No Code Error
I ended up figuring out the issue on mine, hopefully this helps others:
My target install machine is running Windows 7. According to a Windows guy I know, Microsoft changed the security API for a few different things going from Vista to 7, especially concerning a feature called UAC. UAC does not allow programs to write directly to the C: drive, so certain programs will not function properly. One of these programs that fails (silently) is the WindRiver installer. The solution? Log into an adminstrator account, go to Control Panel -> User Accounts and Family Safety -> User Account. Choose "User Account Control" settings (the infamous UAC). Slide the bar to the bottom, and restart your computer. You have now disabled UAC; you can enable it later (probably after build season). Now for the fun part. Remove WindRiver entirely (i.e. blow away the C:\WindRiver directory). Pop in the WindRiver install DVD and run the setup program. It should install significantly faster. After that, run the update program on the same disk, then install the latest WPI updates. Once you've done that, everything should work properly. Hope that helps! |
|
#7
|
|||
|
|||
|
Yippeee!! everything is finally working....We re-imaged the Crio, made sure 'ALL' the updates were applied to the driver station and the development laptop, compiled then downloaded the BuiltinDefaultCode.out file. Then we added Joe's accelerometer code and fixed the I2C.cpp file. and all still worked.
We had some problems with the IterativeDemo but I we'll revisit that later. The BuiltinDefaultcode is what we will base our robot code on. Thanks to all especially Joe Hersch for all the info and his patience..They don't pay you enough...Every one should send Joe a Starbucks gift card so he can buy enough coffee to keep him awake when he sending those responses at 3 AM.. Brian C |
|
#8
|
||||
|
||||
|
Re: No Code Error
I love Windows 7 and Vista (call me a Micro$oft fanboy; I don't care), but UAC was the one thing I couldn't stand on both Vista and 7. It's the first thing I shut off when I get a new computer with either OS on it. It fixes so many problems instantly...
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Code error? | niagra127 | Programming | 12 | 02-13-2008 08:35 PM |
| Code Error? | darkdwarven | Programming | 1 | 02-08-2008 12:42 AM |
| Error in code light on, trouble finding error | Bryan Herbst | Programming | 16 | 10-12-2007 09:59 PM |
| Code error on RC after downloading "bells and whistles" version of Kevins camera code | DanDon | Programming | 6 | 01-10-2006 06:07 PM |
| C++ Code Error? | Adam Shapiro | Programming | 9 | 01-20-2003 01:24 PM |