App Builder Interrupt problem

For general Flowcode discussion that does not belong in the other sections.
wayne_millard
Posts: 94
http://meble-kuchenne.info.pl
Joined: Fri Dec 04, 2020 6:12 pm
Has thanked: 1 time
Been thanked: 9 times

App Builder Interrupt problem

Post by wayne_millard »

Hi Team,

Since i had the problem of not being able to open the project i now have a problem that the interrupt does not have a clock frequency.
How can i fix this i have tried the following.
1. delete the interrupt icon and replace.
2. unistall flowcode v9 and reistall.
but still not working.
2021_03_22_10_27_39_Greenshot.png
2021_03_22_10_27_39_Greenshot.png (205.46 KiB) Viewed 4703 times
Thanks,
Wayne M

BenR
Matrix Staff
Posts: 1739
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 440 times
Been thanked: 603 times

Re: App Builder Interrupt problem

Post by BenR »

Hi Wayne,

Hopefully I have solved the problem for you in your othr topic.

Basically the path to the App Developer "target" definition file somehow got corrupted or changed.

from target='SCADA.SCADA.GENERIC'

to target='..GENERIC'

The definitions deal with things like available interrupts and could explain the new bug you are seeing.

wayne_millard
Posts: 94
Joined: Fri Dec 04, 2020 6:12 pm
Has thanked: 1 time
Been thanked: 9 times

Re: App Builder Interrupt problem

Post by wayne_millard »

Hi Benj,

Thanks for the file fix but still have problem with the interrupt having no clock frequency.

Thanks,
Wayne M

medelec35
Matrix Staff
Posts: 1451
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 512 times
Been thanked: 472 times

Re: App Builder Interrupt problem

Post by medelec35 »

Hi Wayne, just curious to what the interrupt frequency you are interested in?
E.g. are you interested in a second (or even milliseconds) time interrupt?
Martin

wayne_millard
Posts: 94
Joined: Fri Dec 04, 2020 6:12 pm
Has thanked: 1 time
Been thanked: 9 times

Re: App Builder Interrupt problem

Post by wayne_millard »

Hi Martin,

Yes 1 second is what i want. before it went all wrong it have a clock frequence that the interrupt worked from but have a frequency of 0hz now.

wayne

medelec35
Matrix Staff
Posts: 1451
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 512 times
Been thanked: 472 times

Re: App Builder Interrupt problem

Post by medelec35 »

In that case you don't really want to use the interrupt.
Use the Timed Event Trigger instead.
I was really amazed at the accuracy!
Much better than interrupt.
I Ran it and compared with a stopwatch.
It was still spot on to the second an hour later.
It's easy to set up for 1 second intervals:
Timed Event Trigger.png
Timed Event Trigger.png (17.9 KiB) Viewed 4681 times
Martin

wayne_millard
Posts: 94
Joined: Fri Dec 04, 2020 6:12 pm
Has thanked: 1 time
Been thanked: 9 times

Re: App Builder Interrupt problem

Post by wayne_millard »

Hi Martin,

I do not see what you have on your event timer.
what am i doing wrong?
event timer.png
event timer.png (183.45 KiB) Viewed 4670 times
Thanks,
Wayne M

medelec35
Matrix Staff
Posts: 1451
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 512 times
Been thanked: 472 times

Re: App Builder Interrupt problem

Post by medelec35 »

Hi Wayne,
What I have posted is within the component properties.
right-click the component on the panel & select properties.
That is how you set up the time the event triggers in.
You don't require Period of the component, only start is required.
Martin

Osta
Posts: 53
Joined: Thu Dec 10, 2020 1:12 pm
Has thanked: 1 time
Been thanked: 3 times

Re: App Builder Interrupt problem

Post by Osta »

Hi Martin,
Controller PIC12F683. All settings went over but does not work!
Attachments
TEST.fcfx
(8.49 KiB) Downloaded 112 times
Timer.jpg
Timer.jpg (35.29 KiB) Viewed 3625 times
Last edited by Osta on Tue Nov 02, 2021 9:14 pm, edited 1 time in total.

medelec35
Matrix Staff
Posts: 1451
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 512 times
Been thanked: 472 times

Re: App Builder Interrupt problem

Post by medelec35 »

If you post your flowchart,
I will take a look at it for you.
Martin

Post Reply