[Owfs-developers] 2.7p33

2010-03-27 Thread Paul Alfille
New release 2.7p33 Among many minor changes, the most important are: 1. fix for the swig-dependent routines: owperl owphp and pwpython there was a problem with reading data because the buffer size was allocated properly. 2. Some changes suggested for OSX compilation. Needs testing and furthe

Re: [Owfs-developers] BAE0910 AE Timed output code

2010-03-27 Thread Pascal Baerten
see below 2010/3/27 Rob Conway > Oops sorry, I read BNE as branch if negative however on review its Brand > Not Equal so sorry for my Q1 below. And I assume AIX was a typo for AIS > Could I replace the first couple of lines with CMP.L RTC, L_USERN. > no, CMP require immediate operand2, you ne

Re: [Owfs-developers] BAE0910 AE Timed output code

2010-03-27 Thread Pascal Baerten
> see below > > 2010/3/27 Rob Conway > >> Oops sorry, I read BNE as branch if negative however on review its Brand >> Not Equal so sorry for my Q1 below. And I assume AIX was a typo for AIS >> Could I replace the first couple of lines with CMP.L RTC, L_USERN. >> > no, CMP require immediate oper

Re: [Owfs-developers] BAE0910 AE Timed output code

2010-03-27 Thread Pascal Baerten
see below 2010/3/27 Rob Conway > Pascal, Thanks I understand the concept of starting another process to > handle the relay and duration. > > > I do have a couple of questions: > > 1) I think though that whilst RTC is greater than the ON time the "main:" > will always be writing the duration t

Re: [Owfs-developers] BAE0910 AE Timed output code

2010-03-27 Thread Rob Conway
Oops sorry, I read BNE as branch if negative however on review its Brand Not Equal so sorry for my Q1 below. And I assume AIX was a typo for AIS Could I replace the first couple of lines with CMP.L RTC, L_USERN. I would of liked to be able to still turn the output on even if I missed the time

Re: [Owfs-developers] BAE0910 AE Timed output code

2010-03-27 Thread Rob Conway
Pascal, Thanks I understand the concept of starting another process to handle the relay and duration. I do have a couple of questions: 1) I think though that whilst RTC is greater than the ON time the "main:" will always be writing the duration to UserI thus never alowing loop_till_end1: to

Re: [Owfs-developers] BAE0910 AE Timed output code

2010-03-27 Thread Pascal Baerten
here is the sample: I found this approach easier to have better control from the master. Don't hesitate for any questions. // AutomationEngine assembly source. > // Used for Temperature and Light Control of Reef Tank > // March 2010 by Rob Conway > // > // BAE0910 Direct Connected to Futurlec 4 ch

Re: [Owfs-developers] BAE0910 AE Timed output code

2010-03-27 Thread Rob Conway
I thought it would be easier having the ON time in seconds since midnight so I can compare direct to RTC. The length of time the output is ON needs to be able to vary between 1 minutes to 12 hrs. I know I could hard code the ON / OFF time into the stack however whilst I still have user variables

Re: [Owfs-developers] BAE0910 AE Timed output code

2010-03-27 Thread Pascal Baerten
Hi Rob, Sorry, I was busy to unexpeted work during this week and worked very late everyday. You have to use the firmware I sent earlier. I would create a main process that evaluate start conditions and initate sub process that handle the action until duration. some comments in your code below. I