I'm trying to use a method in order to update the Display Panel of a frame. To do so, I have created a configuration table with the same format as the Display Panel table and, once this table is updated with the new data, I call a method to update the Display Panel with the function setElements.
The problem comes when I try to define a bar chart using this function. For some reason, Plant Simulation gives me an error with the data in the column Alignment, even thought the cells are empty.
However, if I introduce manually this data to the Display Panel table Plant Simulation gives me the same error message but shows the Display Panel correctly anyway.
Since the configuration table will be updated automatically by different methods, I can't update the Display Panel manually each time. Could someone give me a solution? I have attached an example model with this configuration if it helps.
Thank you in advance.
Solved! Go to Solution.
Something is wrong with this table, if you type out them rows again and then remove the original rows from the table (as in cut them) then it works fine.
I belive it was that the cell was not fully empty when it should have been, but attempting to make it empty myself through code was not working so I am not sure what was causing it.
Due to a bug in the software it reports column 5 as the problematic column, but it is actually column 10. You need to enter "Right" instead of "Rigth".
This bug will be fixed with the next maintenance pack.
Hello Herr Joos,
Thank you so much for your help!
Eventually it's been a typical typo mistake, but the bug almost made me loose my mind!
I have corrected the typo and the simulation runs perfectly