Difference between revisions of "Camera"

From HSYCO
Jump to navigation Jump to search
Line 10: Line 10:
  
 
== Syntax ==
 
== Syntax ==
  (camera[!<id>] <address>; <position>; <width>; <height>)
+
  (camera[!<id>] <address>; <position>; <width>; <height>; <destination panel id>)
 
E.g.
 
E.g.
 
  (camera grid1; x0y10; 312; 180)
 
  (camera grid1; x0y10; 312; 180)

Revision as of 12:29, 13 January 2014

Note  For a description and a complete list of UI Objects, see UI Objects.

A real-time view of a camera or grid of cameras.

Parameters

  • id: the object's ID, used by UISets
  • address: the name of the camera, as in the Cameras parameter in hsyco.ini, or the name of a camera grid, defined as gridN, where N is the grid number assigned in hsyco.ini
  • position: the object's position. Use the pixels or rows and columns coordinates format
  • size: the camera image's width and height
  • destination panel id: optional. If set to a panel id, will show the camera on that camera panel

Syntax

(camera[!<id>] <address>; <position>; <width>; <height>; <destination panel id>)

E.g.

(camera grid1; x0y10; 312; 180)
(camera livingroom; x0y10; 100; 90; camerapanel)

UI Attributes

UI Object Attributes (Common) UI Object Attributes (Camera)