Skip to main content
Visitor II
November 19, 2024
Solved

How to use stm32cubemonitor to observer 64bit length variable ?

  • November 19, 2024
  • 1 reply
  • 774 views

Dear All,

 

I want to use STM32CubeMonitor to monitor 64-bit variables, such as int64_t or uint64_t. However, it seems that 64-bit variables cannot be selected from the variable list (they are not displayed).yang2_0-1731984447665.pngyang2_1-1731984633397.png

Is there any way to achieve this?

Best Regards,

Fan

 

 

 

 

 

 

 

 

 

    This topic has been closed for replies.
    Best answer by stephane.legargeant

    Hello

    The 64bit format is not supported in STM32CubeMonitor because the data between nodes are transmitted in javascript "number" format. This format is used for the payload between node, in the processing and in the charts. It is a Double-precision floating-point format IEEE 754, and this format can not handle accurately int64. The IEEE number format as only 52 bits for the value. 

    For applications which are not using the full range or if you don't need perfect accuracy, it should be possible to read both 32bits parts and combine it in post processing. Nevertheless, if the acquisition is done when the value is changed there is a risk of  misalignment between the low part and high part. 

    Best regards

    Stephane

     

     

     

    1 reply

    ST Employee
    November 19, 2024

    Hello

    The 64bit format is not supported in STM32CubeMonitor because the data between nodes are transmitted in javascript "number" format. This format is used for the payload between node, in the processing and in the charts. It is a Double-precision floating-point format IEEE 754, and this format can not handle accurately int64. The IEEE number format as only 52 bits for the value. 

    For applications which are not using the full range or if you don't need perfect accuracy, it should be possible to read both 32bits parts and combine it in post processing. Nevertheless, if the acquisition is done when the value is changed there is a risk of  misalignment between the low part and high part. 

    Best regards

    Stephane