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: 2021-10-17 05:34 AM . Last Modified: 2023-05-03 12:01 AM
Hi,
I have a specific need in ClearSCADA where i have to create hundreds of Internal Analog points and add them to Word Value maps. I have been trying to accomplish the task using Clear SCADA automation interface - utilizing pythonnet. Can you guys suggest any methods by which I can accomplish the task.
up till now, I tried using CreateObject method. but it is throwing an exception "TypeError: No method matches given arguments for CreateObject"
I am attaching the code fragment where create Object method is called and the exception that is thrown.
Can you guys please take a look at the code to suggest any corrections that are to be made?
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: 2021-10-18 04:07 AM . Last Modified: 2021-10-18 04:16 AM
If you look at the documentation for the DBObject.CreateObject method you'll see it only has two arguments (not three), the class name and the object name.
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: 2021-10-18 04:07 AM . Last Modified: 2021-10-18 04:16 AM
If you look at the documentation for the DBObject.CreateObject method you'll see it only has two arguments (not three), the class name and the object name.
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: 2021-10-24 03:59 AM
Thanks @AndrewScott for pointing out the issue. it worked while using the correct parameters👍
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.