Difference between revisions of "Programming"
|Line 43:||Line 43:|
Latest revision as of 18:11, 12 March 2014
HSYCO offers an extremely powerful programming framework, allowing you to easily create complex programming logic that can be quickly integrated with the user interface functions, the field systems and HSYCO’s native features.
At its core, HSYCO is an events based architecture, optimized to quickly process any status change from the low-level drivers or its internal services, and allows you to write custom code that is triggered by these events.
Java is precompiled, offers the best performance and powerful programming features of a fully standard Java language, but requires restarting HSYCO every time you make changes to the code.
On the other hand, EVENTS is a very simple declarative language, that associates one or more actions to a field event or combination of conditions.
Programming EVENTS is as simple as editing a text file, and all changes are immediately effective the moment you save the file. It is also a very effective way to quickly associate actions to events, faster than Java in many simple cases, and easier to read.
These diversified programming tools should not be considered to be confusing, but a flexible approach to address different problems with different solutions.
Using the Status Browser
It also uses variables to save and retrieve internal state information.
When testing an application it is extremely useful for the developer to be able to access this information.