Ask our Experts
Didn't find what you are looking for? Ask our experts!
Schneider Electric support forum about installation, configuration, integration and troubleshooting of EcoStruxure Geo SCADA Expert (ClearSCADA, ViewX, WebX).
Search in
Link copied. Please paste this link to share this article on your social media post.
Posted: 2019-10-26 02:43 AM . Last Modified: 2023-05-03 12:38 AM
>>Message imported from previous forum - Category:Scripts and Tips<<
User: mchartrand, originally posted: 2018-10-19 18:28:25 Id:154
This is a re-posting from the obsoleted (October 2018) "Schneider Electric Telemetry & SCADA" forum.
-------------------------------
**_SRa:
i configured clearscada so it opens a mimic with a custom alarmlist on startup (using the guest account). Now i am searching for a way to prevent the alarmbanner from opening. I guess i could use a mimic script to close it when the mimic opens?
I am new to both clearscada and to VB, so i would appreciate some help with the script._**
-------------------------------
JesseChamberlain:
You shouldn't need to; just close the alarm banner while logged in as Guest, then close ViewX. When you reopen it, the alarm banner will be closed.
If you want to deploy the setting, it's saved in the ViewX Settings files in
C:\\Users\\\\AppData\\Local\\Schneider Electric\\ClearSCADA.
_____________________
**_SRa:
Thanks for the quick response, but i already tried that. It seems like there is some kind of bug, the banner still pops up and crashes the whole application. Please find a screenshot attached (I tried it on two pc´s, both the same).
i was hoping i could avoid this by using a script.._**
 hm/2rz04oprjric.jpg "")
_________________________
FeWo:
We have the same problem and it seems to be a bug in CLearSCADA. Our solution is not to work with the Guest user and logon a default user when ClearSCADA starts. Because then it remembers the closed Banner from previous login - but just with the logged user. We a script like this:
_Sub Mimic_Load()
sCurrentUser = Server.UserName
If sCurrentUser = "Guest" Then App.LogOnUser "Systemname", "Username", "Password"
end sub_
hope it helps.
________________
**_SRa:
works fine, thank you!_**
Attached file: (editor/hm/2rz04oprjric.jpg), ClearSCADA Screenshot.jpg File size: 217461
Link copied. Please paste this link to share this article on your social media post.
You’ve reached the end of your document
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.