Search
K

REVLib for SPARK Flex

Below you will find information on how to download and install REVLib for LabVIEW, Java, and C++.
Language
Current REVLib Version
Documentation
LabVIEW
2024.2.0
Embedded (Press Ctrl-H)
Java
2024.2.2
Java Docs
C++
2024.2.2
C++ Docs

Downloads and Installation Instructions

LabVIEW Installation

  1. 1.
    Download the latest REVLib LabVIEW package from the download link above.
  2. 2.
    Make sure LabVIEW for FRC 2024 is installed and updated.
  3. 3.
    Open the REVLib LabVIEW Package. The NI Package Manager should automatically open.
  4. 4.
    Click Next:
  5. 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.

C++ and Java Installation

Online Installation

You can use the online method to install REVLib C++/Java if your development machine is connected to the internet:
  1. 1.
    Open your robot project in VSCode.
  2. 2.
    Click on the WPI icon in the corner to open the WPI Command Pallet.
  3. 3.
    Select Manage Vendor Libraries.
  4. 4.
    Select Install new library (online).
  5. 5.
    Enter the following installation URL and press ENTER:

Offline Installation

  1. 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. 2.
    Follow the WPILib instructions for Adding Offline Libraries.

Java API Documentation

For a list and description of all classes:

C++ API Documentation

For a list and description of all classes:
Last modified 1h ago