Support Forums
Script tag to Tag Browser

I have a script written where I'm talking to a Serial port sending and receiving messages.

Is there a way send the string response to a tag created in the Tag Browser?

I have tried using the following:
Scope(\VTSDB, "Com3\R_Status", TRUE)
Scope(\VTSDB, "h{zfoiw%7k\5dhe8xmq^m", TRUE)

It does seem to work a bit but ends up crashing VTSCADA.
Also tried it with LocalScope.

I have a script written where I'm talking to a Serial port sending and receiving messages. Is there a way send the string response to a tag created in the Tag Browser? I have tried using the following: Scope(\VTSDB, "Com3\R_Status", TRUE) Scope(\VTSDB, "h{zfoiw%7k\5dhe8xmq^m", TRUE) It does seem to work a bit but ends up crashing VTSCADA. Also tried it with LocalScope.

Did you try this? Sorry, have to upload as a pic since typing it out created a smiley face emoji.
6787bef51442f

Did you try this? Sorry, have to upload as a pic since typing it out created a smiley face emoji. ![6787bef51442f](serve/attachment&path=6787bef51442f)
edited 2 days ago at 1:58 pm

Have you tried the set function:

Scope(\VTSDB, "TagName").Set("Variable");
Have you tried the set function: ```` Scope(\VTSDB, "TagName").Set("Variable"); ````

@mburns,

Please contact support to discuss the VTScada "crash" issue, the development team will want to find out what's happening.

Your question is unclear to me. Are you using a serial port tag or making a direct connection to the port, e.g. via ComPort()?

What is the tag that you want the response to go to?

@mburns, Please contact support to discuss the VTScada "crash" issue, the development team will want to find out what's happening. Your question is unclear to me. Are you using a serial port tag or making a direct connection to the port, e.g. via `ComPort()`? What is the tag that you want the response to go to?

Software Developer with Trihedral

34
3
4
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft