Ashish Uttarwar Posted January 19, 2007 Report Share Posted January 19, 2007 Guys, I am looking for a circular timer (something like PIE chart) which will indicate the TIME LEFT by filling up the area of circle. Attached VI is my first attempt to do it. I am not familiar with XControl and not intending to go that way either. Any better ideas , examples will be appreciated. Regards, Ashish NB: My application is not too time critical hence I can afford couple of seconds in generating the effects. Download File:post-2466-1169234584.vi Quote Link to comment
Yair Posted January 20, 2007 Report Share Posted January 20, 2007 I can't see your VI, and I wouldn't be surprised if you took the same path, but how about this simplistic approach? Add some bells and whistles and it would be very nice. Download File:post-1431-1169317864.vi Quote Link to comment
Norm Kirchner Posted January 22, 2007 Report Share Posted January 22, 2007 See this post, to see how to interact with the dial numeric control and get it to look like slices of a pie. http://forums.lavag.org/index.php?showtopic=4310 Another thing that would be nice w/ using the dial is that you can easily display the number scale (which would be hell on the picture control) ~,~ Quote Link to comment
Ashish Uttarwar Posted January 24, 2007 Author Report Share Posted January 24, 2007 I wouldn't be surprised if you took the same path Yen & njkirchner, Thanks for your reply. I did follow the post suggested by njkirchner and my sample VI is almost similar to Yen's VI. I want some 3D effects on the timer. I thought, some tricks with overlapping existing circle over Dial Indicator (show/hide/transparent) approach will do it. But, the Dial Indicator START position cannot be changed :headbang: . Hence, I am still trying. Thanks anyways. Regards, Ashish Quote Link to comment
Norm Kirchner Posted January 24, 2007 Report Share Posted January 24, 2007 Yen & njkirchner,Thanks for your reply. I did follow the post suggested by njkirchner and my sample VI is almost similar to Yen's VI. I want some 3D effects on the timer. I thought, some tricks with overlapping existing circle over Dial Indicator (show/hide/transparent) approach will do it. But, the Dial Indicator START position cannot be changed :headbang: . Hence, I am still trying. Thanks anyways. Regards, Ashish Of course you can change the start position of a dial, who said that you can't? What do you need to change it to? Quote Link to comment
Yair Posted January 24, 2007 Report Share Posted January 24, 2007 To rotate a dial you need to place the cursor over the end of the scale and you should get a rotate icon. Clicking and dragging at this point will control this. You should note that doing this at the low end of the scale will cause the scale to be rotated as-is and doing this at the top end of the scale will allow you to control the size of the gap between the end and beginning of the scale. In Norm's example, the scale end (and beginning) are found at the bottom of the dial, where the green and red meet. I wouldn't be surprised if you could get cooler effects from a picture control, but they would require more work. Quote Link to comment
Ashish Uttarwar Posted January 24, 2007 Author Report Share Posted January 24, 2007 To rotate a dial you need to place the cursor over the end of the scale and you should get a rotate icon. Clicking and dragging at this point will control this.You should note that doing this at the low end of the scale will cause the scale to be rotated as-is and doing this at the top end of the scale will allow you to control the size of the gap between the end and beginning of the scale. WOW!!! :worship: That is perfect. Thanks a bunch Yen. Also, thanks to njkirchner. Regards, Ashish Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.