>>Message imported from previous forum - Category:Scripts and Tips<< User: mchartrand, originally posted: 2018-10-23 17:01:25 Id:172 This is a re-posting from the obsoleted (October 2018) "Schneider Electric Telemetry & SCADA" forum.
**_sensiwood: Hi, I want to download a file to a DNP3 outstation using mimic scripts. I can download the file by right clicking the outstation and selecing Download File... form the context menu, but do not know how to achieve this using Mimic scripting. I am new to ClearSCADA so appreciate your help with any instructions or sample codes. Thanks! _**
bevanweiss: If you configure a Pick Animation on a button or similar item you want the action to occur on, then you can pick the Method option. This will then let you browse for an object, you can choose the DNP3 Outstation. Then you can pick the Download File method, and provide the appropriate arguments for the method call (or leave it blank and it will prompt the user at runtime).
If you wanted the action to occur without a user performing some mimic action, then you do not want to be using Mimic Scripting.
**_sensiwood: thanks a lot Bevan. With your help I have found the entry to the interesting stuff. Actually I need to achieve the logic that if one flag is ON, then a configuration file is downloaded to the controller, together with some other operations. I will try._**