<< Click to Display Table of Contents >>
Creating User Libraries |
ElipseX objects may contain, in addition to drawings, internal variables that can be exported to an application, and programming logic (scripts) that is present in all copies of this developing object, thus diminishing the need for repeating code in several parts of an application. To create a new library in Elipse Power, follow these procedures:
1.Go to File menu, select the New Project item, and then click Next.
2.In the Select the application type option, select the E3 Object Library item.
Application Wizard
3.Type a name for this library and click Next.
4.Configure all specifications regarding its Domain.
5.Click Finish.
There are three types of objects that can be inserted in an ElipseX library: XControls, XFolders, and XObjects.
All items available for Screens can be inserted in XControls. Among these items are primitive drawings, graphical vector objects, including symbol library objects (WMF, EMF, etc.), graphical non-vector objects (BMP, JPEG, GIF, etc.), Elipse Power ActiveX controls (E3Chart, E3Browser, E3Alarm), third-party ActiveX controls, and other XControls.
An XFolder is an object that allows inserting child objects in its instances. Therefore, users can organize or create hierarchies of objects in an application. Users can insert in an XFolder items such as Data Folders, I/O Tags, Alarm Filters, and XFolder instances, among others.
XObjects can contain any type of non-graphical objects, which are executed in an E3 Server. Users can insert the following objects in an XObject: I/O Drivers, I/O Tags, Data Servers, Databases, Formulas, Alarm Configurations, Alarm Servers, COM objects, and other XObjects.
In the same .lib file, users can have any number of ElipseX components, whether they are XControls, XFolders, or XObjects. Users can also have many different libraries (several .lib files) in the same Domain.