[TD700] PageLab Variables
Posted: 18/06/2015, 12:06
Hi,
I don't know if what I'm doing is wrong :
In LogicLab I request modbus addresses from my device and I put them into a matrix variable (32,2) named Temperatures (for example I have 32 temperatures and the same temperatures but divived by 10).
So my matrix variable looks like this :
[ 15.2, 1.52 ] First temperature (modbus address : 1004)
[ 17.8, 1.78 ] Second temperature (modbus address : 1005)
...
[ 5.5, 0.55 ] 32th temperature (modbus address : 1035)
When I watch matrix variable into the watch windows everything is ok my temperatures are different.
My problem is into PageLab.
If I create 32 Edits linked to the matrix variable : first edit point to Temperatures[0, 0], second edit point to Temperatures[1, 0]..., 32th edit point to Temperatures[31,0], all my temperatures are the same !
I tested with just an array of 32 temperatures Temperatures[0], Temperatures[1]... all is OK but with a matrix it does not work
Is it a bug or I'm doing something wrong ?
Eric
I don't know if what I'm doing is wrong :
In LogicLab I request modbus addresses from my device and I put them into a matrix variable (32,2) named Temperatures (for example I have 32 temperatures and the same temperatures but divived by 10).
So my matrix variable looks like this :
[ 15.2, 1.52 ] First temperature (modbus address : 1004)
[ 17.8, 1.78 ] Second temperature (modbus address : 1005)
...
[ 5.5, 0.55 ] 32th temperature (modbus address : 1035)
When I watch matrix variable into the watch windows everything is ok my temperatures are different.
My problem is into PageLab.
If I create 32 Edits linked to the matrix variable : first edit point to Temperatures[0, 0], second edit point to Temperatures[1, 0]..., 32th edit point to Temperatures[31,0], all my temperatures are the same !
I tested with just an array of 32 temperatures Temperatures[0], Temperatures[1]... all is OK but with a matrix it does not work
Is it a bug or I'm doing something wrong ?
Eric