how to check which resources (like Timers) in use

For general Flowcode discussion that does not belong in the other sections.
Post Reply
S_VE
Posts: 41
http://meble-kuchenne.info.pl
Joined: Tue Jan 26, 2021 6:10 am
Has thanked: 52 times
Been thanked: 1 time

how to check which resources (like Timers) in use

Post by S_VE »

Hi

While creating a embedded flowchart we use some standard components.
These components may use some resources ( like Timers....).

How can I know which Timers are in use, Just to avoid using the same Timers ( to avoid conflict).

Thanks

S_Ve
S_V

chipfryer27
Valued Contributor
Posts: 1945
Joined: Thu Dec 03, 2020 10:57 am
Has thanked: 425 times
Been thanked: 646 times

Re: how to check which resources (like Timers) in use

Post by chipfryer27 »

Hi

Perhaps include the timer being used in the macro name, then a quick glance in Project Explorer would show? There may well be a better way though.


Screenshot 2026-02-23 160543.jpg
Screenshot 2026-02-23 160543.jpg (62.49 KiB) Viewed 158 times

Regards

Steve-Matrix
Matrix Staff
Posts: 1763
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 256 times
Been thanked: 412 times

Re: how to check which resources (like Timers) in use

Post by Steve-Matrix »

There is no way to do this directly within Flowcode.

If you are only concerned with the interrupts used by you in your program, you can right-click the "Interrupt" icon in the "Icons" list in Project Explorer and select "List occurrences". That will allow you to check on each interrupt more easily.

If you are concerned with timers (etc) used within components as well, then the best way may be to do an appropriate text search on the generated C code file.

S_VE
Posts: 41
Joined: Tue Jan 26, 2021 6:10 am
Has thanked: 52 times
Been thanked: 1 time

Re: how to check which resources (like Timers) in use

Post by S_VE »

Thank you for the quick reply,
Steve-Matrix wrote:
Mon Feb 23, 2026 4:26 pm
If you are concerned with timers (etc) used within components as well, then the best way may be to do an appropriate text search on the generated C code file.
[yes, I am asking about the timers (etc) used within components ]

When you said "appropriate text search" do you mean to say that, we should search for relevant registers of all the timers in the device? or, are there any other keywords to search. ( this i am asking about PIC devices particularly)
S_V

Steve-Matrix
Matrix Staff
Posts: 1763
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 256 times
Been thanked: 412 times

Re: how to check which resources (like Timers) in use

Post by Steve-Matrix »

Yes, I was thinking about a search for relevant registers of that chip. For example "T2CON" is used for Timer2 on some (most?) PICmicros.

But also be aware that some aspects of Flowcode's CAL may also use some internal resources. For example, the PWM does sometimes also use Timer2.

Post Reply