PTZ Control

ptzMoveUp
FunctionMove up
privilegeoperator
Usage/cgi-bin/CGIProxy.fcgi?cmd=ptzMoveUp
ParamNone
ReturnNone
Example/cgi-bin/CGIProxy.fcgi?cmd=ptzMoveUp&usr=admin&pwd=

ptzMoveDown
FunctionMove down
privilegeoperator
Usage/cgi-bin/CGIProxy.fcgi?cmd=ptzMoveDown
ParamNone
ReturnNone
Example/cgi-bin/CGIProxy.fcgi?cmd=ptzMoveDown&usr=admin&pwd=

ptzMoveLeft
FunctionMove to left
privilegeoperator
Usage/cgi-bin/CGIProxy.fcgi?cmd=ptzMoveLeft
ParamNone
ReturnNone
Example/cgi-bin/CGIProxy.fcgi?cmd=ptzMoveLeft&usr=admin&pwd=

ptzMoveRight
FunctionMove to right
privilegeoperator
Usage/cgi-bin/CGIProxy.fcgi?cmd=ptzMoveRight
ParamNone
ReturnNone
Example/cgi-bin/CGIProxy.fcgi?cmd=ptzMoveRight&usr=admin&pwd=

ptzMoveTopLeft
FunctionMove to top left
privilegeoperator
Usage/cgi-bin/CGIProxy.fcgi?cmd=ptzMoveTopLeft
ParamNone
ReturnNone
Example/cgi-bin/CGIProxy.fcgi?cmd=ptzMoveTopLeft&usr=admin&pwd=

ptzMoveTopRight
FunctionMove to top right
privilegeoperator
Usage/cgi-bin/CGIProxy.fcgi?cmd=ptzMoveTopRight
ParamNone
ReturnNone
Example/cgi-bin/CGIProxy.fcgi?cmd=ptzMoveTopRight&usr=admin&pwd=

ptzMoveBottomLeft
FunctionMove to bottom left
privilegeoperator
Usage/cgi-bin/CGIProxy.fcgi?cmd=ptzMoveBottomLeft
ParamNone
ReturnNone
Example/cgi-bin/CGIProxy.fcgi?cmd=ptzMoveBottomLeft&usr=admin&pwd=

ptzMoveBottomRight
FunctionMove to bottom right
privilegeoperator
Usage/cgi-bin/CGIProxy.fcgi?cmd=ptzMoveBottomRight
ParamNone
ReturnNone
Example/cgi-bin/CGIProxy.fcgi?cmd=ptzMoveBottomRight&usr=admin&pwd=

ptzStopRun
FunctionStop run PT
privilegeoperator
Usage/cgi-bin/CGIProxy.fcgi?cmd=ptzStopRun
ParamNone
ReturnNone
Example/cgi-bin/CGIProxy.fcgi?cmd=ptzStopRun&usr=admin&pwd=

ptzReset
FunctionReset PT to default position
privilegeoperator
Usage/cgi-bin/CGIProxy.fcgi?cmd=ptzReset
ParamNone
ReturnNone
Example/cgi-bin/CGIProxy.fcgi?cmd=ptzReset&usr=admin&pwd=

getPTZSpeed
FunctionGet the speed of PT
privilegevisitor
Usage/cgi-bin/CGIProxy.fcgi?cmd=getPTZSpeed
ParamNone
Return
speed
0Very slow
1Slow
2Normal speed
3Fast
4Very fast
Example/cgi-bin/CGIProxy.fcgi?cmd=getPTZSpeed&usr=admin&pwd=

setPTZSpeed
FunctionSet the speed of PT
privilegeoperator
Usage/cgi-bin/CGIProxy.fcgi?cmd=setPTZSpeed
Param
speed
0Very slow
1Slow
2Normal speed
3Fast
4Very fast
ReturnNone
Example/cgi-bin/CGIProxy.fcgi?cmd=setPTZSpeed&usr=admin&pwd=

getPTZPresetPointList
FunctionGet all preset point
privilegevisitor
Usage/cgi-bin/CGIProxy.fcgi?cmd=getPTZPresetPointList
ParamNone
Return
cntCurrent preset point count
pointNThe name of point N
NoteOur device can support at most 16 preset point We have 4 point default:LeftMost\RightMost\TopMost\BottomMost
Example/cgi-bin/CGIProxy.fcgi?cmd=getPTZPresetPointList&usr=admin&pwd=

ptzAddPresetPoint
FunctionAdd preset point
privilegeadmin
Usage/cgi-bin/CGIProxy.fcgi?cmd=ptzAddPresetPoint
Param
namePreset point name
ReturnNone
NoteThe preset point position is current PT position
Example/cgi-bin/CGIProxy.fcgi?cmd=ptzAddPresetPoint&name=test&usr=admin&pwd=

ptzDeletePresetPoint
FunctionDelete preset point by name
privilegeadmin
Usage/cgi-bin/CGIProxy.fcgi?cmd=ptzDeletePresetPoint
Param
namePreset point name
ReturnNone
Example/cgi-bin/CGIProxy.fcgi?cmd=ptzDeletePresetPoint&name=test&usr=admin&pwd=

ptzGotoPresetPoint
FunctionGoto preset position
privilegeoperator
Usage/cgi-bin/CGIProxy.fcgi?cmd=ptzGotoPresetPoint
Param
namePreset point name
ReturnNone
Example/cgi-bin/CGIProxy.fcgi?cmd=ptzGotoPresetPoint&name=test&usr=admin&pwd=

ptzGetCruiseMapList
FunctionGet all cruise map list
privilegevisitor
Usage/cgi-bin/CGIProxy.fcgi?cmd=ptzGetCruiseMapList
ParamNone
Return
cntCurrent cruise map point count
mapNThe name of map N
NoteOur device can support at most 8 cruise map We have 2 maps default:Horizental/Vertical
Example/cgi-bin/CGIProxy.fcgi?cmd=ptzGetCruiseMapList&usr=admin&pwd=

ptzGetCruiseMapInfo
FunctionGet the detail info of a cruise map by name
privilegevisitor
Usage/cgi-bin/CGIProxy.fcgi?cmd=ptzGetCruiseMapInfo
ParamnameName of the cruise map
Return
getResult
0Success
-1Fail
pointNThe preset point name of this cruise map
NoteOur device can support at most 8 preset point one cruise map
Example/cgi-bin/CGIProxy.fcgi?cmd=ptzGetCruiseMapInfo&name=Horizental&usr=admin&pwd=

ptzSetCruiseMap
FunctionAdd a cruise map
privilegeadmin
Usage/cgi-bin/CGIProxy.fcgi?cmd=ptzSetCruiseMap
Param
nameName of the cruise map
pointNThe name of preset point N
ReturnNone
NoteOur device can support at most 8 preset point one cruise map
Example/cgi-bin/CGIProxy.fcgi?cmd=ptzSetCruiseMap&name=test&point0=test0&point1=test1&point2=test2&point3=test3&point4=test4&point5=test5&point6=&point7=&usr=admin&pwd=

ptzDelCruiseMap
FunctionDelete a cruise map
privilegeadmin
Usage/cgi-bin/CGIProxy.fcgi?cmd=ptzDelCruiseMap
Param
nameName of the cruise map
ReturnNone
Example/cgi-bin/CGIProxy.fcgi?cmd=ptzDelCruiseMap&name=test&usr=admin&pwd=

ptzStartCruise
FunctionStart a specificate cruise
privilegeoperator
Usage/cgi-bin/CGIProxy.fcgi?cmd=ptzStartCruise
Param
mapNameName of the cruise map
ReturnNone
Example/cgi-bin/CGIProxy.fcgi?cmd=ptzStartCruise& mapName =test&usr=admin&pwd=

ptzStopCruise
FunctionStart current cruise
privilegeoperator
Usage/cgi-bin/CGIProxy.fcgi?cmd=ptzStopCruise
ParamNone
ReturnNone
Example/cgi-bin/CGIProxy.fcgi?cmd=ptzStopCruise&usr=admin&pwd=

zoomIn
FunctionZoom in
privilegeoperator
Usage/cgi-bin/CGIProxy.fcgi?cmd=zoomIn
ParamNone
ReturnNone
NoteOnly supported by the device has zoom lens
Example/cgi-bin/CGIProxy.fcgi?cmd=zoomIn&usr=admin&pwd=

zoomOut
FunctionZoom out
privilegeoperator
Usage/cgi-bin/CGIProxy.fcgi?cmd=zoomOut
ParamNone
ReturnNone
NoteOnly supported by the device has zoom lens
Example/cgi-bin/CGIProxy.fcgi?cmd=zoomOut&usr=admin&pwd=

zoomStop
FunctionStop zoom run
privilegeoperator
Usage/cgi-bin/CGIProxy.fcgi?cmd=zoomStop
ParamNone
ReturnNone
NoteOnly supported by the device has zoom lens
Example/cgi-bin/CGIProxy.fcgi?cmd=zoomStop&usr=admin&pwd=

getZoomSpeed
FunctionGet the speed of Zoom
privilegevisitor
Usage/cgi-bin/CGIProxy.fcgi?cmd=getZoomSpeed
ParamNone
Return
speed
0Slow
1Normal
2Fast
NoteOnly supported by the device has zoom lens
Example/cgi-bin/CGIProxy.fcgi?cmd=getZoomSpeed&usr=admin&pwd=

setZoomSpeed
FunctionSet the speed of PTZ
privilegeoperator
Usage/cgi-bin/CGIProxy.fcgi?cmd=setZoomSpeed
Param
speed
0Slow
1Normal
2Fast
ReturnNone
NoteOnly supported by the device has zoom lens
Example/cgi-bin/CGIProxy.fcgi?cmd=setZoomSpeed&usr=admin&pwd=&speed=1

setPTZSelfTestMode
FunctionSet the selftest mode of PTZ
privilegeoperator
Usage/cgi-bin/CGIProxy.fcgi?cmd= setPTZSelfTestMode
Param
mode
0No selftest
1Normal selftest
2After normal selftest, then goto presetpoint-appointed
ReturnNone
NoteOnly supported by ipc that can enable ptz-selftest
Example/cgi-bin/CGIProxy.fcgi?usr=admin&pwd=&cmd=setPTZSelfTestMode&mode=2

getPTZSelfTestMode
FunctionGet the selftest mode of PTZ
privilegevisitor
Usage/cgi-bin/CGIProxy.fcgi?cmd= getPTZSelfTestMode
ParamNone
Return
mode
0No selftest
1Normal selftest
2After normal selftest, then goto presetpoint-appointed
ReturnNone
NoteOnly supported by ipc that can enable ptz-selftest
Example/cgi-bin/CGIProxy.fcgi?usr=admin&pwd=&cmd=getPTZSelfTestMode

setPTZPrePointForSelfTest
FunctionSet presetpoint for selftest of PTZ
privilegeoperator
Usage/cgi-bin/CGIProxy.fcgi?cmd= setPTZPrePointForSelfTest
Param
namePreset point name
ReturnNone
NoteOnly supported by ipc that can enable ptz-selftest-2
Example/cgi-bin/CGIProxy.fcgi?usr=admin&pwd=&cmd=setPTZPrePointForSelfTest&name=TopMost

getPTZPrePointForSelfTest
FunctionGet the presetpoint for selftest of PTZ
privilegevisitor
Usage/cgi-bin/CGIProxy.fcgi?cmd= getPTZPrePointForSelfTest
ParamNone
Return
namePreset point name
NoteOnly supported by ipc that can enable ptz-selftest
Example/cgi-bin/CGIProxy.fcgi?usr=admin&pwd=&cmd=getPTZPrePointForSelfTest

set485Info
FunctionSet informations of 485
privilegeoperator
Usage/cgi-bin/CGIProxy.fcgi?cmd=set485Info
Param
rs485ProtocolProtocol
rs485AddrAddress
rs485BaudBaud rate
rs485DataBitDataBit
rs485StopBitStopBit
rs485CheckParity
None
NoteOnly supported by ipc that can enable 485
Example/cgi-bin/CGIProxy.fcgi?usr=admin&pwd=&cmd=set485Info&rs485Protocol=0&rs485Addr=1&rs485Baud=1200&rs485DataBit=7&rs485StopBit=1&rs485Check=0

get485Info
FunctionGet informations of 485
privilegeVisitor
Usage/cgi-bin/CGIProxy.fcgi?cmd=get485Info
ParamNone
Return
rs485ProtocolProtocol
rs485AddrAddress
rs485BaudBaud rate
rs485DataBitDataBit
rs485StopBitStopBit
rs485CheckParity
NoteOnly supported by ipc that can enable 485
Example/cgi-bin/CGIProxy.fcgi?usr=admin&pwd=&cmd=get485Info