Cannot seem to get the timed event trigger to work

Any bugs you encounter with Flowcode should be discussed here.
DAVIDJOINER
Posts: 140
http://meble-kuchenne.info.pl
Joined: Wed Dec 02, 2020 7:35 pm
Been thanked: 18 times

Cannot seem to get the timed event trigger to work

Post by DAVIDJOINER »

Hi

Cannot seem to get the timed event trigger to work

have included the FC9 program i used to test

the trigger appears to count down but does not appear to call the designated macro

Can you advise

Also i notice the smallest time allowed appears to be 1 second would really like to go lower ie down to .25 of second

DAVID
Attachments
TRIGGER_EVENT_TEST.fcsx
(12.57 KiB) Downloaded 699 times

medelec35
Matrix Staff
Posts: 1956
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 626 times
Been thanked: 657 times

Re: Cannot seem to get the timed event trigger to work

Post by medelec35 »

Your flowchart was not working for me either.
So I deleted the start component then re added it.
Now it works:
Timed event.png
Timed event.png (20.86 KiB) Viewed 8418 times
Should not make any difference to me , but are all your components up to-date?
When doing an update, try changing Files in-use to Full database.
The difference in components was the start was the same as a normal component shape:
Timed event2.png
Timed event2.png (58.81 KiB) Viewed 8416 times
After was deleted and added back in the flowchart, icon changed to a sim shape:
Timed event3.png
Timed event3.png (56.67 KiB) Viewed 8416 times
Martin

DAVIDJOINER
Posts: 140
Joined: Wed Dec 02, 2020 7:35 pm
Been thanked: 18 times

Re: Cannot seem to get the timed event trigger to work

Post by DAVIDJOINER »

HI Medelec

Thanks for your comments very fast

i did a full update of components as you suggested

i still note that even after this when select a simulation macro i get the correct simulation symbol

But when i then selected timed event it changes back to the normal symbol ?

So still not quite working yet

Any ideas

Many thanks
David

Steve-Matrix
Matrix Staff
Posts: 1480
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 208 times
Been thanked: 350 times

Re: Cannot seem to get the timed event trigger to work

Post by Steve-Matrix »

DAVIDJOINER wrote:
Thu Mar 04, 2021 8:36 am
i still note that even after this when select a simulation macro i get the correct simulation symbol

But when i then selected timed event it changes back to the normal symbol ?
This is a known visual bug, but it should not affect the operation of the icon. There should be an update of Flowcode's core files later this month that fixes this visual glitch.

DAVIDJOINER
Posts: 140
Joined: Wed Dec 02, 2020 7:35 pm
Been thanked: 18 times

Re: Cannot seem to get the timed event trigger to work

Post by DAVIDJOINER »

Steve

Thats fine but the routine still does not work in my case so it does seem to affect the operation in my setup

But obviously does work in Medelecs setup ?

Confused ?

David

Steve-Matrix
Matrix Staff
Posts: 1480
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 208 times
Been thanked: 350 times

Re: Cannot seem to get the timed event trigger to work

Post by Steve-Matrix »

Thanks, David.

If I understand you correctly, component macros such as EventTrigger::Start (that have the "sim" icon in the list) work only when their shape has the "squiggle" border and not the "shaded" border of a normal component icon.

If that's the case, then you can ensure the component retains its "squiggle" border after editing it by clicking the "Built in Function" tab before pressing "OK" on the properties window. That should hopefully solve your problem.

Martin is possibly using the latest build of Flowcode where this problem has been fixed. This should be publicly available soon but in the meantime you should use the above workaround.

HTH,
Steve.

medelec35
Matrix Staff
Posts: 1956
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 626 times
Been thanked: 657 times

Re: Cannot seem to get the timed event trigger to work

Post by medelec35 »

Steve-Matrix wrote:
Thu Mar 04, 2021 11:09 am
Martin is possibly using the latest build of Flowcode where this problem has been fixed. This should be publicly available soon but in the meantime you should use the above workaround.
Hi Steve ,
I have done the testing with the current public build
If the App is ran without modifying on either versions as David states it does not run.
As soon as delete the EventTrigger start (that looks like a component icon), then add it back in from Components in Project manager, it then works.
@David.
Would you like to try with the attached App as that is working for me.
Attachments
TRIGGER_EVENT_TEST Working.fcsx
(12.6 KiB) Downloaded 669 times
Martin

Steve-Matrix
Matrix Staff
Posts: 1480
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 208 times
Been thanked: 350 times

Re: Cannot seem to get the timed event trigger to work

Post by Steve-Matrix »

I've just tested this and the workaround I described earlier appears to work.

Also tested in the latest (non-released) build and the problem has disappeared when creating and editing new projects. However, if an older project with the problem is loaded into the latest build it does not automatically fix the issue. I will try to rectify this too.

medelec35
Matrix Staff
Posts: 1956
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 626 times
Been thanked: 657 times

Re: Cannot seem to get the timed event trigger to work

Post by medelec35 »

Hi David.
There is Steve's work around for you.
DAVIDJOINER wrote:
Thu Mar 04, 2021 9:21 am
But obviously does work in Medelecs setup ?
Would you also try an alternative method?
Try adding the start component from project explorer:
Comp   Proj Exp.png
Comp Proj Exp.png (86.56 KiB) Viewed 8387 times
as that's what's working for me.
If I add component from Command Icons , then timed event does not work for me:
Comp  Com Icons.png
Comp Com Icons.png (118.63 KiB) Viewed 8387 times
That might be the difference between your flowchart and mine?
Martin

DAVIDJOINER
Posts: 140
Joined: Wed Dec 02, 2020 7:35 pm
Been thanked: 18 times

Re: Cannot seem to get the timed event trigger to work

Post by DAVIDJOINER »

Folks

i tried Medelecs idea of using the project explorer for entering the start component

This now works fine thanks for all your inputs on this

I did also have the question is it possible to get a lower time to trigger ie around .25s or less


David

Post Reply