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
Passing variable string value in device tags by using script
-
- Posts: 8
- Joined: Thu Oct 04, 2012 12:27 am
-
- Posts: 824
- Joined: Tue Mar 13, 2012 9:53 am
Re: Passing variable string value in device tags by using sc
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.
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.
Best Regards,
Mark Monroe
Beijer Electronics, Inc. | Applications Engineer
Mark Monroe
Beijer Electronics, Inc. | Applications Engineer