01-19-2006 11:51 PM
01-20-2006 07:18 AM
01-20-2006 07:26 PM
Ok, call me a big dummy. Still confused. Open File vi outside the while loop with a indicator of the file size, then read the number of bytes/time, passing the current offset through a shift register back to the start of read position. Not sure what you mean here, The pos offset (0) wired to shift register (initialized to 0) right?, then wire the right side of shift register back to the start (read binary vi) of read position.
On the Iteration update, multiply # bytes read X file size = progress.
01-23-2006 06:49 AM
Sorry I was assuming a character file not a binary file, I will have to look at the binary files when I am infornt of labview (not on this machine right now)
Paul
01-23-2006 08:18 AM
01-23-2006 11:02 AM
Any chance you could explain whats going on. ex, Why are you dividing by 200?
thanks for you help.
01-24-2006 02:13 AM
01-24-2006 06:26 PM
01-25-2006 02:27 AM
01-25-2006 08:00 PM
Ok, I think I'm onboard now. I've incorporated your ideas and I think everythings working ok now. I put the example togehter real quick to incorporate your idea. Sorry for the opening and closing of files.
Take a look at my revised example. This is basically what I'm doing in my application at work, writing multiple channels of data to file, closing the file outside the while loop and doing my analysis after opening the file (I had to do this due to buffer problems). I wanted to incorporate the process bar since I didn't know when the EOF was near. You've been extremely helpful. Thanks.
Alv