Firmware (namespace)

Free functions for inspecting and updating camera firmware.

See Zivid::Firmware in the C++ API reference.

class Updater

Public Static Functions

static void Update (Camera ^ camera)

If the current API requires a different firmware than what is present on the camera, the firmware will be updated to this version.

The function throws if the camera is connected, or if the camera is already up to date. Call IsUpToDate first to check if the camera is up to date.

매개변수:

camera – A disconnected camera with out of sync firmware.

static void Update (Camera ^ camera, ProgressCallback ^ callback)

If the current API requires a different firmware than what is present on the camera, the firmware will be updated to this version.

The function throws if the camera is connected, or if the camera is already up to date. Call IsUpToDate first to check if the camera is up to date.

매개변수:
  • camera – A disconnected camera with out of sync firmware.

  • callback – A callback function to track progress of update.

static bool IsUpToDate (Camera ^ camera)

Check if the firmware on the camera is of the version that is required by the API.

매개변수:

camera – A camera to check if firmware is up to date.

update(camera: Camera, progress_callback=None) None

Update camera firmware.

If the current API requires a different firmware than what is present on the camera, the firmware will be updated to this version. The function throws if the camera is connected, or if the camera is already up to date. Call is_up_to_date() first to check if the camera is up to date.

매개변수:
  • camera – The camera to be updated.

  • progress_callback – A callback function to track progress of update. The callable is taking a float and a string as progress and description respectively.

is_up_to_date(camera: Camera) bool

Check if the firmware on the camera is of the version that is required by the API.

매개변수:

camera – The camera to check the firmware of (must be in disconnected state)

반환:

A bool that is True if the firmware is up to date

See also