Hello,
in flowcode v5 i am often used eeprom component to display variable
as decimal value for debugging.
Is ist possible to use this function in flowcode v6?
thanks
Dirk
Dispaly Varables Value
Moderator: Benj
-
- Matrix Staff
- Posts: 9520
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
- Contact:
Re: Dispaly Varables Value
Hi Dirk,
Yes that is possible.
You can even view and change the contents of EEPROM during simulation by selecting 'View', 'Console'.
Just remember that EEPROM on hardware has a limited life of reading and writing.
I personally use UART for debugging but professional version of flowcode is required.
Since it can not only constantly send the values of any variables you wish, but all the values can be logged on a text file.
I posted a bit about it here
But won't go into further details in case you're not interested in doing it that way.
If you are I can help you further.
Other ways of seeing variable values are: sending to LCD Or ICD (reqires Flowckit or Matrix programmers).
Yes that is possible.
You can even view and change the contents of EEPROM during simulation by selecting 'View', 'Console'.
Just remember that EEPROM on hardware has a limited life of reading and writing.
I personally use UART for debugging but professional version of flowcode is required.
Since it can not only constantly send the values of any variables you wish, but all the values can be logged on a text file.
I posted a bit about it here
But won't go into further details in case you're not interested in doing it that way.
If you are I can help you further.
Other ways of seeing variable values are: sending to LCD Or ICD (reqires Flowckit or Matrix programmers).
Martin
-
- Posts: 116
- Joined: Wed Feb 08, 2012 2:45 pm
- Has thanked: 7 times
- Been thanked: 11 times
- Contact:
Re: Dispaly Varables Value
Hi Martin,
i know this and use eeprom only in simulation. With eeprom
component you can show decimal values up to more then 10 bit.
That is what i mean. It's a nice display for debugging without
strings and so on. That wehre a nice tool for flowcode 6, you know?
Dirk
i know this and use eeprom only in simulation. With eeprom
component you can show decimal values up to more then 10 bit.
That is what i mean. It's a nice display for debugging without
strings and so on. That wehre a nice tool for flowcode 6, you know?
Dirk
-
- Matrix Staff
- Posts: 9520
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
- Contact:
Re: Dispaly Varables Value
If its for simulation only, why not just add all the variables you wish to know the value of in the simulation debugger?
Hover mouse over to the left of expression and an arrow will appear.
Select the arrow then Add Variable.
You can either select a single variable, or multiple variables.
To select a group you can hold left or right mouse button and drag.
Or you can hold down Ctrl key and just select variables you're interested in.
When running simulation on the normal speed you will not see the values changing, but you will see the updated values when paused.
If you select simulation speed slower than the normal speed, then you will see the variable values update as soon as they change value.
Martin
All you do is press F8 Hover mouse over to the left of expression and an arrow will appear.
Select the arrow then Add Variable.
You can either select a single variable, or multiple variables.
To select a group you can hold left or right mouse button and drag.
Or you can hold down Ctrl key and just select variables you're interested in.
When running simulation on the normal speed you will not see the values changing, but you will see the updated values when paused.
If you select simulation speed slower than the normal speed, then you will see the variable values update as soon as they change value.
Martin
Martin
-
- Posts: 116
- Joined: Wed Feb 08, 2012 2:45 pm
- Has thanked: 7 times
- Been thanked: 11 times
- Contact:
Re: Dispaly Varables Value
Thank you, now i know more. But
a pretty display as tool would be fine.
nice weekend
Dirk
a pretty display as tool would be fine.
nice weekend
Dirk