Cannot access 1st value of list variable


C4
2.3.9.154
Please provide your hub model (C7, C8, etc.) and its platform version from Settings>Hub Details.

I'm having trouble accessing the 1st value of a list variable in a Log statement even though it looks like the variable is getting correctly set.

What should the expression {pwrAvgList[0]} be for it to work?

Also, I needed to create the ctr variable in order to access the $index-1 location since putting that into {pwrAvgList[$index-1]} did not work. What is the right way to do this without creating a separate variable?

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.