cancel
Showing results for 
Search instead for 
Did you mean: 

Save sensor data to csv files - SensorTile.box

FraPal
Associate

Hello, 

I am working in Python with a sensorTile.box Pro (https://www.st.com/en/evaluation-tools/steval-mkboxpro.html) connected via cable to a laptop and I am logging files in loops of 5 seconds using the below method built from HSDLink. 

Is there a way to save the data to .csv files instead of passing from .dat files?

Thank you!

 

    def start_log(self:(
        self.is_log_started = HSDLink.start_log(self.hsd_link, self.device_id, sub_folder= True)
        self.threads_stop_flags = []
        self.sensor_data_files = []

        for s in self.sensor_list:
            HSDLink.start_sensor_acquisition_thread(self.hsd_link, self.device_id, s, self.threads_stop_flags, self.sensor_data_files)
        self.output_acquisition_path = HSDLink.get_acquisition_folder(self.hsd_link)
0 REPLIES 0