View Single Post
  #12   Spotlight this post!  
Unread 18-01-2013, 01:46
propionate's Avatar
propionate propionate is offline
Team co-lead and LabVIEW programmer
AKA: Stephen
FRC #1732 (Hilltopper Robotics)
 
Join Date: Jan 2012
Rookie Year: 2009
Location: Milwaukee
Posts: 93
propionate is on a distinguished road
Re: Shooter Targeting with Camera

I don't have a cRIO to test this code on here at home, but here's what I did just now (to a new 2013 robot project) that seems to work:

(Create a back-up of your program before following these steps. If you want to give this thread another day or two to see if someone responds with a more elegant or more correct solution, feel free to do so)

1. Create a copy of the "Rectangular Target - 2013" folder that can be found in your LabVIEW program files (let me know if you need help finding it).
2. Move this copied version of the folder into your project folder
3. Open up your project
4. Right click on Vision Processing.vi and click "replace," then select the Vision Processing VI in the "Rectangular Target - 2013" folder that you just copied.
5. Follow the prompts. You'll be told that there are conflicts. For all of them, select the file that was in your original project - not the one that is in the "Rectangular Target" folder.
6. The final prompt will ask again if you want to use the new Vision Processing VI instead of your original one. Confirm that you want to use the one in the "Rectangular Target - 2013" folder.

Once you save the project, go into the new Vision Processing VI and search for the broken wires. You will have to create a new global variable to replace the one that you told it not to reference anymore.
Reply With Quote