Hello all,
I'm making a project in whihc I have to show and edit a lot of values inside an array of structures:
the structure has 3 reals inside:
ST_DATA_ITEM { rFault : REAL := 0.0; rWarning : REAL := 0.0; rMinimum : REAL := 0.0; }
And the array of structures:
arrdataToShowAndModify : ARRAY[1..50] OF ST_DataItem;
This makes a table (in the visualization) with 50 rows and 3 columns which is perfect.
This said, how can I edit the values when touching them?
I've been trying to find how to do it for a while but have not been able to see it.
Thank you very much for your time and help.
Hey,
In the column configuration check "Use template" Then add a "Write variable" input action, e.g. here on OnMouseClick.
Best regards, Marcel
SUPER!
Thank you very much Marcel!
Log in to post a comment.
Hello all,
I'm making a project in whihc I have to show and edit a lot of values inside an array of structures:
the structure has 3 reals inside:
And the array of structures:
This makes a table (in the visualization) with 50 rows and 3 columns which is perfect.
This said, how can I edit the values when touching them?
I've been trying to find how to do it for a while but have not been able to see it.
Thank you very much for your time and help.
Hey,
In the column configuration check "Use template"
Then add a "Write variable" input action, e.g. here on OnMouseClick.
Best regards,
Marcel
SUPER!
Thank you very much Marcel!