Hello Guest it is March 28, 2024, 10:09:40 PM

Author Topic: Oxy Fuel Safety timer  (Read 6256 times)

0 Members and 1 Guest are viewing this topic.

Re: Oxy Fuel Safety timer
« Reply #10 on: July 13, 2011, 04:43:32 PM »
Thanx for all the help. I'm almost finished with it. Only one thing didn't work... I can't get the DRO to show the actual time being counted down (25 to 0)

I'll just keep on to battle with it, and when I have a bit more time I'm sure I will get it working!  ;)

THNX!
Re: Oxy Fuel Safety timer
« Reply #11 on: July 13, 2011, 06:39:39 PM »
Can you confirm that you are able to change it with the script at all? E.g. Change it once with the script to a different value and confirm that it does change.

Chris
Re: Oxy Fuel Safety timer
« Reply #12 on: July 14, 2011, 10:56:49 AM »
Yes, I can change it. I currently have it at 10s for testing purposes.

C
Re: Oxy Fuel Safety timer
« Reply #13 on: July 15, 2011, 05:43:15 AM »
Try this little bit of code. It should count up on the A axis from 0 to 10. This works here, could you please try it?

Dim tstart As Long
Dim elapsed As Integer

tstart = Timer
Do
   elapsed = Timer - tstart
   SetOEMDRO(803, elapsed)
   Sleep(250)
Loop While elapsed < 10

If this works but you can't get your script to work, please post your code. Must be something minor.