LAVA 1.0 Content Posted August 15, 2007 Report Share Posted August 15, 2007 Example of using a classic transparent picture ring to show & hide a Mozilla type "throbber" on your front panel. http://forums.lavag.org/index.php?act=attach&type=post&id=6617LabVIEW 8.0 Quote Link to comment
MikaelH Posted August 16, 2007 Report Share Posted August 16, 2007 Hi I've updated the examples to show you have to create a dialog box with shadow effects. I'm using a transparent png background picture created with GIMP. http://forums.lavag.org/index.php?act=attach&type=post&id=6621 (LabVIEW 8.2.1) //Mikael Quote Link to comment
i2dx Posted August 16, 2007 Report Share Posted August 16, 2007 I have one, too http://forums.lavag.org/index.php?act=attach&type=post&id=6624 http://forums.lavag.org/index.php?act=attach&type=post&id=6623 Quote Link to comment
Jon Sweeney Posted August 16, 2007 Report Share Posted August 16, 2007 These are interesting. How do you turn them off? (See desktop snapshot) What can not be seen from the snapshot is that -- all three(!) throbbers are still throbbing even though "throbber.vi" is not running anymore and I have tried to close the "wait dialog with shadow". -- if i move the Lava screen, the "wait dialog with shadow" front panel and stop button move with it. -- if i move the block diagram, its throbber moves with it. I also don't know how the throbber got onto the block diagram. If I delete the block diagram and then open it again, the throbber is still there. I don't know why or how these things are happening, but it is interesting. And it's not even close to April 1. Quote Link to comment
LAVA 1.0 Content Posted August 16, 2007 Author Report Share Posted August 16, 2007 My implimentation uses an animated GIF file. The GIF will always update, even when the VI is not running. I effectively stop the animation when running by selecting a different item in the ring. I should have placed a single frame 1 pixel gif as the first item in the ring; this post was jus a quick example for someone on the Info-LabVIEW mailing list where attachments aren't possible. Note that you can use any type of GIF on the front panel or the block diagram ( didn't mean to leave that there). I included the decoration and custom background color on the fp to show the transparency. Drag and drop a few of the "smileys" from the LAVA forums into a picture ring. Don't get carried away, though. You wouldn't want your VI to start looking like a myspace or geocities page Animated GIFs :thumbup: :headbang: Quote Link to comment
jbrohan Posted August 16, 2007 Report Share Posted August 16, 2007 Here is another one! For LV 7.0 John Quote Link to comment
LAVA 1.0 Content Posted August 16, 2007 Author Report Share Posted August 16, 2007 Simple, and works great! There are so many ways to skin a cat. http://forums.lavag.org/index.php?act=attach&type=post&id=6633 Using the picture ring, you could have a single indicator that shows not connected, connected, busy, error, etc.; update it by value based on an enum (like in a state machine) AND have it animated (almost "for free"). You can do it without property nodes or extra code. Quote Link to comment
PaulG. Posted August 16, 2007 Report Share Posted August 16, 2007 QUOTE(LV Punk @ Aug 15 2007, 01:43 PM) ... There are so many ways to skin a cat. http://forums.lavag.org/index.php?act=attach&type=post&id=6633''>http://forums.lavag.org/index.php?act=attach&type=post&id=6633'>http://forums.lavag.org/index.php?act=attach&type=post&id=6633 ... There are so many ways to beat the crap out of a dog, too. Quote Link to comment
Yuri33 Posted August 17, 2007 Report Share Posted August 17, 2007 Don't animated GIFs use up a lot of CPU in LV? Quote Link to comment
crelf Posted October 15, 2007 Report Share Posted October 15, 2007 QUOTE(Yuri33 @ Aug 16 2007, 12:36 PM) Don't animated GIFs use up a lot of CPU in LV? Nope - it's negligable. Try it yourself - download an run one of the VIs while watching your "Performance" under the "Task Manager". 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.