Welcome, Guest. Please login or register.
Did you miss your activation email?
May 27, 2012, 11:52:43 PM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Mach Discussion
| |-+  VB and the development of wizards
| | |-+  Oxy Fuel Safety timer
Pages: « 1 2   Go Down
Print
Author Topic: Oxy Fuel Safety timer  (Read 718 times)
0 Members and 2 Guests are viewing this topic.
sinkyster
Active Member

Offline Offline

Posts: 22


View Profile
« Reply #10 on: July 13, 2011, 03: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!  Wink

THNX!
Logged
Sargon
Active Member

Offline Offline

Posts: 99


View Profile
« Reply #11 on: July 13, 2011, 05: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
Logged
sinkyster
Active Member

Offline Offline

Posts: 22


View Profile
« Reply #12 on: July 14, 2011, 09:56:49 AM »

Yes, I can change it. I currently have it at 10s for testing purposes.

C
Logged
Sargon
Active Member

Offline Offline

Posts: 99


View Profile
« Reply #13 on: July 15, 2011, 04: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.
Logged
Pages: « 1 2   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!