Frequently Asked Questions

This page provides help with the most common questions about STM32CubeMonitor.

1 Where to download STM32CubeMonitor

All required resources are available on www.st.com : STM32CubeMonitor

2 Is there a "getting started" tutorial ?

There is a video explaining how to start an acquisition flow. It is visible on Youtube : "Getting started" video

3 Is it possible to add external nodes

Of course, you can add external nodes to your palette via the menu "Manage palette".

manage palette.png

You may not see the menu because Node-Red uses npm to install nodes, and the menu "Manage Palette" is not available when npm is not installed on the computer. In order to add nodes in the palette, you need to install nodejs (with npm). Then the menu will be available, you will have access to Node-RED nodes.

4 Is it possible to write variable(s) programmatically without write widget

To write data by flow, the following payload must be sent to probe out node ,with the topic “write” :

 {  
   "variablelist": [
        {
            "address": "0x20000060",
            "type": 4,
            "value": "xxxx"
        }
    ],
    "accesspoint": 0
 }

One possible flow with standard nodes, look like:

where a slider has been added to generate the value (but can be done by any node) then the template node (wrtite_msg) formats the payload, and the change node sets the topic.

Template node content :

The variable address and variable type must be filled here. For the type and address, the easiest way is to try first with a writing panel and a debug node, and see the values. The payload value from the input will be inserted in the template. (the value to write).

The next node is a “change” to set the topic to write:

5 Is there a way to plot arbitrary variable like STMStudio "point viewer"

Find hereafter a flow where the variable "counter" as X and "counter2" as Y are displayed in a scatter graph.

Point viewer.png

You will have to modify the configuration of nodes "variables" (select your own variables), "acquisition out" - "acquisition in" (select your own probe), "processing" (select the variables node) and configure "dual data" subflow to select the mapping X and Y with your own variables.

Please find hereafter the flow to import: point viewer flow