Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   WPI Robotics library updates (http://www.chiefdelphi.com/forums/showthread.php?t=123089)

GuyM142 13-12-2013 05:30

WPI Robotics library updates
 
I want to write some code in LV 2012 for FRC 2013 that will work for the coming season.
Does the update that will come in January updates the library automaticly?
I mean, Does code that was written before the update will be updated to the new version without rewriting it? (bug fixes etc.)

Greg McKaskle 13-12-2013 06:51

Re: WPI Robotics library updates
 
Yes, provided you are using the library and not modifying the library.

The functions that open, update, and close a servo, for example, are not a part of your project. They belong to the WPILib library and your code references them. They are listed in your project under dependencies.

When the new version is installed, a newer version of that library is installed in the new version of the tool. The older version will still be located in the older location.

When your code is loaded in the newer version of the tool, it will load the newer dependency library.

Greg McKaskle

Joe Ross 13-12-2013 11:05

Re: WPI Robotics library updates
 
Quote:

Originally Posted by GuyM142 (Post 1311631)
I want to write some code in LV 2012 for FRC 2013 that will work for the coming season.

Make sure that your re-use of code is legal per R16 (or the equivilant in next years rules).

GuyM142 13-12-2013 11:45

Re: WPI Robotics library updates
 
Quote:

Originally Posted by Joe Ross (Post 1311714)
Make sure that your re-use of code is legal per R16 (or the equivilant in next years rules).

I didn't know that, Thank you :)

Quote:

Originally Posted by Greg McKaskle (Post 1311633)
Yes, provided you are using the library and not modifying the library.

The functions that open, update, and close a servo, for example, are not a part of your project. They belong to the WPILib library and your code references them. They are listed in your project under dependencies.

When the new version is installed, a newer version of that library is installed in the new version of the tool. The older version will still be located in the older location.

When your code is loaded in the newer version of the tool, it will load the newer dependency library.

Greg McKaskle

Got it! :) Thank you.


All times are GMT -5. The time now is 09:47.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi