[Message Prev][Message
Next][Thread Prev][Thread Next][Message
Index][Thread Index]
Possible bug in xPLHVision
- Subject: Possible bug in xPLHVision
- From: "Bob Gardner" <gardner.bob@xxxxxxx>
- Date: Fri, 31 Dec 2004 01:52:29 -0000
Steve,
I think I may have found a timer problem. I defined an action in a
determinator that was supposed to load and start a timer in HV with
one hour and 30 minutes. The parameters I used were:
device=11
type=timer
current=start
data1=01300000
I think this is correct according to your docs. The problem is that
the corresponding dde command sent is:
,=0B0401300000
Two problems - the 04 is the command in HV to reset all timers, this
should be 00 to load and start a timer. Second, although some of the
docs from HV are a little confusing, the time values need to be in
reverse order i.e. SSSSMMHH and they need to be in hex. Thus for an
hour and a half, which is what I wanted, the time string should be
00001E01. While entering the values in reverse into data1 is no real
problem, the 1E caused problems and resulted in an incorrect dde
command.
I tried the other three timer commands - HALT, RESUME, and STOP - and
they appeared to be correct.
I have gotten around this by firing a macro which does the timer
stuff so there is no need to do anything but put it on your list for
a future fix. I just thought you might want it documented.
As always, thanks for everything.
Bob
xPL Main Index |
xPL Thread Index |
xPL Home |
Archives Home
|