-
Notifications
You must be signed in to change notification settings - Fork 0
Home
REM_SYS can provide very flexible and powerful features in cases where an application design requires multiple timing prompts of an elapsed and/or real-time nature. Both types of reminder alerting are supported and these can be programmatically defined and controlled. To illustrate REM_SYS's capabilities consider the following design requirements:
Example: It is necessary to monitor and respond, as necessary, to eight sensor inputs, with each requiring different sensor input frequencies, some every 1/100 seconds, seconds, minutes, hours, etc. That is, to design a multi-plexed solution for the eight sensors. In addition, output is to be generated to an external system to provide the status of of each of the eight sensors, this being at the top of each hour (ie hh:00:00) and every hour.
Designing a solution to meet this requirement would be non-trivial if a standard approach was to be applied. However, the REM_SYS framework makes much of the solution very straight forward - each of the sensors would be associated wit an elapsed time reminder (ETR) and the requirement for the transmission of sensor data on the hour, and every hour, with a real-time reminder (RTR).
Code to deal with each sensor input and the transmission of sensor data remains the same as it would with a standard approach. What REM_SYS would provide is the timing for alerts to process the respective sensor code and transmission code.
purpose: to create an elapsed time reminder that will generate an alert:
- at the given elapsed time(s) and
- with the given frequency (if given)
- for the given duration (if given)
purpose: to create a real time reminder that will generate an alert:
- at the given real time(s) and
- with the given frequency (if given)
- for the given duration (if given)
At the point of definition (calling), the above functions can also provide additional functionality by allowing the inclusion of a subtype parameter that can be used to switch to specific processing when a reminder alert is raised, and up to four user provided integer parameters that can be interrogated once the reminder alert is triggered.
The framework also provides many other capabilities. A fuller appreciation can be found by reference to the User Guide.