zen_api/lm/hardware/v1/focus_service.proto#
Version: 2026.5.1
Package: zen_api.lm.hardware.v1
Service FocusService#
The IFocusService interface.
GetAcceleration#
Gets the focus acceleration.
rpc GetAcceleration (zen_api.lm.hardware.v1.FocusServiceGetAccelerationRequest) returns (zen_api.lm.hardware.v1.FocusServiceGetAccelerationResponse);
Request: zen_api.lm.hardware.v1.FocusServiceGetAccelerationRequest
Response: zen_api.lm.hardware.v1.FocusServiceGetAccelerationResponse
GetPosition#
Gets the focus position.
rpc GetPosition (zen_api.lm.hardware.v1.FocusServiceGetPositionRequest) returns (zen_api.lm.hardware.v1.FocusServiceGetPositionResponse);
Request: zen_api.lm.hardware.v1.FocusServiceGetPositionRequest
Response: zen_api.lm.hardware.v1.FocusServiceGetPositionResponse
GetSpeed#
Gets the focus speed.
rpc GetSpeed (zen_api.lm.hardware.v1.FocusServiceGetSpeedRequest) returns (zen_api.lm.hardware.v1.FocusServiceGetSpeedResponse);
Request: zen_api.lm.hardware.v1.FocusServiceGetSpeedRequest
Response: zen_api.lm.hardware.v1.FocusServiceGetSpeedResponse
MoveTo#
Moves the focus to the given position in µm.
rpc MoveTo (zen_api.lm.hardware.v1.FocusServiceMoveToRequest) returns (zen_api.lm.hardware.v1.FocusServiceMoveToResponse);
Request: zen_api.lm.hardware.v1.FocusServiceMoveToRequest
Response: zen_api.lm.hardware.v1.FocusServiceMoveToResponse
SetAcceleration#
Sets the acceleration of the focus in percent.
rpc SetAcceleration (zen_api.lm.hardware.v1.FocusServiceSetAccelerationRequest) returns (zen_api.lm.hardware.v1.FocusServiceSetAccelerationResponse);
Request: zen_api.lm.hardware.v1.FocusServiceSetAccelerationRequest
Response: zen_api.lm.hardware.v1.FocusServiceSetAccelerationResponse
SetSpeed#
Sets the speed of the focus in percent.
rpc SetSpeed (zen_api.lm.hardware.v1.FocusServiceSetSpeedRequest) returns (zen_api.lm.hardware.v1.FocusServiceSetSpeedResponse);
Request: zen_api.lm.hardware.v1.FocusServiceSetSpeedRequest
Response: zen_api.lm.hardware.v1.FocusServiceSetSpeedResponse
Stop#
Stops the focus if it is moving.
rpc Stop (zen_api.lm.hardware.v1.FocusServiceStopRequest) returns (zen_api.lm.hardware.v1.FocusServiceStopResponse);
Request: zen_api.lm.hardware.v1.FocusServiceStopRequest
Response: zen_api.lm.hardware.v1.FocusServiceStopResponse
Message FocusServiceGetAccelerationRequest#
The FocusServiceGetAccelerationRequest class.
Message FocusServiceGetAccelerationResponse#
Acceleration of the focus in %.
| Field | Number | Type | Presence | Description |
|---|---|---|---|---|
value |
1 | double |
singular | The acceleration in %. |
Message FocusServiceGetPositionRequest#
The FocusServiceGetPositionRequest class.
Message FocusServiceGetPositionResponse#
Position of the focus in µm.
| Field | Number | Type | Presence | Description |
|---|---|---|---|---|
value |
1 | double |
singular | The position in µm. |
Message FocusServiceGetSpeedRequest#
The FocusServiceGetSpeedRequest class.
Message FocusServiceGetSpeedResponse#
Speed of the focus in %.
| Field | Number | Type | Presence | Description |
|---|---|---|---|---|
value |
1 | double |
singular | The speed in %. |
Message FocusServiceMoveToRequest#
The FocusServiceMoveToRequest class.
| Field | Number | Type | Presence | Description |
|---|---|---|---|---|
value |
1 | double |
singular | New position in µm. |
Message FocusServiceMoveToResponse#
Describes the result of a Focus.MoveTo request.
| Field | Number | Type | Presence | Description |
|---|---|---|---|---|
position_changed |
1 | bool |
singular | A value indicating whether the position was changed. |
Message FocusServiceSetAccelerationRequest#
The FocusServiceSetAccelerationRequest class.
| Field | Number | Type | Presence | Description |
|---|---|---|---|---|
acceleration |
1 | double |
singular | Acceleration in percent, i.e. values from range [0;100]. |
Message FocusServiceSetAccelerationResponse#
The FocusServiceSetAccelerationResponse class.
Message FocusServiceSetSpeedRequest#
The FocusServiceSetSpeedRequest class.
| Field | Number | Type | Presence | Description |
|---|---|---|---|---|
speed |
1 | double |
singular | Speed in percent, i.e. values from range [0;100]. |
Message FocusServiceSetSpeedResponse#
The FocusServiceSetSpeedResponse class.
Message FocusServiceStopRequest#
The FocusServiceStopRequest class.
Message FocusServiceStopResponse#
The FocusServiceStopResponse class.