- Launch EiffelStudio.
- Click Add project
- Browse to $ISE_EIFFEL\examples\vision2\gauges\.
- Choose gauges.ecf
- Choose the location where the project will be compiled, by default the same directory containing the configuration file.
- Click OK.
After launching the application, you will see a window displayed with a similar appearance to the one above. The spin buttons at the top of the window control the current minimum, maximum and value of the three gauges displayed below. Modifying the values of the spin buttons will alter the three gauges in real time. Also, if you interact with one of the three gauges, any change in one, will be reflected in the others and in the spin buttons.
Under the Hood
The change_actions of each EV_GAUGE are used to synchronize all of the gauges.
This sample contains the following class:
- Parent <EiffelVision 2 Samples>