TMSiSDK.device.devices.saga.saga_device.SagaDevice.get_device_data#
- SagaDevice.get_device_data(POINTER_received_data_array: pointer, buffer_size: int, POINTER_num_of_sets: pointer, POINTER_data_type: pointer) TMSiDeviceRetVal #
Gets data from the device during sampling.
- Parameters:
POINTER_received_data_array (pointer(array[c_float])) – array that will contain the received data.
buffer_size (int) – maximum size of the buffer.
POINTER_num_of_sets (pointer(c_uint)) – number of sets of data received.
POINTER_data_type (pointer(c_int)) – type of data received.
- Raises:
TMSiError – TMSiErrorCode.api_invalid_command if device is notin samplin modeg
- Returns:
return value of the call
- Return type: