03-06-2023 12:39 PM - edited 03-06-2023 12:46 PM
After creating a project from the LabView template "FRC Roborio Project" I'm able to build without any issues. I then add a few VIs for my unique software and things compile. Then for some unknown reason the builds will start to fail. The VIs that the system is complaining about are ones that were provided for me. Some of the names of the VIs that are failing are:
RobotMain.vi
NavX Main.vi
WPI_DriverStationStartCommunication.vi
NT Sever.v
WPI_CameraSendImages To PC Loop.vi
CTR_Phoenix_TalonSRX_Open.vi
You get the idea.
Everthing will compile, I'll save the project, and then things won't compile - all without any code changes.
Here is the error message from the build:
Broken VIs:
- NetComm_UnloadCPPStartupProgram.vi
Sub VI not support in current target
- WPI_SerialPortQueryHubPaths.vi
Sub VI not supported in current target
03-06-2023 01:51 PM
Hello Rob_Steele,
Thanks for using the NI forums. I wonder if the problem may be related to the one in this post: Get a NetComm error opening a new default Labview robot code
If it is related, I expect the problem to happen after you connect to the roboRIO device from the LabVIEW project for the first time, since it will detect it as a roboRIO 2.0 and start giving troubles.
Can you upgrade your CompactRIO driver, per the first suggestion in the post, and report back?
Thanks!