Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched.
Close
Here are some screenshots: https://imgur.com/Sk5r5qN A view of three connected clients on the page displaying a "Cartesian XY chart" All variables are managed in arrays of dimension [0..3]. So we have :
* xMinValue, xMaxValue... ARRAY[0..3]OF REAL;
* refrech ARRAY[0..3] OF INT;
* xPlottedValues, yPlottedValues ARRAY[0..3] OF ARRAY[0..5] OF REAL; The "Cartesian XY chart" object is parameterized with these array variables, indexed with the value CURRENTCLIENTID. On this same view, we can read the values that should be taken into account by the object (CURRENTCLIENTID, xMinValue[CURRENTCLIENTID], xMaxValue[CURRENTCLIENTID], ArrayMinIndex[CURRENTCLIENTID], refresh[CURRENTCLIENTID], so on...)
The phenomenon is as follows:
The position of the points is effectively client-specific. On the other hand, all the object's parameterization, i.e. the minimum and maximum values of the two axes and the variable triggering the update of the chart, seem to be linked only to Client no. 1.
The minimum and maximum index values are not taken into account at all, it seems that all the values contained in the tables are plotted.
Hello,
Here are some screenshots: https://imgur.com/Sk5r5qN
A view of three connected clients on the page displaying a "Cartesian XY chart"
All variables are managed in arrays of dimension [0..3]. So we have :
* xMinValue, xMaxValue... ARRAY[0..3]OF REAL;
* refrech ARRAY[0..3] OF INT;
* xPlottedValues, yPlottedValues ARRAY[0..3] OF ARRAY[0..5] OF REAL;
The "Cartesian XY chart" object is parameterized with these array variables, indexed with the value CURRENTCLIENTID.
On this same view, we can read the values that should be taken into account by the object (CURRENTCLIENTID, xMinValue[CURRENTCLIENTID], xMaxValue[CURRENTCLIENTID], ArrayMinIndex[CURRENTCLIENTID], refresh[CURRENTCLIENTID], so on...)
The phenomenon is as follows:
The position of the points is effectively client-specific. On the other hand, all the object's parameterization, i.e. the minimum and maximum values of the two axes and the variable triggering the update of the chart, seem to be linked only to Client no. 1.
The minimum and maximum index values are not taken into account at all, it seems that all the values contained in the tables are plotted.