ICAM-500 Programming Guide
50
4.5
module focus
4.5.1
class Focus
class
focus.Focus
(
camera
)
Camera image properties controls.
property
distance
Lens focusing motor distance control.
Example:
camera.focus.pos_zero() # Set motor to position 0
camera.focus.direction = 1 # Motor foreward
camera.focus.distance = 30 # Foreward 30
camera.focus.distance = 30 # Foreward 30
camera.focus.position() # Get position value is 60
Getter:
Read motor movement step.
Setter:
Set motor movement step.
Value:
init value: 0
range: [0..300]
Type:
int
Raises:
ValueError
Input value out of range.
property
direction
Lens focusing motor movement direction control.
Getter:
Read motor movement direction.
Setter:
Set motor movement direction.
Value:
0: Backward
1: Foreward
Type:
int
Raises:
ValueError
Input value out of range.
position
()
Get lens focusing motor position.
Returns:
int
Motor position.
rst_position
Restore lens focusing motor position.
Sku:
color
Parameters:
steps: int
Lens focusing motor goto this position from home.range: [0..1600]
Raises:
ValueError
Input value out of range.
Содержание ICAM-500 Series
Страница 1: ...Programming Guide ICAM 500 Series Industrial AI Camera ...
Страница 6: ...ICAM 500 Programming Guide vi ...
Страница 7: ...Chapter 1 1 Introduction ...
Страница 9: ...Chapter 2 2 ICAM 500 SDK Architecture ...
Страница 12: ...ICAM 500 Programming Guide 6 ...
Страница 13: ...Chapter 3 3 Operation Flow ...
Страница 15: ...9 ICAM 500 Programming Guide Chapter 3 Operation Flow 3 2 Image Acquisition ...
Страница 16: ...ICAM 500 Programming Guide 10 3 3 Image Trigger Flow ...
Страница 17: ...11 ICAM 500 Programming Guide Chapter 3 Operation Flow 3 4 HW trigger Control flow ...
Страница 18: ...ICAM 500 Programming Guide 12 3 4 1 Software trigger ...
Страница 19: ...13 ICAM 500 Programming Guide Chapter 3 Operation Flow 3 5 Lens Focusing Control ...
Страница 20: ...ICAM 500 Programming Guide 14 3 5 1 Digital Input flow ...
Страница 21: ...Chapter 4 4 CamNavi2 SDK API Manual ...