Hey guys,
I'm just starting out learning about System Platform. I've managed to pickup the the plant model and deployment model concepts quickly. I understand the scripting pretty well other than some things listed below. I hope someone experts here can help. I'm running System Application 3.1 and Wonderware 10.1. If you feel an upgrade is necessary to make my programming life easier let me know.
1. The BindTo() function. What is the purpose of this? Is this the same thing as assigning tags to Indirect Tags in Wonderware 9.5? I've read the documentation and I'm having trouble getting this to work. I'm trying to create one popup window and dynamically reference tags/attributs to the indirect tags. The tags/attributes can be located in different $Areas and subareas. But all items are within the same $AppEngine. Example below. This script is just a script located in an "WhileShowing" of the symbol. LocalTag is a Custom Property Tag. When I similate me.Tagname.Auto.InAlarm to alarm, nothing happens:
Dim x AS Indirect;
Dim y AS String;
y = me.tagname + ".Auto.InAlarm";
x.Bindto;
LocalTag = x;
The above code doesn't seem to work. I read some technotes that say SetCustomPropertyValue function but I can't find anything about that. I also found another reference saying use the IOSetReferences function (see: Creating and Managing ArchestrA Graphics User’s Guide, Revision B
Last Revision: 11/3/08, page:247). But I can't find info for that function also also.
2. Second, what is the best practice for creating windows/navigation banners. Is it create windows in InTouch and embed objects and animate using the Show("Xxxx")/Hide("xxx") functions in InTouch? Or should all windows just be created in Application Server using scripts and symbol editor and use ShowSymbol, ShowGraphic & HideGraphic functions?
I'm excited to finally get the opportunity to learn this package since I've spent alot of time developing in Wonderware 9.5. Learning this software has been on my list for a long time. But I feel like wonderware did a great job in some areas and went backwards in already existing functionality. As mentioned above, maybe upgrading to the latest version will make my programming life easier?
Thanks all!
I'm just starting out learning about System Platform. I've managed to pickup the the plant model and deployment model concepts quickly. I understand the scripting pretty well other than some things listed below. I hope someone experts here can help. I'm running System Application 3.1 and Wonderware 10.1. If you feel an upgrade is necessary to make my programming life easier let me know.
1. The BindTo() function. What is the purpose of this? Is this the same thing as assigning tags to Indirect Tags in Wonderware 9.5? I've read the documentation and I'm having trouble getting this to work. I'm trying to create one popup window and dynamically reference tags/attributs to the indirect tags. The tags/attributes can be located in different $Areas and subareas. But all items are within the same $AppEngine. Example below. This script is just a script located in an "WhileShowing" of the symbol. LocalTag is a Custom Property Tag. When I similate me.Tagname.Auto.InAlarm to alarm, nothing happens:
Dim x AS Indirect;
Dim y AS String;
y = me.tagname + ".Auto.InAlarm";
x.Bindto;
LocalTag = x;
The above code doesn't seem to work. I read some technotes that say SetCustomPropertyValue function but I can't find anything about that. I also found another reference saying use the IOSetReferences function (see: Creating and Managing ArchestrA Graphics User’s Guide, Revision B
Last Revision: 11/3/08, page:247). But I can't find info for that function also also.
2. Second, what is the best practice for creating windows/navigation banners. Is it create windows in InTouch and embed objects and animate using the Show("Xxxx")/Hide("xxx") functions in InTouch? Or should all windows just be created in Application Server using scripts and symbol editor and use ShowSymbol, ShowGraphic & HideGraphic functions?
I'm excited to finally get the opportunity to learn this package since I've spent alot of time developing in Wonderware 9.5. Learning this software has been on my list for a long time. But I feel like wonderware did a great job in some areas and went backwards in already existing functionality. As mentioned above, maybe upgrading to the latest version will make my programming life easier?
Thanks all!