Skip to main content
Graduate II
October 22, 2024
Question

Why does CubeMonitor not show variable values?

  • October 22, 2024
  • 1 reply
  • 2435 views

Hi everyone

I have a - for sure very basic - CubeMonitor flow. The goal later is to achieve a step response for regulator parameter estimating, but at first I want to start with showing temperatures only and fail here.

 

What I managed to do already:

  1. Probe connecting seems to be successfull.
  2. Importing the .elf file seems to be successfull.
  3. Deploying also works.

I put some screenshots in, maybe somebody else has an idea what goes wrong here?

 

 

    This topic has been closed for replies.

    1 reply

    ST Employee
    October 22, 2024

    Hello @White_Fox 

    In order to have a successful acquisition, you must have more nodes :

    - Some nodes to configure the acquisiiton, including a "ack stlink out"

    - Some nodes to collect format and display the data. 

    You should use the default BasicFlow. You can find it in the menu (top right button) / import / local and select STM32CubeMonitor_BasicFlow.json

     

    More explanation can be found in the wiki : STM32CubeMonitor:Basic flow to perform a simple acquisition - stm32mcu

    You can also look at the video MOOC https://www.youtube.com/watch?v=PhWAZiVwMkU&list=PLnMKNibPkDnE0lxFD_LnXuzs6I2QsSKkm&index=4

     

    Please, let us know if it is better with the basic flow. thank you.

     

     

     

    White_FoxAuthor
    Graduate II
    October 22, 2024

    Interesting thing. It is new for me to need a ST-Link out node, but in previous tries I had these nodes already.

    Nevertheless, importing the Basic Flow worked for me after adjusting some after adjusting the variables to present, so I will continue from that.

    Thanks for the help, but I have a feeling that I need to come back in a few days. ;)

    White_FoxAuthor
    Graduate II
    November 14, 2024

    Hi everyone

    The basic demonstration flow works nice, I just change the variable settings in the myvariables node get the variables into a graph I want have.

     

    But I still stucking with understanding how this tool works:

    1. How does the START/STOP Acquisition function work? I see that these buttons do not have a payload, but a topic, what is that exactly? The topics are 'start', 'stop' and 'clear' for clearing the chart. Where are they defined?

    The next thing is: I want to use this to get a step response to estimate temperature regulator parameters. My plan is to do so: I have a boolean and a wait loop. I want to toggle the boolean and escape from the wait loop and start the aquisition. But how to do that? I can get the variable in the myvariables node, but I do not see how to link this variable with a button...best with the START acquistion button.

    Does anyone have an answer?