Jump to content

Logic debugging colours


larryllix

Recommended Posts

Posted

In the Admin Console

We now have folder colours to indicate If section logic outcome.

Would it be possible to extend the same idea to individual logic lines in order to breakdown complex logic for debugging?

 

eg.

-----------------------------------------------------------------------------------

 

HVAC.HRV.cycle - [iD 00AD][Parent 00BD][Not Enabled]

If
        (
             $sHouse.temperature >= $sHouse.temp.setpoint     <---line  logic is False
         And $sHouse.temperature >= $sHouse.outTemp         <---line  logic is True
        )
     Or (
             $sHouse.temperature <= $sHouse.temp.setpoint
         And $sHouse.temperature <= $sHouse.outTemp
        )
     Or (
             'Gathering Room / GathRm VenStat' Mode is Heat   <--- both True
         And $sHouse.dewPoint.in <= $sHouse.dewPoint.out    <---we have a winner
        )
     Or (
             'Gathering Room / GathRm VenStat' Mode is Cool
         And $sHouse.dewPoint.in >= $sHouse.dewPoint.out
        )
 
Then
        Set 'HVAC / HRV Fan.control' On
        Wait  30 minutes
        Set 'HVAC / HRV Fan.control' Off
 
Else
        Set 'HVAC / HRV Fan.control' On
        Wait  3 minutes
        Set 'HVAC / HRV Fan.control' Off
 ---------------------------------------------------------------------------------

 

This feature may need to be on a switch, timer, or only on the program currently displayed, to avoid ISY/comm channel bog down.
 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...