TMSiSDK.device.devices.saga.saga_device.SagaDevice.set_device_download_file_request

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

SagaDevice.set_device_download_file_request(file_id, download=True)#

Sets the download file request to start or stop the download stream.

Parameters:
  • file_id (int) – id of the file to download

  • download (bool, optional) – True if to download, False to stop, defaults to True

Raises:
  • TMSiError – TMSiErrorCode.device_error if set device download file request fails.

  • TMSiError – TMSiErrorCode.api_invalid_command if device is not in sampling mode.