Sunday, January 3, 2016

Machine Edition HMI script to Read & Write to an XML Recipe format File

This Machine Edition HMI Sample Application demonstrates the use of VBScript withXMLDOM to read and write XML files.The VBScript code is contained in the Screen Script for this display. The XML file(s) contain data values of the array val[0] - val[4]. 

The XML data is stored in XML format consistent with the format of IWS recipe files. 
To use this program:
  • set the variables and then Save, specifying a file name. 
  • Change values and repeat, using a different file name to save. 
  • Next, load a file. 
  • The values will change to the values in the saved XML file.
The instructions to run this application are:
  •  Install ITME8.0 (or later) in your computer (wonderware.com/ITME2)
  • Extract the files from XMLScript.zip into your computer
  • Open ITME 2014 R2 (v 8.0 or later) development environment and run the XMLScript application.
Related posts:
Subscribe to the Wonderware HMI/SCADA Times and get the latest trending topics and articles related to HMI and SCADA, including the Wonderware User Group 2016. (wonderware.com/wwtimes).


No comments:

Post a Comment