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: xFx Error




------=_NextPart_000_0608_01C53385.4B6B0920
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit

Hi Guys

I found that this exception occurs more often when more threads are
outputting messages at the same time.
Perhaps the List View is not thread safe?

When the exceptions were occurring in the TX and RX threads it was losing
data :(

So I tried making a queue (similar to the xAPQueue that Edward uses in the
X10 connector) for the messages and having a single thread to call the
OutputMessage() function.
So far I have not had one of these exceptions occur. Although the display
does run behind the actual events sometimes.

Regards
Paul


_____

From: Edward Pearson [mailto:edward.mailgroup@xxxxxxx]
Sent: 27 March 2005 23:03
To: xAP_developer@xxxxxxx
Subject: RE: [xAP_developer] xFx Error


Yes, the X10 connector gets it too - I just ignore it, nothing seems to go
amiss.

_____

From: Stuart Booth [mailto:lists@xxxxxxx]
Sent: 27 March 2005 22:23
To: xAP_developer@xxxxxxx
Subject: Re: [xAP_developer] xFx Error


On Sun, 27 Mar 2005 18:38:56 +0100, "Paul Barrett"
<pbarrett@xxxxxxx> wrote:

>I have been working on my connector for the last few days and now that
it
is
>writing quite a lot of messages to the GUI Runtime display the
following
>error is occurring from time to time.

[munch]

>Any ideas? Or is it just that I'm writing to many messages to the
display?

Oh, it's not you, that's a long standing error of mine that I've only
ever seen now and then and never looked into too deeply. It's not
terribly reproduceable from what I recall.

Just ignore it for now if you can, it's a 'feachur' ;-) I'll dig it up
if I can.

S
--
Stuart Booth <stuart@xxxxxxx>
xAPFramework.NET - a xAP software development framework for .NET

http://www.xapautomation.org/ 
     http://www.xapframework.net/




xAP_Development Main Index | xAP_Development Thread Index | xAP_Development 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.