Skip to main content
Visitor II
November 28, 2024
Solved

MKBOX PRO - hsdatalog_GUI.py PYthonSDK

  • November 28, 2024
  • 1 reply
  • 1245 views

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

 

    This topic has been closed for replies.
    Best answer by Federica Bossi

    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

    1 reply

    Technical Moderator
    December 4, 2024

    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

    Visitor II
    December 11, 2024

    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?

    Visitor II
    December 11, 2024

    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.