|
Re: Weird missing files during build?
Those VIs are part of the DriverStation.lib. They should be in the palettes in the lower left subPalette of WPILib.
There is a strange issue with RT and unreachable code where the compiler sometimes takes out code inside of a switch or code which has a constant expression wired to it. But later when the files are ready for download, another part of the compiler gets confused because it cannot find some of the files it believes it needs.
If you open Robot main, the default code was calling it with the vision target globals. If you right click and Find all Instances, it will show you where the code uses the High Priority subVI. This may help locate all the locations.
If you do have an issue with the constant wired to the switch, you can instead use the Diagram Disable structure, basically the comment structure.
Greg McKaskle
|