02-16-2011 12:37 PM
Hi Guys,
I have read through a couple of posts and most of them point to customizing "Boolean" indicators to show a motor running or not. I have a similar case. When my program is running, I run a motor which drives a belt, effectively a treadmill. I want to create a custom indicator (from a numeric indicator if possible) to animate the running of the belt based on different speeds. Is this possible in LabVIEW? Also, is it possible to have two parameters to control the picture, vis-a-vis' speed and elevation to show the corresponding result on the image?
ANy help and especially more resources on NI forum would be appreciated. Thanks!
V
02-16-2011 01:21 PM
ALso, where in the LabVIEW function finder do I look for Picture ring to create my animation?
02-16-2011 02:11 PM
The picture ring is in the Ring & Enum palette. Remember that you can search the palettes.
In order to animate this you would need a loop that cycles though the items.
You could also use an animated GIF on the front panel, but those tend to be resource hogs.
Did you try a search, as this has been asked numeous times before.
http://forums.ni.com/t5/forums/searchpage/tab/message?q=animated+control#message-list
02-16-2011 03:53 PM
Thanks! I downloaded a gif and split the frames and now have an animated indicator that indicates speed. Cool!
02-16-2011 10:41 PM
here is the example with tab control and gif images
Tushar Jambhekar
tushar@jambhekar.com
Jambhekar Automation Solutions
LabVIEW Consultancy, LabVIEW Training
Rent a LabVIEW Developer, My Blog
02-17-2011 12:18 PM
Tushar,
your example doesn't show what the tab control indicator is or how it is customized. The program looks very simple but I know there is more to it than what meets the eye.
V
02-17-2011 02:30 PM
Heh! It keeps spinning after you click the stop button!
02-17-2011 07:59 PM
its just a classic tab control with color changed to transperent. and each page has a different gif file which spins at different rate.
Tushar Jambhekar
tushar@jambhekar.com
Jambhekar Automation Solutions
LabVIEW Consultancy, LabVIEW Training
Rent a LabVIEW Developer, My Blog