Welcome to the new Schneider Electric Community

It's your place to connect with experts and peers, get continuous support, and share knowledge.

  • Explore the new navigation for even easier access to your community.
  • Bookmark and use our new, easy-to-remember address (community.se.com).
  • Get ready for more content and an improved experience.

Contact SchneiderCommunity.Support@se.com if you have any questions.

Close
Invite a Co-worker
Send a co-worker an invite to the Exchange portal.Just enter their email address and we’ll connect them to register. After joining, they will belong to the same company.
Send Invite Cancel
84650members
353989posts

[Imported] Area of Interest Script

EcoStruxure Geo SCADA Expert Forum

Find out how SCADA systems and networks, like EcoStruxure Geo SCADA Expert, help industrial organizations maintaining efficiency, processing data for smarter decision making with IoT, RTU and PLC devices.

sbeadle
Janeway Janeway
Janeway
0 Likes
0
312

[Imported] Area of Interest Script

>>Message imported from previous forum - Category:Scripts and Tips<<
User: mchartrand, originally posted: 2018-10-19 18:50:05 Id:155
This is a re-posting from the obsoleted (October 2018) "Schneider Electric Telemetry & SCADA" forum.

-------------------------------

**_Morgot37:
Hello! Friends, can you some help me? 🙂
Next problem: we have big project in ClearSCADA. Can we change AOI in all project on custom created? May exist script?
thanks in advance!
P.S. Sorry for my English._**

-------------------------------

AWoodland:
You can manipulate the AOI as anormal property, but I'm not aware of any pre-canned feature you could re-use

_______________

bevanweiss:
You do mean Area Of Interest right?
For some reason, everytime I read this I think of Add-On Instruction (ala Allen Bradley RSLogix 5000).

As Adam said, this is quite easy to change via the Automation Interface or the .NET API.
So you can embed it very easily within an Excel spreadsheet for mass editing.

You could even use the Bulk Edit Tool to do this (although I haven't used the Bulk Edit Tool much, so I may well be wrong) if you weren't into Excel VBA coding.

___________________________

Andrew:
can 'areaofinterestid' be changed via script. ie.

_sub areaofinterests
set rs = server.query("SELECT FULLNAME FROM CADVOPCANALOG
recs = rs.rows
for i = 0 to rs.rowcount - 1
on error resume next
call server.setopcvalue(recs(i,0) & ".AreaOfInterestId", 123 )
next
on error goto 0
end sub_