D14128.02—NOVEMBER 2008
70
Codec C90
System Integrator Guide
Contents Introduction Getting Started Interfaces About the API xConfiguration xCommand xStatus Cameras Appendices Contact us
xCommand
xCommand Camera PositionSet
Set camera position to specified values.
Required parameters with (r):
CameraId(r): <1..7>
Pan: <-65535..65535>
Tilt: <-65535..65535>
Zoom: <0..65535>
Focus: <0..65535>
Example:
xCommand Camera PositionSet CameraId:1 Pan:200 Tilt:300
OK
*r CameraPositionSetResult (status=OK):
*r/end
xCommand Camera Ramp
Move camera in specified direction. Camera will move at specified speed until stop command is issued.
Required parameters with (r):
CameraId(r): <1..7>
Pan: <Left/Right/Stop>
PanSpeed: <1..15>
Tilt: <Down/Stop/Up>
TiltSpeed: <1..15>
Zoom: <In/Out/Stop>
ZoomSpeed: <1..15>
Focus: <Far/Near/Stop>
Example:
xCommand Camera Ramp CameraId:1 Pan:left PanSpeed:1
OK
*r RampResult (status=OK):
*r/end
xCommand Camera Ramp CameraId:1 Pan:stop
OK
*r RampResult (status=OK):
*r/end