Go to documentation repository
...
It is required to switch over the second sensor to the second input if connection with the first sensor is lost.
| Code Block |
|---|
OnEvent("GRAY","1"," SIGNAL_LOST") //connection with first sensor is losst
{
DoReact("GRAY","2","SETUP","chan<2>"); //sensor is on the second input
} |
Open the second sensor and enable the rollback record of the first video camera in case of the first sensor is closed.
| Code Block |
|---|
OnEvent("GRAY","1"," ON") //first sensor is closed
{
DoReact("GRAY","2","SETUP","type<1>"); //open the second sensor
DoReact("CAM","1","REC","rollback<1>");//perform rollback record from the first video camera
} |
...