R
Richard
I am sorry to say that this is a boring work related
question. I will give a small bit of background before I
get to the relevant bit.
We have a production line which is run using a RSLOGIX
PLC. This line also has 6 WIN 2K PC's which run/control a
vision system each. Each of these Vision system
applications adds to various logs on each of the PC's as
the production line is running. These logs are started at
00.00 hours every day and by the end of the 24 hour period
there could be 4 different log files, each of which are
over 3-4 Mb of a text file. The problems occur as the
Vision application tries to close these huge files and
create a new empty log file with a different date in the
title name. This hangs the Vision applicattion and
sometimes the PC. This costs about 10 minutes downtime
spread across every line at the same time. I have changed
the PC time of each different PC on the line to stagger
the effect that would occur if all of these PC's were to
hit 12 midnight at the same time but it still causes us
grief. The question I am asking is the following -
Can I write a macro/program which will be able to
automatically rename these text logfiles at a time which
would be referenced to the real time on the PC clock. This
means that the Vision applicattion will not be closing
these huge files, but explorer would. And this I hope
would prevent the hanging of the PC's
Any help
question. I will give a small bit of background before I
get to the relevant bit.
We have a production line which is run using a RSLOGIX
PLC. This line also has 6 WIN 2K PC's which run/control a
vision system each. Each of these Vision system
applications adds to various logs on each of the PC's as
the production line is running. These logs are started at
00.00 hours every day and by the end of the 24 hour period
there could be 4 different log files, each of which are
over 3-4 Mb of a text file. The problems occur as the
Vision application tries to close these huge files and
create a new empty log file with a different date in the
title name. This hangs the Vision applicattion and
sometimes the PC. This costs about 10 minutes downtime
spread across every line at the same time. I have changed
the PC time of each different PC on the line to stagger
the effect that would occur if all of these PC's were to
hit 12 midnight at the same time but it still causes us
grief. The question I am asking is the following -
Can I write a macro/program which will be able to
automatically rename these text logfiles at a time which
would be referenced to the real time on the PC clock. This
means that the Vision applicattion will not be closing
these huge files, but explorer would. And this I hope
would prevent the hanging of the PC's
Any help