<< Click to Display Table of Contents >>
Creating User Libraries |
ElipseX objects can contain, in addition to drawings, internal variables that can be exported to an application, as well as programming logic (scripts) that appear on all copies of an object, decreasing the need to repeat code on several parts of an application. To create a new library in E3, follow these procedures:
1.Open the File menu, select the New Project item, and 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 referring to a Domain.
5.Click Finish.
In an ElipseX library, users can insert three types of objects: XControls, XFolders, and XObjects.
In XControls, all items available to Screens can be inserted. Among these items, there are drawing primitives, vector objects, including objects from symbol library (WMF, EMF, etc.), non-vector objects (BMP, JPEG, GIF, etc.), E3 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 E3 Server. The following objects can be inserted in an XObject: I/O Drivers, Data Servers, Databases, Formulas, Alarm Configurations, Alarm Servers, COM Objects, and other XObjects.
In the same .lib file there can be any number of ElipseX components, whether they are XControls, XFolders, or XObjects. Users can also have several different libraries (several .lib files) in the same Domain.