08-26-2008 02:45 PM
Hi all, I'm trying to create a customised control that looks like a timer that counts up - kind of. Basically, I want a circular face, like a clock face, that starts blank, and sweeps with a single colour in a clockwise direction until the whole 360deg of circle is full. So, I started playing around with the dial control - removed the scale, and needle, and using the ramp feature I play around with property nodes to sweep the ramp from a zero rotational width to a full 360 degrees. This gives exactly what I want..... nearly.
Please take a look at the attached example (in LV V8.0, 8.2 & 8.5.1). There is a graphical problem. As the colour sweeps around, it's outer radius seems to drift from true. If left running for long enough, this outer radius can reduce to nearly half what it is to start with! There's no control over this radius, it's set by mouse interaction with the control at edit time, so there's no way to restore its value during run-time!
If anyone has any ideas, please help me! This control isn't as neat as I'd like anyway, so if anyone knows of a better way that would be great!
Thoric
08-26-2008 02:51 PM - edited 08-26-2008 02:54 PM
This probably belongs in the LabVIEW forum.
The breakpoint is our social forum... 🙂
Thoric wrote:...so if anyone knows of a better way that would be great!
Use a picture control and draw an arc. 😉
08-26-2008 02:55 PM
08-26-2008 03:22 PM