Lou Apo said:CAI is currently considering dropping the non-blocking delay on variables so they can double the number of variables.
Thanks Lou, you could have offered that little tidbit up in post 44, would have saved me about an hour.Lou Apo said:Absolutely no way you can have a different non-blocking delay for each bit. The non-blocking delay applies to the entire value of the variable, not each individual bit. You have to wait for the delay to expire on one bit before you can do a delay on a different bit.
Non-blocking delay only stores the old value of the entire variable, the time stamp of the change, and the new value. It reverts to the old value after the time stamp plus delay time.
CAI_Support said:NON-blocking delay is for each TTL input and each TTL output, as well as each VAR,
If we changed the code to have half TTL I/O and VAR to have non-blocking, and reset not support non-blocking, would that affect how you use WebControl?
TJF1960 said:Thanks Lou, you could have offered that little tidbit up in post 44, would have saved me about an hour.
CAI_Support said:NON-blocking delay is for each TTL input and each TTL output, as well as each VAR,
If we changed the code to have half TTL I/O and VAR to have non-blocking, and reset not support non-blocking, would that affect how you use WebControl?
Lou Apo said:Do you need 1000 possible values for each one (000 to 999)? For example, if the temp is measuring something that at most goes up and down by 64 degrees, then you only need 6 bits allowing you to store all 8 values on 2 rams (using 24 bits of each). That still leaves you 7 bits on each of those 2 rams for other uses.
TJF1960 said:Lou, I am interested in what you were suggesting here, I am just now getting around to asking. Where I live we can see temps from the high 20's to 115 or a little more. Currently I get the temp, the remainder is rounded up or down but the way it is now I do use 3 digits of the ram for each temp sensor because of the over 100 degree days. But of course the indoor temps shouldn't ever get past 100, just the outdoor ones.
.
Are you suggesting something like take the current temp excluding the remainder, subtract by say 20 then use the result to webset to the isy which then will add 25 to each to bring me back to the proper temp?