06-26-2014 09:35 AM
Someone created a simple animation here:
Community: Ever wanted to show some process animation using labview?
Can anyone explain ( in steps) how they get a boolean to go thru different pictures when its true then false?? How did they replace the led button w different positions of the fan?
Solved! Go to Solution.
06-26-2014 09:53 AM
Its explained in Creating a Boolean control with pictures
06-26-2014 09:59 AM
To change the other Boolean state to a picture: change back to edit mode (Ctrl-M), change the boolean state and go back to 'customise mode'.
Hope that helps!
06-26-2014 01:43 PM
In addition, if you want to have more than two states you can use a picture ring control with as many different frames as you want. The procedure for creating that is essentially the same as for the custom boolean.
Mike...
06-27-2014 05:12 AM
P@anand in both the examples shown in this discussion ( booleans and fan) if I open the customized control ( fan.ctl or light button.ctl) , right click on the picture then select picture item it shows 4 pictures. Why 4 ?? Why not just 2 and loop on those 2 ( OFF then on then off etc). I couldn't find a thing on Picture Item.
Thanks..
Any recomendation on doing an animation?? Picture ring or boolean control?? I've read picture ring hogs a lot of processor time.
06-27-2014 05:31 AM - edited 06-27-2014 05:32 AM
@Clint_Eastwood1000 wrote:
P@anand in both the examples shown in this discussion ( booleans and fan) if I open the customized control ( fan.ctl or light button.ctl) , right click on the picture then select picture item it shows 4 pictures. Why 4 ?? Why not just 2 and loop on those 2 ( OFF then on then off etc). I couldn't find a thing on Picture Item.
Thanks..
Any recomendation on doing an animation?? Picture ring or boolean control?? I've read picture ring hogs a lot of processor time.
In Boolean for the mechanical actions "Switch when Released" and "Latch when released" has intermediate state while going from 0 to 1 and vice versa, thats what the states you see there. But you cannot activate the intermediate states through code (As far I know).
If you are ok with 2 pictures boolean is good else go for Picture ring as suggested. I haven't done any benchmarking to tell the performance difference between both.
06-27-2014 05:35 AM
thanks...
06-27-2014 08:17 AM - edited 06-27-2014 08:20 AM
another example using pic ring....
edit:having trouble loading zip file
06-27-2014 08:22 AM
Did you attach any file?
06-27-2014 08:27 AM - edited 06-27-2014 08:33 AM