--- a/PLCControler.py Wed Aug 01 12:44:51 2012 +0200
+++ b/PLCControler.py Fri Aug 10 00:32:05 2012 +0200
@@ -2960,6 +2960,12 @@
def SearchInProject(self, criteria):
return self.Project.Search(criteria)
+ def SearchInPou(self, tagname, criteria, debug=False):
+ pou = self.GetEditedElement(tagname, debug)
+ if pou is not None:
+ return pou.Search(criteria)
+ return []
+
#-------------------------------------------------------------------------------
# Current Buffering Management Functions
#-------------------------------------------------------------------------------