![]() |
|
If/Else branching logic with Comfiguratior 3.1.8 and Comfort Pro - Printable Version +- Comfort Automation/ Security System Forums (https://www.comfortforums.com) +-- Forum: Software Applications (https://www.comfortforums.com/forum-4.html) +--- Forum: Comfigurator (https://www.comfortforums.com/forum-20.html) +---- Forum: Comfigurator 3.x Old Versions (Archive) (https://www.comfortforums.com/forum-87.html) +---- Thread: If/Else branching logic with Comfiguratior 3.1.8 and Comfort Pro (/thread-1823.html) |
- vworp - 04-18-2010 Using Comfigurator 3.1.8 to program a Comfort Pro 4.17. A response to check the security mode of comfort, then set a C-Bus group to a predetermined level appear to match all conditions as true. Whenever I run the following response, I see the CBus group ramp 0,1,2,3 instead of setting the correct level. If SecurityMode = SecurityOff Then CBus RampInst 2 50 0 Else If SecurityMode = AwayMode Then CBus RampInst 2 50 1 Else If SecurityMode = NightMode Then CBus RampInst 2 50 2 Else If SecurityMode = DayMode Then CBus RampInst 2 50 3 EndIf EndIf EndIf EndIf - vworp - 04-18-2010 This also gives the same result:- If SecurityMode = SecurityOff Then CBus RampInst 2 50 0 EndIf If SecurityMode = AwayMode Then CBus RampInst 2 50 1 EndIf If SecurityMode = NightMode Then CBus RampInst 2 50 2 EndIf If SecurityMode = DayMode Then CBus RampInst 2 50 3 EndIf I get the same error when checking the state of an output:- If Output Ch = 0 Then CBus RampInst 2 8 0 EndIf If Output Ch <> 0 Then Cbus RampInst 2 8 255 EndIf - admin - 04-19-2010 Check your firmware again, is it 4.17 or 4.17x where x is another digit? In either case, even 4.177 was released in 2003. Branch Actions were introduced only in 4.233 so the If/Then actions that you created may not work as expected They mey need to be coded diferently. Send the cclx file to support@cytech.biz so that we can check By the way did you just buy this Comfort system or are you reprogramming an old system? - vworp - 04-19-2010 It\'s 4.170. It\'s quite an old system, been installed for seven or eight years. cclx file is on the way to you. |