Given a Perspective View that that has a View Parameter VP on it, can a script somewhere within that view inspect the VP and retrieve details of the type (if any) binding attached to that parameter?
And if so, could script the determine if the binding was a Direct Tag Binding and extract the full path to the tag?
And from knowing the path, then query the GW in order to extract the server connection and OPC Item path of that tag?
As per @pturmel suggestion here the system.opc.writeValue() call appears to solve my issues. But this call requires knowledge of the exact OPC server and item path to the variable in the PLC. However, for ease of use I’d still like to bind a variable to my momentary button and extract that information automatically.