LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Issue with Custom Needle Image Rotation on Speedometer Gauge

Hi everyone,
I am trying to customize a standard LabVIEW Speedometer/Gauge control by replacing the default needle with a custom image, but I'm running into a rotation logic issue.
The Problem:
When I import my custom image (originally 12x150 px) onto the needle part in the Control Editor, the needle moves along the gauge arc but stays vertically static—it doesn’t rotate to point at the numbers.
What I've Tried:
I followed the common advice of placing the needle on a transparent square canvas (300x300 px) with the base of the needle positioned at the exact center (150, 150) to create a pivot point.

I want the custom image to behave like a standard vector needle where the base stays fixed at the gauge center and the tip rotates to indicate the values.
Any advice or example .ctl files would be greatly appreciated!
 
Screenshot 2026-04-22 172855.png

0 Kudos
Message 1 of 2
(67 Views)

Why not start with a Gauge control?  You can easily change the lower and upper limits, and make the lower and upper limits, say, 0 and 100 (mph).

 

Bob Schor

0 Kudos
Message 2 of 2
(35 Views)