EcoStruxure Geo SCADA Expert Forum
Schneider Electric support forum about installation, configuration, integration and troubleshooting of EcoStruxure Geo SCADA Expert (ClearSCADA, ViewX, WebX).
Link copied. Please paste this link to share this article on your social media post.
Posted: 2024-02-16 09:24 AM
Hi everyone,
in a mimic I would like to write on a parameter of this same mimic via vb script.
I do this to animate a query with reference to the parameter.
Thanks!
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2024-02-18 03:26 PM
You can do this by writing in script to:
Mimic.Layers("YourLayerName").Item("YourItemName").Whatever
Where "Whatever" is your new parameter, and can be "Whatever.Something.Else" for grouped parameters.
As far as I can tell you can only write literal values in scripting, not references, so if you use Mimic.Paramaters to pull in something passed in from the top mimic, and that parameter is changed at the top mimic, then you need to run the script again for the new value to be passed down
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2024-02-18 03:26 PM
You can do this by writing in script to:
Mimic.Layers("YourLayerName").Item("YourItemName").Whatever
Where "Whatever" is your new parameter, and can be "Whatever.Something.Else" for grouped parameters.
As far as I can tell you can only write literal values in scripting, not references, so if you use Mimic.Paramaters to pull in something passed in from the top mimic, and that parameter is changed at the top mimic, then you need to run the script again for the new value to be passed down
Link copied. Please paste this link to share this article on your social media post.
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.