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
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
> 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
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
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
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
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
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
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