|
Re: 2 Dashboard Issues: Build Error and IMAQ Vision VIs
The camera settings can be changed at runtime. That is what the Set Image Size, Set Image Compression , etc. are doing. When making WPILib, we only wrapped some of the camera settings, and rotation didn't seem as commonly used as the others.
I'll describe this in terms of LV, but you should be able to do the same with other languages.
On a new VI, use the palettes to drop the Camera>>Set Camera Compression VI. Now double click it and flip to the diagram to look at its source code. All it does is state which parameter to change and what value to change it to. You should be able to Save As to a new name Opening the Additional Copy. Change the icon, change the string constant to rotation, and change some of the parameter names.
Most of the LV camera stuff works on laptops or cRIO, so you can test this from a PC connected to the camera.
Post back if you run into issues.
Greg McKaskle
|