pub enum GenSrvCmd {
Show 16 variants
Vendor,
CameraReady,
CameraName,
Info,
ListProperties,
GetProperty(GenCamCtrl),
SetProperty(GenCamCtrl, PropertyValue, bool),
CancelCapture,
IsCapturing,
Capture,
StartExposure,
DownloadImage,
ImageReady,
CameraState,
SetRoi(GenCamRoi),
GetRoi,
}
server
only.Expand description
The possible calls that can be made to a generic camera server.
Variants§
Vendor
Get the vendor of the camera. Calls the GenCam::vendor
method.
CameraReady
Check if the camera is ready. Calls the GenCam::camera_ready
method.
CameraName
Get the name of the camera. Calls the GenCam::camera_name
method.
Info
Get the camera info. Calls the GenCam::info
method.
ListProperties
List all properties available on the camera. Calls the GenCam::list_properties
method.
GetProperty(GenCamCtrl)
Get a specific property from the camera. Calls the GenCam::get_property
method.
SetProperty(GenCamCtrl, PropertyValue, bool)
Set a specific property on the camera. Calls the GenCam::set_property
method.
CancelCapture
Cancel a capture in progress. Calls the GenCam::cancel_capture
method.
IsCapturing
Check if the camera is currently capturing. Calls the GenCam::is_capturing
method.
Capture
Capture an image from the camera. Calls the GenCam::capture
method.
StartExposure
Start an exposure on the camera. Calls the GenCam::start_exposure
method.
DownloadImage
Download an image from the camera. Calls the GenCam::download_image
method.
ImageReady
Check if an image is ready to be downloaded. Calls the GenCam::image_ready
method.
CameraState
Get the current state of the camera. Calls the GenCam::camera_state
method.
SetRoi(GenCamRoi)
Set the region of interest on the camera. Calls the GenCam::set_roi
method.
GetRoi
Get the current region of interest. Calls the GenCam::get_roi
method.