Skip to main content
Associate II
March 22, 2024
Solved

Failed to evaluate expression

  • March 22, 2024
  • 1 reply
  • 2607 views

I have tow arrays one named adcData[] that is adc input buffer and Xbuf[] that is output buffer. Now i am calculating some paramaters... But when i use my debuger and Live variables, i get only adcData[] and Xbuf[] is "Failed to evaluate expression". Arrays are declared same way and everything is configured similarly.

    Best answer by Miha

    if you want to see live expresions, you need to uprdate variables slowly. if speed is more than few 10Hz data is not shown.

    1 reply

    MihaAuthor
    Associate II
    March 22, 2024
    Semer CHERNI
    ST Employee
    April 2, 2024

    Hello @Miha 

    First let me thank you for posting.

    The issue seems to be linked to the syntax of the variable in the "Live expression"

    SemerCHERNI_0-1712067285575.png

    BR,
    Semer.

    MihaAuthorBest answer
    Associate II
    November 7, 2024

    if you want to see live expresions, you need to uprdate variables slowly. if speed is more than few 10Hz data is not shown.