NI Home > Community > NI Discussion Forums

LabVIEW

Showing results for 
Search instead for 
Do you mean 
Reply
Member
NewCLAD
Posts: 77

progress bar

y want to show a status bar who will be closed after the operation. The operation is a flashing in memory who is done by a DLL function called in labview VI.

Thank you for your help!!!!and have a nice christmas
Trusted Enthusiast
Trusted Enthusiast
Posts: 2,346

Re: progress bar

LabVIEW 6.1 has various progress bar displays for the front panel under Controls -> Numeric.

Create a property node for the progress bar display you are using.
And set its Visible property to true at the start and to false at the end

the only uncertain is how you will know how much of the "flashing of memory" has occurred.
Is it a set time?
Member
RJay
Posts: 62

Re: progress bar

Most FLASH programming tools/software return a value that can be used for progress. Usually it is the number of bytes programmed thus far. Some (like Tornado VisionClick) allow functions to program in smaller steps (within a loop). In that case, you can provide a value to a progress bar.

So there might be some math involved.
Trusted Enthusiast
chilly_charly
Posts: 3,439

Re: progress bar

I suppose that you can get an estimate of the time required to flash your ROM from the size of the code.
Then you can start a parallel loop to move a progress bar. Use a time slightly larger than your estimate. Stop the loop when the flash is finished.

See the attached vi

You could also run a dedicated vi dynamically, but that's another story ! :smileyhappy:

Merry Christmas and Happy Wiring

CC
Chilly Charly    (aka CC)

         E-List Master - Kudos glutton - Press the yellow button on the left...        
Member
NewCLAD
Posts: 77
0 Kudos

Write in a configuration file

Hi, happy new year to everyone!!!!
I need to modify a Configuration Setting file and for that I use the VI: Write Characters to file.vi available in the function panel but the problem is that the new file generated has a size of 1.83Kbytes instead of 1.81Kbytes despite the fact that this two files had exactly the same contents
I remenber you that I use Labview7.0.............Thank tou very much and best regards
Trusted Enthusiast
chilly_charly
Posts: 3,439
0 Kudos

Re: Write in a configuration file

Probably better to post your question again... Nobody will go down here to help you !
May be you could attach both files in a zipped archive. Somebody could have a look and tell you were is the difference (if any...)

Happy New Wires !

CC
Chilly Charly    (aka CC)

         E-List Master - Kudos glutton - Press the yellow button on the left...        
Active Participant
shoneill
Posts: 1,545
0 Kudos

Re: progress bar

On a side note, I do vaguely remember someone pointing out before that each bend in a wire on the block diagram of a VI takes up space. I believe it was 32 bytes. Sorry if I can't remember who posted the information originally, but I certainly do know I've been avoiding wobbly lines ever since.

Maybe you have the same functions and VIs on the block diagram, but some of the wires have been bent, moved or changed.

Hope this helps

Shane.
Using LV 6.1 and 8.2.1 on W2k (SP4) and WXP (SP2)
Member
NewCLAD
Posts: 77
0 Kudos

Re: Write in a configuration file

Thank CC!! bye
Knight of NI
Ray.R
Posts: 10,584

Re: progress bar

/b shoneill said: "On a side note, I do vaguely remember someone pointing out before that each bend in a wire on the block diagram of a VI takes up space. I believe it was 32 bytes. Sorry if I can't remember who posted the information originally, but I certainly do know I've been avoiding wobbly lines ever since.
" /b


Say what?? you mean a simple bend in the wiring takes up 32 bytes.... each?? -wow-
So much for making the wiring look like a circuit card.. :smileywink:

This is good information to post. Maybe we should start a thread called "LabView: Behind the scenes" where we put tid-bits of info like this.

Thanks Shane & Happy New Year.

Ray
______________________________________________________________________
Kudos!!!! Gimme Kudos!!!! It's that little golden star on the left below my avatar... :smileyhappy:
Member
MonkeyKK
Posts: 3
0 Kudos

Re: progress bar

I have a problem on the progress bar. the progress bar keep coming up when i press stop. i Have already check the while and for loop.  Can anyone help?