Page 1 of 1

Passing variable string value in device tags by using script

Posted: Thu Oct 04, 2012 1:49 am
by rohit Kadam
I am using IX developer 2.0.
In one of our application we are communicating Beijer HMI with SQL Server.
For same I write script for data logging and retrieving. But I am not able to pass script string variable value in Beijer HMI Device Tags. So can you please help for doing it. How to write script for passing internal string variable in device tags.

Thanks,
Rohit

Re: Passing variable string value in device tags by using sc

Posted: Thu Oct 04, 2012 8:02 am
by mark.monroe
This is how you assign a value to a tag in script

Globals.Tags.Tag3.Value = "My String";

You may not have set the Analog Numeric box to display strings or you may not have set the data type of the tag to string. Both of those will cause a tag to not handle strings properly.