cancel
Showing results for 
Search instead for 
Did you mean: 

MKBOX PRO - hsdatalog_GUI.py PYthonSDK

FilipeLourenço
Associate II

I am trying to do USB sensor data streaming Real Time Plot by conecting  my steval mkboxpro with hsdatalog_GUI.py but it keeps saying "Device Template Model Loading". Anyone can help?

Thanks

FilipeLoureno_0-1732807111637.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
Federica Bossi
ST Employee

Hi @FilipeLourenço ,

The HSDPython_SDK is compatible only with FP-SNS-DATALOG2 fw flashed on sensortile.box Pro board.
you can download the fw tools here
hsdatalog_GUI.py works within the HSDPython_SDK, developed in Python 3.10 on Windows and Linux
environments.
HSDPython_SDK requires different Python modules, distributed together with FP-SNS-DATALOG2. 
By installing them through the provided installers, all the required dependencies are automatically solved – see HSDPython_SDK to fully setup your Python environment.
Execute hsdatalog_GUI.py
Once the board is connected via USB and the Python environment has been properly updated, you can launch the real time plot by just executing hsdatalog_GUI.py available in Utilities/HSDPython_SDK/examples
To execute the script you can open a command shell there and run python hsdatalog_GUI.py

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

View solution in original post

3 REPLIES 3
Federica Bossi
ST Employee

Hi @FilipeLourenço ,

The HSDPython_SDK is compatible only with FP-SNS-DATALOG2 fw flashed on sensortile.box Pro board.
you can download the fw tools here
hsdatalog_GUI.py works within the HSDPython_SDK, developed in Python 3.10 on Windows and Linux
environments.
HSDPython_SDK requires different Python modules, distributed together with FP-SNS-DATALOG2. 
By installing them through the provided installers, all the required dependencies are automatically solved – see HSDPython_SDK to fully setup your Python environment.
Execute hsdatalog_GUI.py
Once the board is connected via USB and the Python environment has been properly updated, you can launch the real time plot by just executing hsdatalog_GUI.py available in Utilities/HSDPython_SDK/examples
To execute the script you can open a command shell there and run python hsdatalog_GUI.py

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

Hi, @Federica Bossi 

Thanks for the Help.

I already have the FP-SNS-DATALOG2 fw flashed on sensortile.box Pro board, Python 3.12 installed, and the HSDPython_SDK installed. 
But when i execute hsdatalog_GUI.py it detects the board, but keeps giving the message "Device Template Model Loading"
Do you have any other recommendation?

I wanted to use the  hsdatalog_GUI.py to see the real time plot of the acc and mic measurements, because i am getting negative timestamps in the data from microSD. I don't know if it is because of the files from the SDcard or because of the .dat to .csv file conversion done.

When i used the normal fw from the mkboxpro everything was ok, but the files that i got from the SDcard was .csv. Now, with the high speed data logging, the files are .dat and after the conversion i am getting very low timestamps like 1^-12, and a lot of negative timestamps.