Tracking GWN Outgoing Tasks

Is there a way to track outgoing tasks on a gateway network connection? I have a script that is writing to tags on a remote gateway and is occasionally failing. I want to pinpoint the times that is happening and verify that this is due to things like a bad gateway network connection.

Any advice is appreciated!

Why don't you check the return value on the scripted tag write? That will tell you immediately if any writes failed.

So I am not sure where the script is executing. My client has configured a bunch of tag event scripts in the tags themselves and I am going off of a Scripting[system_util_tag] event in the logs that is giving me a timeout.

I guess I am trying to confirm that this is in fact being caused by the tag event scripts attempting a write while the connection is down leading to a Timeout.

Such scripts should never make blocking tag write calls anyways--that can freeze your entire tag scripting subsystem. Use the designer's tag report tool to find and audit all scripts attached to tags.

Could you point me to some resources that talk about that freezing of the tag subsystem? I will want to include that in my report to my client.

Here are a couple of Topics related to this:

1 Like