1) Give a description of the problem
The piston below works fine. I apologize for what may be a silly question, but I cannot find how to do this. I’m looking for a way to do a multi-line/column array (not sure I’m asking that correctly). I’m not even sure that WC allows multi-line arrays.
2) What is the expected behavior?
I’d like to set up a multi-line/column array so that I don’t have to have each mode change ‘block’ in the piston set the variable the way I’m currently doing it. In the define section, I’d like to set a Dynamic List something like this:
ArrayList[0] = “Away”; {@AwayHeatSP}; {@AwayCoolSP}
ArrayList[1] = “Vacation”; {@VacHeatSP}; {@VacCoolSP}
ArrayList[2] = “Home”; {@HomeHeatSP}; {@HomeCoolSP}
Then, In each Mode Change Block, I could just set the index number and then in the Change and Confirm Block, address the proper array elements to set and confirm the location mode and thermostat’s setpoints - ArrayIndex{index#],1, etc…
3) What is happening/not happening?
Again, the piston works as is. Just trying to use a multi-line/column array.
4) Post a Green Snapshot of the piston
5) Attach any logs (From ST IDE and by turning logging level to Full)
Not needed for this discussion.
None of that may be clear, so ask away if needed. Thanks!
Lee