TMSiSDK.device.devices.saga.saga_device.SagaDevice.get_device_card_file_info

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

SagaDevice.get_device_card_file_info(file_id: int) dict#

Gets the information of the file on the device’s card.

Parameters:

file_id (int) – Id of the file to be investigated.

Raises:
  • TMSiError – TMSiErrorCode.device_error if get card info fails.

  • TMSiError – TMSiErrorCode.device_not_connected if not connected.

Returns:

A dictionary with file metadata and impedance report.

Return type:

{“metadata”:TMSiDevRecDetails, “impedance_report”: [TMSiDevImpReport]}