800xA Reading Hardware 'Control Properties' into PG2
Good morning community,
I was wondering if anyone knows of a way to read properties from 'Control Properties' into a Graphic Display PG2. I've tried using a late bound property ref array to read all of the properties into a "Property List" graphic primative, but it doesn't not return any properties:
LateBoundPropertyRefArray(".","Control Properties","*",0)
In particular, I'm trying to get a reference to:
1) What Application IO Varaible the channel is connected to ("X_Var_Conn")
2) The Description of the IO channel ("X_Description")
If I open the control properties for any instance of the an IO card, I can see the values I want to access, however I can't seem to retrieve them in the graphics editor. Suggestions welcome
Answers
Those are not OPC Properties and therefore you cannot access them via LateboundPropertyRefArray.
You could only show the Aspect View itself or something like the AC800M Status Monitoring (or similar name, i think its a new Feature with SV6) Aspect to have the Variable name (and links to the Faceplates).
Only other way would be to create something via a script accessing the Control Properties via COM Interface but that is not possible only from PG2.
Add new comment