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: 2025-04-13 03:32 AM
Hello everyone!
This is my Mimic:
This is my script (called by pick action):
Debug.....
Indeed: "Mimic.Parameters.Target" Object needed
Where am I going wrong?
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: 2025-04-14 06:21 AM
Your Pictures are not showing. I would try different file formats or maybe lower resolution.
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: 2025-04-15 01:08 AM
I'm so sorry.
I'll try again: my Mimic
My code
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: 2025-04-15 10:18 AM
Interestingly your other picture are now showing.
I believe you need to put the "Mimic.Parameters.Target.FullName" in Quotes.
If it helps here is an example of where I have used FindObject with GetOPCValue. I think GetOPCValue is used so the code can work from a instance of a template.
Function SetPump2AlarmReset()
Dim objCTLcheck
Dim iResponse
Set objCTLcheck = Server.FindObject(Server.GetOPCValue("..IO.Config.Setpoints.Pump 2 Alarm Reset.FullName"))
If objCTLcheck.CheckAccess("CTL") = True Then
Server.SetOPCValue "..IO.Config.Setpoints.Pump 2 Alarm Reset.CurrentValue", 0
Else
iResponse = MsgBox("You do not have Control Privileges to Control " + Server.GetOPCValue("..Name") + "." , vbQuestion + vbOKCancel + vbDefaultButton2, "Station Control")
End If
End Function
I am not sure you are trying to get a database Object information though since I do not see anything in your database tree called Mimic.
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.
With achievable small steps, users progress and continually feel satisfaction in task accomplishment.
Usetiful Onboarding Checklist remembers the progress of every user, allowing them to take bite-sized journeys and continue where they left.
of