From Saturday, Nov 23rd 7:00 PM CST - Sunday, Nov 24th 7:45 AM CST, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Saturday, Nov 23rd 7:00 PM CST - Sunday, Nov 24th 7:45 AM CST, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
02-28-2014 07:36 PM
On the FRC Dashboard, is it possible to rotate the camera image? I want to have the image rotated 90° counter clockwise because of the camera's sideways positioning, but without going to the Axis Camera Communications settings, but instead by doing it on the Dashboard Project itself. How would I do this via program on Labview, or is there an easier way?
Solved! Go to Solution.
03-03-2014 03:27 PM
Doing this programatically in LabVIEW should be easy enough. You should be able to use the IMAQ Rotate VI to accomplish this task. The following link shows the help file for the VI explaining how it is used.
http://zone.ni.com/reference/en-XX/help/370281P-01/imaqvision/imaq_rotate/
Use this VI in your Vision Processing loop. The easiest way to find this VI in LabVIEW is to open LabVIEW and go to your block diagram, then press Ctrl+Space Bar to open the quick drop menu. Once it opens, type IMAQ Rotate. You can then either press Enter, or select your block diagram with your mouse to place this VI on the diagram.
Regards,
Shane C
Applications Engineer
National Instruments
03-11-2014 05:06 PM
Another problem: The image on the dashboard flickers occasionally. The image reverts to the original rotation for a fraction of a second. Any way to fix this?
03-14-2014 10:23 AM
HI ElectroMancer,
Where are you putting your IMAQ Rotate VI? Could you upload a screenshot so I can see what your code looks like?
Considering the default value is not rotated, if it is flickering, it is probably just switching back and forth between the default value and when it is set. We may just need to change when we are setting it.
03-17-2019 09:30 PM - edited 03-17-2019 09:31 PM
This is old, but I was seeing similar issues in the FRC dashboard when using IMAQ Rotate, where the image flickers between the original and rotated camera image. Here is a image of the code (attached). The custom subVI is only setting a few text and shape color overlays, so it shouldn't be causing the issue. I'm not sure what the clear overlays does, but the name suggests it wouldn't be clearing the image rotation. I am using a camera over NetworkTables.