Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
PowerHome Bug Reports
 PowerHome Messageboard : PowerHome Bug Reports
Subject Topic: Nice Error Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
RWCS
Senior Member
Senior Member
Avatar

Joined: October 28 2002
Location: United States
Online Status: Offline
Posts: 102
Posted: February 01 2006 at 10:29 | IP Logged Quote RWCS

Could somebody PLEASE explain this one:


Sure would be nice to make this one go away!!

Bob

Edited by RWCS
Back to Top View RWCS's Profile Search for other posts by RWCS Visit RWCS's Homepage
 
dhoward
Admin Group
Admin Group
Avatar

Joined: June 29 2001
Location: United States
Online Status: Offline
Posts: 4447
Posted: February 02 2006 at 17:16 | IP Logged Quote dhoward

Bob,

It sure would . And it has in the next beta.

What is causing the error is my faith in that the PowerLinc would never receive a bad signal. When incoming X-10 is received, the housecode and the unitcode is a number from 1 to 16. However, instead of just being able to be directly translated (like 5 = unitcode 5), they are jumbled up. So I use an array to unjumble it. Problem is, if bad data is received and the house or unit is greater than 16 then you get the array boundary exceeded error.

Alas, I have realized the error of my ways and now know that bad data cannot be avoided so Ive coded to check if the array is exceeded and thus prevent the message .

The next beta is in pre-release at the moment. I want to warn you however, this version has significant controller changes and is a bit tougher to handle than previous ones.

I'll post a message here shortly when were good to go.

Dave.
Back to Top View dhoward's Profile Search for other posts by dhoward Visit dhoward's Homepage
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum