User Guide
125
Standard NetLinx API (SNAPI) R 1.8.0
Document Camera
IDocumentCameraComponent
IDocumentCameraComponentListener
IModuleComponent
IModuleComponentListener
IPowerComponent
IPowerComponentListener
ISourceSelectComponent
ISourceSelectComponentListener
Name: Document Camera
Interface: IDocumentCamera
Document Camera Functions
Name Component Channel Level Command Constant Notes
cycleAutoFocus() IDocumentCameraComponent 172 AUTO_FOCUS Momentary Function Channel: Cycle auto
focus when channel is activated
cycleAutoIris() IDocumentCameraComponent 173 AUTO_IRIS Momentary Function Channel: Cycle auto
iris when channel is activated
cycleLight() IDocumentCameraComponent 176 DOCCAM_LIGHT Momentary Function Channel: Cycle lights
when channel is activated
setAutoFocusOn(state) IDocumentCameraComponent 162 AUTO_FOCUS_ON Discrete Function Channel: Auto focus is
on while channel is active
setAutoIrisOn(state) IDocumentCameraComponent 163 AUTO_IRIS_ON Discrete Function Channel: Auto iris is on
while channel is active
setFocus(focus) IDocumentCameraComponent 16 FOCUS_LVL Set focus position, range is 0-255 (0=near)
setFocusRamp(NEAR) IDocumentCameraComponent 160 FOCUS_NEAR Ramping Channel: Focus is ramped near
while channel is active
setFocusRamp(FAR) IDocumentCameraComponent 161 FOCUS_FAR Ramping Channel: Focus is ramped far
while channel is active
setFocusSpeed(speed) IDocumentCameraComponent 19 FOCUS_SPEED_LVL Set focus speed, range is 0-255 (0=slow)
setIris(iris) IDocumentCameraComponent 17 IRIS_LVL Set iris position, range is 0-255 (0=closed)
setIrisRamp(OPEN) IDocumentCameraComponent 174 IRIS_OPEN Ramping Channel: Iris is ramped open
while channel is active
setIrisRamp(CLOSE) IDocumentCameraComponent 175 IRIS_CLOSE Ramping Channel: Iris is ramped closed
while channel is active
setIrisSpeed(speed) IDocumentCameraComponent 20 IRIS_SPEED_LVL Set iris speed, range is 0-255 (0=slow)
setLowerLightOn(state) IDocumentCameraComponent 197 DOCCAM_LOWER_LIGHT_
ON
Discrete Function Channel: Lower light is
on while channel is active
setUpperLightOn(state) IDocumentCameraComponent 198 DOCCAM_UPPER_LIGHT_
ON
Discrete Function Channel: Upper light is
on while channel is active
setZoom(zoom) IDocumentCameraComponent 15 ZOOM_LVL Set zoom position, range is 0-255 (0=out/
wide)