LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I am looking for a indicator like a FLASH LIGH, just show my sequencies moving on.

I am looking for a indicator like a FLASH LIGH, just show my sequencies moving on, so that nobody thinks program stops when it works
0 Kudos
Message 1 of 8
(3,074 Views)
Why not use a progress bar.

From your front panel, go into the Controls Palette, select "Numeric" and pick one of the 4 available progress bar. Pick something that you can measure progress with and wire it to the bar.

If you wish to have a flash-light that moves sideways (like Windows), then try to find the icon and place it within an active loop (s).

I prefere the progress bar. That way, you can have an idea of when it is going to complete. You can even have granular steps that show part of the code is done..

Experiment... and have fun..

JLV
Message 2 of 8
(3,074 Views)
LabVIEW 6.1 and up allow you to put animated GIF files on the panel and on the diagram (we have a picture of a burning computer on one diagram :). You can put an animated GIF in a picture control and hide the control until you want people to see it. We are using an animated hourglass to show that the program is working.

Just a quick and dirty thought.

Rob
0 Kudos
Message 3 of 8
(3,074 Views)
Only problem with this is that if the program actually does stop working (hangs up somewhere), the indicator keeps animating and the user just learns to hate the lying indicator 😉 This is why I curse and swear at the Windows animation of pages flying from folder to folder, which keeps running even when nothing has moved over the net connection for half an hour... or the progress bar in IE5.5 that keeps progressing even though the site is not responding or doesn't exist.

Much better to relate your progress indicator to real progress in the program, if you can...
0 Kudos
Message 4 of 8
(3,074 Views)
Just another thought on this though... you could put the frames of your animation into a pict ring indicator and have your program increment the indicator to animate the picture as the task progresses.
0 Kudos
Message 5 of 8
(3,074 Views)
Agreed with your comments.

Something must show real progress somehow..

JLV
Message 6 of 8
(3,074 Views)
hi detech,

find attached an cutted example, where I use a status line as indicator; write to local variable of this Indicator and it blinks as long as the vi operates.

hope this gives one more idea......

regards
Werner
0 Kudos
Message 7 of 8
(3,074 Views)
Oh I agree with that. Like it said, this is just the quick and dirty way of doing it. You have to lock up the computer to stop the animation (something which we've managed to do a couple of times). A real progress indicator is much better. Instead of just saying "Please Wait" on screen you can also add an animated GIF.

I usually prefer functional programs over "cute" programs, but then, we don't program for ourselves here, but for customers.

Rob
0 Kudos
Message 8 of 8
(3,074 Views)