User Guide

Standard NetLinx API (SNAPI) R 1.8.0
50
Camera Functions (Cont.)
Name Component Channel Level Command Constant Notes
setFocusSpeed(speed) ICameraComponent 19 FOCUS_SPEED_LVL Set focus speed, range is 0-255 (0=slow)
setIris(iris) ICameraComponent 17 IRIS_LVL Set iris position, range is 0-255 (0=closed)
setIrisRamp(OPEN) ICameraComponent 174 IRIS_OPEN Ramping Channel: Iris is ramped open
while channel is active
setIrisRamp(CLOSE) ICameraComponent 175 IRIS_CLOSE Ramping Channel: Iris is ramped closed
while channel is active
setIrisSpeed(speed) ICameraComponent 20 IRIS_SPEED_LVL Set iris speed, range is 0-255 (0=slow)
setPan(pan) ICameraComponent 27 PAN_LVL Set pan position, range is 0-255 (0=left)
setPanRamp(LEFT) ICameraComponent 134 PAN_LT Ramping Channel: Pan is ramped left while
channel is active
setPanRamp(RIGHT) ICameraComponent 135 PAN_RT Ramping Channel: Pan is ramped right
while channel is active
setPanSpeed(speed) ICameraComponent 29 PAN_SPEED_LVL Set pan speed, range is 0-255 (0=slow)
setTilt(tilt) ICameraComponent 28 TILT_LVL Set tilt position, range is 0-255 (0=down)
setTiltRamp(UP) ICameraComponent 132 TILT_UP Ramping Channel: Tilt is ramped up while
channel is active
setTiltRamp(DOWN) ICameraComponent 133 TILT_DN Ramping Channel: Tilt is ramped down
while channel is active
setTiltSpeed(speed) ICameraComponent 30 TILT_SPEED_LVL Set tilt speed, range is 0-255 (0=slow)
setZoom(zoom) ICameraComponent 15 ZOOM_LVL Set zoom position, range is 0-255 (0=out/
Wide)
setZoomRamp(OUT) ICameraComponent 158 ZOOM_OUT Ramping Channel: Zoom is ramped
out(wide) while channel is active
setZoomRamp(IN) ICameraComponent 159 ZOOM_IN Ramping Channel: Zoom is ramped in
(tele) while channel is active
setZoomSpeed(speed) ICameraComponent 18 ZOOM_SPEED_LVL Set zoom speed, range is 0-255 (0=slow)
processAutoFocusEvent(boolean) ICameraComponentListener 162 AUTO_FOCUS_FB Feedback Channel: Auto focus is on if
channel is active
processAutoIrisEvent(boolean) ICameraComponentListener 163 AUTO_IRIS_FB Feedback Channel: Auto iris is on if chan-
nel is active
processCameraComponent-
CountEvent(count)
ICameraComponentListener CAMERACOMPO-
NENTCOUNT-<count>
Response to ?CAMERACOMPONENT-
COUNT, where <count> is the integer num-
ber of camera components
processCameraPresetCountEvent(count) ICameraComponentListener CAMERAPRESET-
COUNT-<count>
Response to ?CAMERAPRESETCOUNT,
where <count> is the integer number of
camera presets
processCameraPresetEvent(int) ICameraComponentListener CAMERAPRESET-
<preset>
Camera preset changed, where <preset> is
1-x and x is the maximum supported preset
(see specific module documentation)