LogoLogo
REVLib Docs
  • REV ION Brushless
  • Quick Links
  • Frequently Asked Questions
  • NEO Brushless Motors
    • Brushless DC Motor Basics
    • NEO Vortex
      • Docking a SPARK Flex
      • Vortex Shafts
      • Installing a Shaft
      • NEO Vortex Solo Adapter
    • NEO V1.1
      • NEO V1
      • Pinion Pressing Guides
    • NEO 550
      • Pinion Pressing Guide
    • Dynamometer Testing
    • Motor Comparison
  • SPARK Flex Motor Controller
    • SPARK Flex Overview
      • SPARK Flex Dock
    • SPARK Flex Specifications
    • SPARK Flex Feature Description
      • Power and Motor Connections
      • Control Connections
      • Data Port
      • Mounting Holes
      • Control Interfaces
      • Mode Button
      • Operating Modes
    • SPARK Flex Getting Started
      • Wiring the SPARK Flex
      • Make it Spin!
      • Basic Configurations
    • SPARK Flex Status LED Patterns
    • SPARK Flex Troubleshooting
    • SPARK Flex Operating Modes
  • SPARK MAX Motor Controller
    • SPARK MAX Overview
    • SPARK MAX Specifications
      • Power and Motor Connections
      • Control Connections
      • Encoder Port
      • Data Port
    • SPARK MAX Getting Started
      • Wiring the SPARK MAX
      • Make it Spin!
      • Basic Configurations
    • SPARK MAX Status LED Patterns
    • SPARK MAX Troubleshooting
    • SPARK MAX Operating Modes
    • SPARK MAX Control Interfaces
    • SPARK MAX Configuration Parameters
    • Using Encoders with the SPARK MAX
      • Absolute Encoders
      • Alternate Encoder Mode
      • Securing the Encoder Adapters
      • Calibration for MAXSwerve
  • REVLib
    • REVLib Overview
      • REVLib Changelog
      • Migrating to REVLib 2025
    • Closed-Loop Control Overview
      • Closed Loop Control Getting Started
      • Getting Started with PID Tuning
      • Position Control Mode
      • Velocity Control Mode
      • Current Control Mode
      • Smart Motion Control
      • Smart Velocity Control
    • Code Examples
    • Migrating to REVLib
    • Device Firmware Changelogs
  • Tips and Tricks
    • Anderson Powerpole Connectors
    • REV Hardware Client Documentation
  • Legacy Documentation
    • SPARK Motor Controller
    • SPARK MAX Client
      • Navigating the SPARK MAX Client
      • Updating Device Firmware
      • Recovery Mode with the SPARK MAX Client
      • SPARK MAX Client Troubleshooting
Powered by GitBook
On this page
  • Downloads and Installation Instructions
  • LabVIEW Installation
  • C++ and Java Installation
  • Java API Documentation
  • C++ API Documentation

Was this helpful?

Export as PDF
  1. REVLib

REVLib Overview

PreviousCalibration for MAXSwerveNextMigrating to REVLib 2025

Last updated 4 months ago

Was this helpful?

January 4, 2025 Update -

Documentation for REVLib 2025 can now be found at:

Please bookmark our new page as we transition over and add more information there!

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

Language
Current REVLib Version
Documentation

2024.2.0

Embedded (Press Ctrl-H)

2024.2.4

2024.2.4

Downloads and Installation Instructions

LabVIEW Installation

  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:

  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. 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:

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.

Java API Documentation

For a list and description of all classes:

C++ API Documentation

For a list and description of all classes:

Follow the WPILib instructions for .

https://software-metadata.revrobotics.com/REVLib-2024.json
Adding Offline Libraries
Online REVLib Java Documentation
Online REVLib C++ Documentation
REVLib LabVIEW Download - Version 2024.2.0
REVLib C++/Java Download- Version 2024.2.4
LabVIEW
Java
Java Docs
C++
C++ Docs
https://docs.revrobotics.com/revlib