FIRST Robotics Competition Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Getting Old Code Running on the New Driver Station

Solved!
Go to solution

Note: This attempt is after Upgrading to LabVIEW 2011 after completely uninstalling 8.6.

I'm trying to load up our old program from last years competition so that our old bot can be controled from this current year's driver station... Along with some modifications so that we can use the Kinect with it. (That thing is really cool Ô¿Ô)


I've gone through the usual steps...

Imaged the cRIO, Installed all the updates, Driverstation... etc.

Upon rebuild I get this error:

Error 6 occurred at Delete in AB_Engine_Delete_Internal_Files.vi->AB_RTEXE.lvclass:Build.vi->AB_Engine_Build.vi->AB_Build_Invoke.vi->AB_Build_Invoke.vi.ProxyCaller

Possible reason(s):

LabVIEW:  Generic file I/O error.

C:\Users\Matthew\Dropbox\W. T. Clarke\2012\Code\2011 Kinect Mod\c\ni-rt\startup\startup.rtexe

I'm suspecting I need the old updates/software addons (Which I can't seem to locate)

Any tips / tricks so I need not recode the entire getup?

If I'm correct can someone send me the files I need?

FYI: I've gotten the default canned code examples to run sucessfully on both our controllers.

I must say again that Kinect looks really cool.

0 Kudos
Message 1 of 11
(6,546 Views)

Hey 569,

I don't think you will need the old LabVIEW Updates. Do you only get this error when building your executable? If you haven't already I would try running the project in interactive mode (by clicking the run arrow on Robot_Main). I hope that will give some more information about what specifically might be missing from the project.  I suspect there are some dependencies that need to be updated.

Kevin Fort
Principal Software Engineer
NI
0 Kudos
Message 2 of 11
(4,054 Views)

Kevin_F,

I have never ran code that way in the past.

Upon trying that, it seems that there are no problems running in that manner.

Except the usual issues that I've clicked through in the past:

issues.png

(Same "Conflict message" for each bolded item)

Note:  When I said:

I've gone through the usual steps...

Imaged the cRIO, Installed all the updates, Driverstation... etc.

I was referring to installing all the updates for the softwares from the website as dictated by the document on the FIRST website and your website:

http://www.usfirst.org/sites/default/files/uploadedFiles/Robotics_Programs/FRC/Game_and_Season__Info...

0 Kudos
Message 3 of 11
(4,054 Views)

Hey 569,

You will get those conflict messages since you have a start up executable already running on the cRIO. Its normal to just click OK on that message. Its more of a notification than an error. If the project runs normally in this mode then I would create a new build specification in your FRC 2012 project instead of using the one imported from last year. There are probably some old paths in that build specification that need to be updated but it is a relatively short setup process to just create a new one. Post back if you have any questions on that or if you continue to see the issue after creating the new build specification.

Kevin Fort
Principal Software Engineer
NI
Message 4 of 11
(4,054 Views)

Kevin_F,

So, just to clarify, you want me to create a new project and drop in the old VIs for telop, autonomous, begin, & any others needed?

0 Kudos
Message 5 of 11
(4,054 Views)
Solution
Accepted by topic author 569

Hey 569,

Sorry for the confusion. Not a new project just a new copy of the build specification (the last thing in the project). I would just delete it then right click build specifications and select New RT EXE.

Kevin Fort
Principal Software Engineer
NI
0 Kudos
Message 6 of 11
(4,054 Views)