Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In this example the param_id="daynight" parameter can be used to switch the Day/Night mode on the camera. In this case the possible values of the param_value parameter are: auto, on, off, timer or sensor.

 


Info
titleExample

Example of using SET_IPINT_PARAM reaction:

  1. For Camera object:
    DoReact("CAM", "1","SET_IPINT_PARAM","param_id<daynight>,param_value<on>");
  2. For Video Capture Device object:
    DoReact("GRABBER", "1","SET_IPINT_PARAM","param_id<daynight>,param_value<on>,cam_id<1>");

As a result of reactions execution the value of the “daynight” parameter is “on” for Camera 1.

...


To enable SET_IPINT_PARAM reaction, the multistream mode is to be active - see Configuration of multistream video section of Administrator Administartor's Guide. Keep in mind that if only one stream is integrated for the camera, then there will be no video in the multistream mode.

You can find out the number of integrated streams in the list of IP devices integrated with Axxon PSIM software (go to Documentation Drivers Pack page).

If this way can’t be used for any reason, then find out the number of integrated streams as follows:

...