Download Altitude Pilot
Transcript
Pilot User Guide 10. Smart Components Smart Components are different from other shapes in the toolbox in the sense that they are not shapes at all. A Smart Component is a pre-defined object which can have intelligent associations with the data and is a powerful feature of Altitude that compliments the shapes and allows complex screens to be quickly and easily designed. Smart Components are linked rather than added to the screen and loaded dynamically when the screen is being viewed. If changes are made to a Smart Component on the disk then these changes will be reflected on all screens that use that object. The power behind the Smart Component is the ability to give it intelligence. A Smart Component can be associated either with a single variable or a set of variables, such as different NV’s’ on a single LonWorks node or even different NV’s on multiple nodes on a LonWorks® sub system. Smart Components can be created by dragging and dropping a variable with an association from the project browser. For example, a LonWorks NV of type SNVT_temp_p can be associated with a Smart Component representing a thermometer. Smart Components have custom properties and in the example above dragging the variable SNVT_temp_p onto the design screen can produce a fully configured thermometer with the custom properties automatically completed. The Time register in the System driver, one of the Altitude Server services, is associated with a clock Smart Component. The following diagrams demonstrated dragging the Time register onto the design screen to instantly produce a configured clock. Figure 8.1 Time Register Drag Time Register onto design screen. Figure 1 Time Register Ver 1.0 © Plexus Technology Ltd. 2001 Page 37 of 43