dhoward Admin Group
Joined: June 29 2001 Location: United States
Online Status: Offline Posts: 4447
|
Posted: February 02 2006 at 17:16 | IP Logged
|
|
|
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.
|