I'm trying to get a simple string display working but not having much luck.
I have a string object with the expression {Network.67.193.103.192.RACO.3.3408.RTU Name.Value} which is a tag in an OPC network. The string displays the value fine when on a graphic display.
I copy the string to a Global Objects form and change the expression to: {#1.RTU Name.Value} I then copy that Global Object string to another graphic display. I right-click it and set the Global Object Parameter value to "Network.67.193.103.192.RACO.3.3408" (no quotes). When I run that screen the sting just displays ?????.
What am I doing wrong?? I tried splitting up the expression different ways (e.g. "Network.#1.RTU Name.Value") . Tried different names in case there was some conflict (#99.RTU Name.Value). Removed the only parameter file (no longer used). Rubbed a rabbit's foot. What else??
What I'm trying to accomplish is to be able to change part of the tag name (e.g. the IP address) interactively rather than having to rebuild the hmi every time those things change. (There are complex reasons it can't be resolved in the networking system). I'd like to just have a popup saying something like "Enter the current OPC Server network address: ___" and then have all the graphic objects link to the tags at the new address.
Thanks,
Davey
I have a string object with the expression {Network.67.193.103.192.RACO.3.3408.RTU Name.Value} which is a tag in an OPC network. The string displays the value fine when on a graphic display.
I copy the string to a Global Objects form and change the expression to: {#1.RTU Name.Value} I then copy that Global Object string to another graphic display. I right-click it and set the Global Object Parameter value to "Network.67.193.103.192.RACO.3.3408" (no quotes). When I run that screen the sting just displays ?????.
What am I doing wrong?? I tried splitting up the expression different ways (e.g. "Network.#1.RTU Name.Value") . Tried different names in case there was some conflict (#99.RTU Name.Value). Removed the only parameter file (no longer used). Rubbed a rabbit's foot. What else??
What I'm trying to accomplish is to be able to change part of the tag name (e.g. the IP address) interactively rather than having to rebuild the hmi every time those things change. (There are complex reasons it can't be resolved in the networking system). I'd like to just have a popup saying something like "Enter the current OPC Server network address: ___" and then have all the graphic objects link to the tags at the new address.
Thanks,
Davey