Service: Device Operation

This API is officially released and maintained.

This service is used for starting and stopping the device operation. Normally, the device is started and stopped based on the client connections. If there is a client using the Qb2, the device will start and stay in operation until all clients disconnected. The start function of this service overrides this behaviour, i.e. when started using the start function the device will stay operational even though no clients are connected. This allows a faster retrieval of frames once a client connects as the startup phase is skipped.

Table 1. Available methods
Method Request Response

Start

google.protobuf.Empty

google.protobuf.Empty

Stop

google.protobuf.Empty

google.protobuf.Empty

Get

google.protobuf.Empty

DeviceOperationGetResponse

Watch

google.protobuf.Empty

DeviceOperationWatchResponseStream

Start

Method to start the device operation. This starts the operation ot the deflection mirrors and the laser triggering. When this call is used, the device will stay in operation until stop is called (independent of clients being connected or not).

Stop

Method to stop the device operation. This stops the triggering the laser and the movement of the deflection mirrors.

Get

Get the current status of the device operation

Response

Response containing the current device operation state

Table 2. Available fields in blickfeld.hardware.services.DeviceOperationGetResponse
Field Type Default Unit

device_operation

data.DeviceOperation

-

-

device operation state

Watch

Subscribe to status updates of the device operation

Response Stream

Response containing the current device operation state

Table 3. Available fields in blickfeld.hardware.services.DeviceOperationWatchResponse
Field Type Default Unit

device_operation

data.DeviceOperation

-

-

device operation state