Technical References

D14642.13 Codec C40-C60 API Reference Guide TC6.3, NOVEMBER 2013. Copyright © 2010–2013 Cisco Systems, Inc. All rights reserved. 107
Cisco TelePresence System Codec C40/C60 API Reference Guide
xCommand Camera Ramp
Move the camera in a specified direction. The camera moves at specified speed until a stop
command is issued. In a daisy chain, you need to know the CameraId for the camera you want to
address. Be aware that pan and tilt can be operated simultaneously, but no other combinations.
In the latter case only the first operation specified is executed. For example, if you try to run both
zoom and pan at the same time, only zoom is executed.
NOTE: You must run a stop command to stop the camera, see the example below.
CameraId: Give the camera id.
Pan: Move the camera to the Left or Right, followed by Stop.
PanSpeed: Set the pan speed.
Tilt: Move the camera Up or Down, followed by Stop.
TiltSpeed: Set the tilt speed.
Zoom: Zoom the camera In or Out, followed by Stop.
ZoomSpeed: Set the zoom speed.
Focus: Focus the camera Far or Near, followed by Stop.
Requires user role: USER
Parameters:
CameraId(r): <1..7>
Pan: <Left/Right/Stop>
PanSpeed: <1..15>
Tilt: <Down/Up/Stop>
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):
** end
xCommand Camera Ramp CameraId:1 Pan:stop
OK
*r RampResult (status=OK):
** end
xCommand Camera ReconfigureCameraChain
Reinitialize the daisy chain of cameras and updates the CameraId parameter. The CameraId
parameter holds information of which camera is sitting in what position in the camera chain.
Requires user role: USER
Example:
xCommand Camera ReconfigureCameraChain
*r ReconfigureCameraChainResult (status=OK):
** end
xCommand Camera TriggerAutofocus
Trigger the auto-focus functionality. The camera must support auto-focus functionality. If the
camera is daisy chained, the CameraId is given by its place in the chain.
Requires user role: USER
Parameters:
CameraId(r): <1..7>
Example:
xCommand Camera TriggerAutofocus CameraId:1
OK
*r TriggerAutofocusResult (status=OK):
** end
xCommand Camera PositionActivateFromPreset
Selects pan, tilt, zoom and focus parameters for the given camera id from the selected preset.
CameraId: Give the camera id.
PresetId: Select preset 1 to 15.
Requires user role: USER
Parameters:
CameraId(r): <1..7>
PresetId(r): <1..15>
Example:
xCommand Camera PositionActivateFromPreset CameraId:1 PresetID:1
OK
*r PositionActivateFromPresetResult (status=OK):
** end
Contents
Introduction
About the API
xConfiguration
Appendices
xCommand
xStatus
xCommand