01-06-2009 09:52 AM
Hello
first of all I apollogize if I'm posting in an incorrect place but I'm new.
I am making a very simple VI for calibration of an instrument. I wolud like LV to display a GIF while calibration is operating (eg. CAUTION signal), and once it finishes, change to another GIF (eg. Operate normally signal). Both GI's in the front panel obviously
Any help will be very useful
Cheers
01-06-2009 10:05 AM
01-06-2009 10:34 AM - edited 01-06-2009 10:36 AM
01-06-2009 10:37 AM - edited 01-06-2009 10:39 AM
altenbach wrote:
Use a picture ring indicator with two states.
See? Yet another way. So many choices, so little time...
EDIT: And then altenbach presents yet another way while I'm posting my reply.
01-06-2009 10:42 AM
Yes, since we only have two states, I would go with the customized button. All you'll have on the diagram is a boolean T/F. Couldn't be simpler! 🙂
The picture ring is more useful if you have more than two states. 😉
01-06-2009 10:46 AM
01-06-2009 11:24 AM
Of course I am not exactly sure what the OP had in mind, but I was thinking of relatively small images so VI size should not be an issue.
It can even be saved as a control or type definition so you can globally change it later. If this is used in many places, it can be added to the user palette.
Here's an example of a 50kb control of reasonable area, we would just make it an indicator instead and use different graphics.
01-06-2009 12:59 PM - edited 01-06-2009 01:00 PM
... and if you want to maintain the animation built into the gif
...you could put each gif (ctrl-drag from file explorer to FP) on a seprate tab of a tab control and control which tab page is visable. Hidding the tabs and/or paint the tab control transparent to reduce the image to just the gifs.
Ben
Example is LV 8.6
01-06-2009 05:02 PM
Thanks to all
I used the ring to solve my problem
although I have a little "problem" with the size of the indicator because the images are different, so there is some empty space when the little one is displayed
however this is a detail that is not really important.
I will try the other methods in order to find the one that makes me more "satisfied" and also to get some experience in labview
Cheers