LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error 7 Phoenix CTRE Libraries on RoboRio LabVIEW 2019 FRC (First Robotics)

Hello, we started a new project with LabVIEW 2021 for FRC (using LabVIEW 2019 version). We wrote some code and the project builds with no errors, deploys and runs expect the CTRE devices give an error and there are no dependency errors, however when we deploy to the roboRIO we get an error 7 for all the CTRE Can Coders, it's the only device that is a Phoenix product right now. We followed the instructions to "run-as-startup" from Phoenix but that doesn't seem to fix this issue. Any suggestions how to resolve the Phoenix libraries errors when running or deploying on the roborio?

 

 

ERROR 7 Call Library Function Node in CTRE_Phoenix_CANCoder_GetAbsolutePosition.vi:3900004->CTRE_Phoenix_CANcoder_GetSensorData.vi:3050003->Swerve Tuner.vi->Periodic Tasks.vi->Robot Main.viLabVIEW: (Hex 0x7) File not found. The file might be in a different location or deleted. Use the command prompt or the file explorer to verify that the path is correct.
ERROR 7 Call Library Function Node in CTRE_Phoenix_CANCoder_GetVelocity.vi:5940005->CTRE_Phoenix_CANcoder_GetSensorData.vi:3050004->Swerve Tuner.vi->Periodic Tasks.vi->Robot Main.viLabVIEW: (Hex 0x7) File not found. The file might be in a different location or deleted. Use the command prompt or the file explorer to verify that the path is correct.

0 Kudos
Message 1 of 2
(1,048 Views)

Hello,
Error 7 can be seen when Phoenix VIs are called and library files aren’t on the roboRIO.This means that you don’t have the Phoenix libraries on the rio. In LabView, you have to do a permanent deploy once so they are moved over. Make sure you have installed the newest Phoenix framework. The previus had labview deploy problems. Also as you can see , per the note in the documentation you may need to re-start your roboRIO after doing a “Run as Startup” for the libraries to be found correctly.

0 Kudos
Message 2 of 2
(999 Views)