Defining a user method to bring up default file open dialog box
EcoStruxure Geo SCADA Expert Forum
Schneider Electric support forum about installation, configuration, integration and troubleshooting of EcoStruxure Geo SCADA Expert (ClearSCADA, ViewX, WebX).
Send a co-worker an invite to the portal.Just enter their email address and we'll connect them to register. After joining, they will belong to the same company.
You have entered an invalid email address. Please re-enter the email address.
This co-worker has already been invited to the Exchange portal. Please invite another co-worker.
Please enter email address
Send InviteCancel
Invitation Sent
Your invitation was sent.Thanks for sharing Exchange with your co-worker.
Link copied. Please paste this link to share this article on your social media post.
Posted:
Monday
. Last Modified:
Tuesday
Defining a user method to bring up default file open dialog box
Hi all,
I have a use case for GS2023 Aug 2024 where I am trying to make the methods of the x70 outstation configuration object accessible via the object menu of the corresponding x70 outstation object. This is so that engineering users do not have to hunt for the configuration object to do actions like importing in logic or generating rtz configs for an outstation.
Defining a custom user method gets me most of the way there, but I can't seem to leave the method arguments blank so that the default dialog box comes up asking for missing user input. Defining the method call as a user method pick action within a mimic gets me exactly what I want which is the below dialog box:
However, I am unable to replicate this exact behaviour as a user method on the actual x70 outstation object itself. The closest I can get is to define a prompt (e.g. ImportRTZ(['Filename',''],4)) but it just asks for generic string input and I do not get access to browse the file system for an rtz file. Hence, the built-in dialog box above is much more preferable for me.
Just wondering if there is a way to achieve what I need, thanks!
Link copied. Please paste this link to share this article on your social media post.
Posted:
yesterday
User method prompts don't have any support for file arguments, so you can't do this with a user method.
Locating the SCADAPack x70 Device associated with a SCADAPack x70 DNP3 Outstation shouldn't require any hunting. Just open the outstation's properties, click on the "Go To" button and then click "Locate in Database Explorer" menu option (in document tab's menu). This will navigate the Database Explorer to the device.