# REVLib

{% hint style="success" %}
January 4, 2025 Update -&#x20;

Documentation for REVLib 2025 can now be found at: <https://docs.revrobotics.com/revlib>

Please bookmark our new page as we transition over and add more information there!
{% endhint %}

Below you will find information on how to download and install REVLib for LabVIEW, Java, and C++.

<table data-header-hidden><thead><tr><th></th><th width="222.33333333333331" align="center"></th><th align="center"></th></tr></thead><tbody><tr><td><strong>Language</strong></td><td align="center">Current REVLib Version</td><td align="center">Documentation</td></tr><tr><td><a href="#labview-installation">LabVIEW</a></td><td align="center">2024.2.0</td><td align="center">Embedded (Press Ctrl-H)</td></tr><tr><td><a href="#c++-and-java-installation">Java</a></td><td align="center">2024.2.4</td><td align="center"><a href="#java-api-documentation">Java Docs</a></td></tr><tr><td><a href="#c++-and-java-installation">C++</a></td><td align="center">2024.2.4</td><td align="center"><a href="#c++-api-documentation">C++ Docs</a></td></tr></tbody></table>

## Download and Installation Instructions

### LabVIEW Installation

| [REVLib LabVIEW Download - Version 2024.2.0](https://github.com/REVrobotics/REV-Software-Binaries/releases/download/revlib-2024.2.0/REVLib-labVIEW-2024.2.0-0_windows_all.nipkg) |
| :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |

1. Download the latest REVLib LabVIEW package from the download link above.
2. Make sure LabVIEW for FRC 2024 is installed and updated.
3. Open the REVLib LabVIEW Package. The NI Package Manager should automatically open.
4. Click **Next**:

   <figure><img src="https://2227700800-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhYImTnzBVrovYdNTo9N8%2Fuploads%2FOdcdhdL2nRCTGpskaB1L%2FLabVIEW-REVLib-Instal_1.png?alt=media&#x26;token=76f8dc53-f707-4ddb-9125-16f6a0301e46" alt=""><figcaption></figcaption></figure>
5. Once the installation is complete, you will be able to access the REVLib VIs at **LabVIEW Functions Pallet -> WPI Robotics Library -> Third Party -> REV Robotics**.

   <figure><img src="https://2227700800-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhYImTnzBVrovYdNTo9N8%2Fuploads%2FvToSyXd0jz62uq4JY1EH%2FLabVIEW-REVLib-Instal_2.png?alt=media&#x26;token=11121967-0404-48d1-8f3f-c0257aeca0b5" alt=""><figcaption></figcaption></figure>

### C++ and Java Installation

| [REVLib C++/Java Download- Version 2024.2.4](https://github.com/REVrobotics/REV-Software-Binaries/releases/download/revlib-2024.2.4/REVLib-offline-v2024.2.4.zip) |
| :---------------------------------------------------------------------------------------------------------------------------------------------------------------: |

#### Online Installation

You can use the online method to install REVLib C++/Java if your development machine is connected to the internet:

1. Open your robot project in VSCode.
2. Click on the WPI icon in the corner to open the WPI Command Pallet.
3. Select **Manage Vendor Libraries**.
4. Select **Install new library (online)**.
5. Enter the following installation URL and press ENTER:

   [`https://software-metadata.revrobotics.com/REVLib-2024.json`](https://software-metadata.revrobotics.com/REVLib-2024.json)

#### Offline Installation

1. Download and unzip the latest REVLib into the *C:\Users\Public\wpilib\2024* directory on Windows and *\~/wpilib/2024* directory on Unix-like systems.
2. Follow the WPILib instructions for [Adding Offline Libraries](https://docs.wpilib.org/en/latest/docs/software/vscode-overview/3rd-party-libraries.html#adding-offline-libraries).

## Java API Documentation

For a list and description of all classes:

* [Online REVLib Java Documentation](https://codedocs.revrobotics.com/java/com/revrobotics/package-summary.html)

## C++ API Documentation

For a list and description of all classes:

* [Online REVLib C++ Documentation](https://codedocs.revrobotics.com/cpp/namespacerev.html)
