The SafeSignal security component is determined for the interception (indication) of another application event. For example:
- messages from the UPS station (backup power source).
- detection of the batch BAT file termination.
Some programs can start another program on certain event. It goes first of all about programs for the UPS (backup power source)
that can start another program on warning when the power in the backup source is running out. But which program to start so that the PROMOTIC application which is just running on the computer, would be told about it? This problem is just solved by the SafeSignal
The component consists of one PmSignal.exe
program that is located in the \Promotic\Tools\PmSignal
The program "PmSignal.exe" is just the program that can be started by other applications. On starting this program, the onAppSignal event is triggered in the PROMOTIC application. Then you can implement required actions in this event.
You can start the PmSignal.exe
program also with one text parameter. For example "C:\Promotic\Tools\PmSignal\PmSignal xy"
This parameter (in this case xy) is then passed into the onAppSignal event as the pEvent.Param parameter.
Caution: In case of using the PmSignal.exe
program, only one PROMOTIC application
can run on the computer.
Another possible usage of this component (except UPS) is, for example, when you start batch BAT file and you need to catch the point of ending this batch in the PROMOTIC application. Calling the PmSignal.exe program at the end of this batch is sufficient enough.