Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

MES Stateless API

Installing the Stateless API Wrapper in System Platform

Installing the Stateless API Wrapper in System Platform

The Stateless API wrapper is contained in a set of DLL files. You can install the Stateless API wrapper by importing an aaSLIB file from the installation image. After installing in System Platform, the Stateless API is available for scripting in Objects and Graphics.

To install the Stateless API Wrapper

  1. Open the System Platform IDE.
  2. Select the Galaxy menu, point to Import, and then Script Function Library. The Import Script Function Library dialog box appears.
  3. Browse to the \Program Files\Wonderware\MES\Controls folder on your local hard drive. In the Files of type list, click Script Library Files (*.aaSLIB).

    If you selected to install the .NET Controls during your installation the aaFactMES.aaSLIB file and aaMES.aaSLIB file will be copied into your local hard drive. You can also browse onto the Installation CD and copy the file manually from the \MES\Controls directory.

    MES adds new registry settings for referencing DLLs associated with the selected feature. These registry settings are present in the Global Assembly Cache(GAC) in Visual Studio. 
  1. Select the aaMES.aaSLIB file and click Open. The script library is imported and a success message appears.
  2. Click OK.

TitleResults for “How to create a CRG?”Also Available in