Project Explorer: Constants and Variables showing their Value / Initial Valu

Post here to discuss any new features, components, chips, etc, that you would like to see in Flowcode.
Post Reply
miggarc
Posts: 52
http://meble-kuchenne.info.pl
Joined: Mon Jan 04, 2021 8:08 pm
Has thanked: 7 times
Been thanked: 4 times

Project Explorer: Constants and Variables showing their Value / Initial Valu

Post by miggarc »

Hi

One more suggestion:

It would be nice ( to not say " imperative " ) if, in Project Explorer View, Constants and Variables showing their Value or Initial Value respectively,
perhaps inside brackets .

To my current knowledge on FC, if we decide to initialize variables on their own dialog box appropriated field ( rather than through calculation ),
the only immediate way to view their "programmed" Initial Value is by opening them one by one .

That said, I think this is really a necessary change.

Many thanks in advance,


Miguel Garcia,
Electronic Systems Developer

kersing
Valued Contributor
Posts: 149
Joined: Wed Dec 02, 2020 7:28 pm
Has thanked: 63 times
Been thanked: 56 times

Re: Project Explorer: Variables and Constants showing their Initial Value

Post by kersing »

Would be a nice feature but necessary is relative. I’ve been using FC both for hobby and professional projects since version 2 without it.

chipfryer27
Valued Contributor
Posts: 1110
Joined: Thu Dec 03, 2020 10:57 am
Has thanked: 278 times
Been thanked: 396 times

Re: Project Explorer: Constants and Variables showing their Value / Initial Valu

Post by chipfryer27 »

Hi

Don't forget you can view the value of all your variables when running using Simulation Debugger.

Regards

Steve-Matrix
Matrix Staff
Posts: 1234
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 167 times
Been thanked: 277 times

Re: Project Explorer: Constants and Variables showing their Value / Initial Valu

Post by Steve-Matrix »

I agree that this would be a useful feature. In fact, we're ahead of you and have already implemented this as a new feature of Flowcode v10.

As Kersing and Chipfryer27 have said, Flowcode v9 is perfectly usable without it but it is a really nice addition in v10.

Here's a screenshot of this new feature in v10:
fcvars.png
fcvars.png (36.95 KiB) Viewed 1822 times

miggarc
Posts: 52
Joined: Mon Jan 04, 2021 8:08 pm
Has thanked: 7 times
Been thanked: 4 times

Re: Project Explorer: Constants and Variables showing their Value / Initial Valu

Post by miggarc »

Hi

Will we have an option on how this data
is presented (hex, bin, ... ) ?

Many thanks in advance,


Miguel Garcia,
Electronic Systems Developer

Steve-Matrix
Matrix Staff
Posts: 1234
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 167 times
Been thanked: 277 times

Re: Project Explorer: Constants and Variables showing their Value / Initial Valu

Post by Steve-Matrix »

miggarc wrote:
Tue Jun 28, 2022 12:45 pm
Will we have an option on how this data is presented (hex, bin, ... ) ?
Yes. Currently in v9 (and v10) you can add a suffix to the expression in the watch window to change it's format. See this post for more details.

In v10, I plan to add a right-click menu to specify the format.

Post Reply