Seems like it should be pretty straightforward--configure an element like the attached screenshot, select it, and go to "Visualization/Multiply Visu Element".
But I get an error message "command can only be executed if the visu element has at least one configuration entry using an array variable and the array variable uses the index access placeholder $FIRSTDIM$"
So, when you say it's not possible to use the interface variables, is that just another way of saying the feature doesn't work at all? Because that seems to me like the only type of variables in a visualization.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
OK, except for global variables I guess.
Here's a workaround. Declare the array in a GVL with the same name as the variable you want to use in the interface. Do the "Multiply Visu Element" command. Then when you're done, do a Find/Replace and replace "GVL." with nothing.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
"If you are not happy with my answers, I will let others answer them then..." seems a little aggressive...I'm just trying to understand what you mean.
Wouldn't hurt if there was a list of known issues and workarounds somewhere. The people in the field installing this stuff waste a lot of time trying to figure stuff like this out.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm trying to use the "Multiply Visu Element" command https://help.codesys.com/api-content/2/core_visualization/3.5.16.0/en/_visu_create_similar_elements_in_many_cases/
Seems like it should be pretty straightforward--configure an element like the attached screenshot, select it, and go to "Visualization/Multiply Visu Element".
But I get an error message "command can only be executed if the visu element has at least one configuration entry using an array variable and the array variable uses the index access placeholder $FIRSTDIM$"
What's wrong with my configuration?
Hello @tvm,
it was not possible to use the interface variables in multiply elements.
This issue is fixed with the Visu Package 4.1.0.0
Best regards,
Marcel
So, when you say it's not possible to use the interface variables, is that just another way of saying the feature doesn't work at all? Because that seems to me like the only type of variables in a visualization.
Nop, not true.
If you are not happy with my answers, I will let others answer them then...
Last edit: m.prestel 2021-06-30
OK, except for global variables I guess.
Here's a workaround. Declare the array in a GVL with the same name as the variable you want to use in the interface. Do the "Multiply Visu Element" command. Then when you're done, do a Find/Replace and replace "GVL." with nothing.
"If you are not happy with my answers, I will let others answer them then..." seems a little aggressive...I'm just trying to understand what you mean.
Wouldn't hurt if there was a list of known issues and workarounds somewhere. The people in the field installing this stuff waste a lot of time trying to figure stuff like this out.
I am not gonna start a discussion here, but your response was more than passive-aggressive.
I am always trying to help and I am not ok with getting such a response.
Well, I apologize then, that certainly wasn't my intention.