[Message Prev][Message
Next][Thread Prev][Thread Next][Message
Index][Thread Index]
RE: VB Updates
- Subject: RE: VB Updates
- From: Tony T
- Date: Sun, 09 Feb 2003 15:13:00 +0000
> Can you detail, so that i can merge into homebrew sw
The changes are to the heartbeat intialisation routine, that was at the end
of my main form_load sub
The changed line and new line (the last line) are marked ***
' intialise heartbeat
If xPL_Interval < 5 Then xPL_Interval = 5 ' xpl minimum
If xPL_Interval > 30 Then xPL_Interval = 30 ' xpl maximum
*** xPL_Timer = xPL_Interval - 1
tmrxPL.Enabled = False ' hold heartbeat
tmrxPL.Interval = 60000
Call tmrxPL_Timer
tmrxPL.Enabled = True ' start real heartbeat
*** xPL_Timer = xPL_Interval - 1
This causes a heartbeat to be sent immediately on launch,
A second after 1 minute (in case hub had not loaded)
Then it falls back to 5 minutes (or 5 to 30 depending on set interval)
It's worth noting that if the initial heartbeat class is 'config.' then the
Heartbeat is sent at one minute intervals until a configuration is
received.
Tony
xPL Main Index |
xPL Thread Index |
xPL Home |
Archives Home
|