The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024


[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]

RE: Possible pauses with xPLHAL



It's not something I have seen myself - have you tried using a script
and recurring event in xplhal to send the messages ithout any
inbound/outbound conflicts?

It strikes me that the guys have been able to use menus in things like
Dell DDARS etc without any noticeable pausing, but lets see if we can
figure out what's wrong.

Hmm. On further thought - it may be the manager that's freezing rather
than xplhal itself.

Can you tell me which version of each you are using, and I'll see if I
can replicate it here?

Ian.

-----Original Message-----
From: ukha_xpl@xxxxxxx [mailto:ukha_xpl@xxxxxxx] On
Behalf Of Neil Wrightson
Sent: 19 July 2005 11:53
To: ukha_xpl@xxxxxxx
Subject: [ukha_xpl] Possible pauses with xPLHAL

Hi,

In previous posts I mentioned that I was developing software to go onto
a LCD terminal, basically a LCD screen with 16 chars by 2 lines and five
push buttons. This all works.

To check the operation I wanted to send an xPL message to it every
second.
So basically I wanted to emulate a clock.
I'm only new to the xPL camp and could not find a method of getting xPL
to do this, so I resorted to MisterHouse to transmit the messages. It
sends the Date and Time to my device via xPL every second and the LCD
display performs the required clock function.

But, I have one problem. It appears that xPLHAL is pausing every minute.

Misterhouse sends the Date and Time every second via port 3865. Via some
diagnostics in MH, it appears that MH is not doing any pausing.
In the xPLManager Monitor I can see the messages coming in from MH.
Approximately every minute the monitor pauses and does not show any
updates.
For example
20:28:59 Last Message received.
20:29:12  messages start scrolling again.
Approximately 1 minutes worth of scrolling messages
20:30:16  Last Message received.
20:30:30  messages start scrolling again.
Approximately 1 minutes worth of scrolling messages
20:31:34  Last Message received.
20:31:46  messages start scrolling again.

So it appears that the manager is pausing approximately every minute for
about 12..15 seconds.
The messages from MH during this period are lost as far as the monitor
is concerned.

But, the messages are being sent from MH because after the pause in the
monitor, the LCD then plays catch up with all of the incoming date/time
messages and madly displays the 12..15 updates that did not show on the
monitor. This is also evident by the large flow of data on the serial
port.
So it appears the xPLHAL is receiving the messages but pausing and
caching these every minute and then dumping the cache messages to the
serial port via xPL DEVCOM.

This is what I have running
Misterhouse
xPLHAL
xPL DEVCOM
16*2 LCD board connected to xPL via xPL DEVCOM.
I do not have any plug ins and xPLMonitor is not required to be running
to generate the pauses.


Any ideas??

Regards,

Neil Wrightson.




[Non-text portions of this message have been removed]



xPL Links: http://www.xplproject.org.uk http://www.xplhal.com
http://www.xpl.myby.co.uk To Post
a Message: ukha_xpl@xxxxxxx To
Subscribe:  ukha_xpl-subscribe@xxxxxxx
To Unsubscribe:  ukha_xpl-unsubscribe@xxxxxxx

xPL Main Index | xPL Thread Index | xPL Home | Archives Home

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.