I'm trying to create a VBA tool with Excel2010 to modify values in PI; far too many to carry out the task with PI-SDK Archive Editor. However, I am having trouble with acquiring the point_id for a tag using
status = pipt_findpoint(tag, point).
The results I get back for status for two different tags are:
status:2 point: 239258
The tags are identical apart from their length 13 & 14 characters. I created them myself on our development server in order to test the tool and copied them directly into my workbook (which incidentally CAN determine the pt_id using the function PITagAtt)
Any ideas what the '2' means? I'd expect a status of zero to be returned for both of these tags as they both exist.