The .vi didn't work for me because the system I work on runs 6.1.
So far as the loss of the internet yesterday. It wasn't the back-hoe, it was the fence company who drove about a dozen metal poles for a chain link fence through the buried cable. Seems the cable company marked where the cable was with orange paint. Then the fencing forman marked where the fence was supposed to go with orange paint, 8 inches away from and perfectly parallel to the cable line. Then the workers drove the posts on the wrong line.
In case you are wondering what the heck I am actually doing.
I maintain a MXProline process control system. The software is written in Labview.
The product we make comes off the line in rolls.
All the data for each roll is stored in a SQL database.
Each roll is numbered.
I had previously written a .vi that watches the roll number and then collects stored data from the SQL database and dumps that into a text file.
They wanted to also be able to look and see what the machine speed and several other parameters were throughout each roll. Since the MXProline didn't do that I had to write another .vi to collect that data live.
The new .vi monitors the roll number, and while the roll number has not changed makes the boolean we have been talking about go true.
That activates a while structure that starts checking certain values every ten seconds, and dropping that into arrays.
When the roll number changes a false is generated which stops the while structure, and sends the data in the arrays to be printed into a file.
The system is meant to be a control system, and didn't have the capability of giving us the data we wanted in electronic format so the bean counters and quality guys, and so forth can crunch the numbers.
So I set out to build this .vi It is finished and appears to be working fine.
And I very much appreciate the help you gave me in accomplishing this!
Thanks again
Bill