Announcements

From sunburn to sun earn – we’ve got the power! Watch our #poweringgreen videos now.

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
sohail
Level 3
Level 3
50 sign-ins 10 questions asked 10 replies posted

Hi @Krupashankar

              Someone Pl Guide how to Get Variables Data in MCE Designer.

As per doc 2.6.5 Variable types and scope
Script engine supports maximum of 30 global variables, these variables can be accessed from both the task. Each tasks has maximum of 24 dedicate local variables. These local variables can be only accessed with inrespective task. All the variables are 32 bit signed variables. Only global variables can be accessed from MCE Designer or User UART interface.
In MCE Designer I can see Register but no real time value change. Can I see variable values?

 

var.png

 

0 Likes
1 Solution
Krupashankar
Moderator
Moderator
Moderator
500 replies posted 50 likes received 25 likes received

Hi @sohail,

Yes, only Global variables can be accessed using MCE Designer.

In MCE Designer I can see Register but no real time value change. Can I see variable values?

Yes, Please follow the below steps:

  • Right Click on >> Monitor Definitions >> Create new monitor Group >> Give a desired name

Krupashankar_1-1654794701466.png

 

  • Right click on newly created monitor group >> Define Trace >> add the global variables from the list

Krupashankar_2-1654794924729.png

  • Expand the monitor group and setup trace

 

These steps will help in watching the real time change of the global variable.

Please let us know if any further clarification is needed

 

Thanks,

Krupashankar

View solution in original post

0 Likes
2 Replies
Krupashankar
Moderator
Moderator
Moderator
500 replies posted 50 likes received 25 likes received

Hi @sohail,

Yes, only Global variables can be accessed using MCE Designer.

In MCE Designer I can see Register but no real time value change. Can I see variable values?

Yes, Please follow the below steps:

  • Right Click on >> Monitor Definitions >> Create new monitor Group >> Give a desired name

Krupashankar_1-1654794701466.png

 

  • Right click on newly created monitor group >> Define Trace >> add the global variables from the list

Krupashankar_2-1654794924729.png

  • Expand the monitor group and setup trace

 

These steps will help in watching the real time change of the global variable.

Please let us know if any further clarification is needed

 

Thanks,

Krupashankar

0 Likes

Hi @Krupashankar ,

                                               Thanks for Help, I am able to Run my First Script & Can See the  Global Variable Value in MCE-Designer Changing.

Thank you🤗

0 Likes