Skip to main content
Visitor II
March 5, 2018
Solved

STM32CubeMonitor-Power data export

  • March 5, 2018
  • 4 replies
  • 3266 views
Posted on March 05, 2018 at 17:34

Hi,

Is it possible to export the measured STM32CubeMonitor-Power data to a csv file? Or to parse the stpm files? I need a machine readable format for further analysis. 

Regards,

Marc

#stm32cubemonpwr #stm32cubemonitor-power
    This topic has been closed for replies.
    Best answer by Fred B
    Posted on March 06, 2018 at 11:32

    Hello Marc,

    stpm file is a compressed file. You can uncompress and open this file with any file archiver (7zip, winzip, linux archive manager, ...).

    stpm file contains a list of csv files named: [date]_rawfile_[increment].csv

    Each csv file contains 2 columns:

    • First column represents the time (in ms);
    • Second column represents the current (in 

      µA).

    Best Regards,

    Frédéric

    4 replies

    Fred BAnswer
    ST Employee
    March 6, 2018
    Posted on March 06, 2018 at 11:32

    Hello Marc,

    stpm file is a compressed file. You can uncompress and open this file with any file archiver (7zip, winzip, linux archive manager, ...).

    stpm file contains a list of csv files named: [date]_rawfile_[increment].csv

    Each csv file contains 2 columns:

    • First column represents the time (in ms);
    • Second column represents the current (in 

      µA).

    Best Regards,

    Frédéric

    Visitor II
    March 6, 2018
    Posted on March 06, 2018 at 11:46

    Thank you very much!

    Best regards,

    Marc

    September 15, 2020

    Hi, all

    I am a newcomer of STM32CubeMonitor.

    Now, I have successfully use "basic flow" to monitor my variables. I would like export my acquisition data to .csv file or excel file.

    As above reply, we can save to .stpm file and extract it to csv, but how can I save .stpm file?

    Does anyone know that?

    Super User
    April 15, 2021

    "how can I save .stpm file?"

    Hopefully, after 7 months, you have worked it out?

    For the benefit of others, press this button:

    0693W000008zfcKQAQ.png 

    The name is a bit misleading: it doesn't just save an image of the graph - it does save the captured data to a .stmp file.

    This is documented in the User Manual:

    0693W000008zffOQAQ.png

    Visitor II
    September 29, 2020

    Hi yang2

    I'm also newcomer, and faced similar problem.

    I'm not sure this is correct way, but I exported variable data as the following way.

    • Connect Processing node to file node.

    0693W000004I7tjQAC.png

    • Start acquisition from dashboard
    • Exported csv file to the selected folder. The following is just example.

    {"groupname":"Accelometer","variabledata":[{"y":9088,"x":1601387630428},{"y":9160,"x":1601387630442},{"y":9112,"x":1601387630458},{"y":9108,"x":1601387630472}],"variablename":"mpu1.Accelerometer_X"}

    {"groupname":"Accelometer","variabledata":[{"y":-14248,"x":1601387630428},{"y":-14196,"x":1601387630442},{"y":-14240,"x":1601387630458},{"y":-14228,"x":1601387630472}],"variablename":"mpu1.Accelerometer_Y"}

    {"groupname":"Accelometer","variabledata":[{"y":6168,"x":1601387630428},{"y":6256,"x":1601387630442},{"y":6252,"x":1601387630458},{"y":5996,"x":1601387630472}],"variablename":"mpu1.Accelerometer_Z"}

    Best regards,