Checking to see if the roof is off
Posted: Tue Jun 30, 2026 1:19 am
I have my scope at a remote site and I have a script that will read their web site and give a text file containing open or closed for the roof disposition.
If I have something like this:
REPEAT UNTIL 9:00 AM
LOOP 10000 TIMES
RUN THE SEQUENCE OF STEPS IN "xxxxxx"
WAIT 1 MINUTE
END LOOP
END REPEAT
End SEQUENCE
At first the the file xxxxx contains spaces so nothing happens.
I am running a script file every minute that will copy over an entire sequence run to replace the old empty xxxx with a full sequence run xxxx when I know the roof is open. This basically fires off my run when the roof opens. As long as I finish before 9 AM will this work or is there another way?
Thanks
If I have something like this:
REPEAT UNTIL 9:00 AM
LOOP 10000 TIMES
RUN THE SEQUENCE OF STEPS IN "xxxxxx"
WAIT 1 MINUTE
END LOOP
END REPEAT
End SEQUENCE
At first the the file xxxxx contains spaces so nothing happens.
I am running a script file every minute that will copy over an entire sequence run to replace the old empty xxxx with a full sequence run xxxx when I know the roof is open. This basically fires off my run when the roof opens. As long as I finish before 9 AM will this work or is there another way?
Thanks