TMSiSDK.device.devices.saga.saga_device.SagaDevice.start_measurement

TMSiSDK.device.devices.saga.saga_device.SagaDevice.start_measurement#

SagaDevice.start_measurement(measurement_type: MeasurementType, thread_refresh=None)#

Starts the measurement requested.

Parameters:
  • measurement_type (MeasurementType) – measurement to start

  • thread_refresh (float, optional.) – refresh time for sampling and conversion threads, defaults to None.

Raises:
  • TMSiError – TMSiErrorCode.api_invalid_command if already sampling.

  • TMSiError – TMSiErrorCode.device_not_connected if not connected.