The variable in the "Interval" component is not updated

Any bugs you encounter with Flowcode should be discussed here.
Post Reply
Carmelo
Posts: 64
http://meble-kuchenne.info.pl
Joined: Thu Oct 14, 2021 10:04 am
Has thanked: 21 times
Been thanked: 2 times

The variable in the "Interval" component is not updated

Post by Carmelo »

Hola,
He realizado lo indicado por Martin en el post del enlace siguiente:
viewtopic.php?f=3&t=2663

Dentro de la macro, que se llama del componente "intervalo", tengo un bloque de cálculo y ejecutandose correctamente lo indicado en: salida=!salida y salida-> C1.
Pero dentro del bloque de calculo tambies existe segundos=segundos+1 y este cálculo no se actualiza.
Adjunto en fichero
¿A que puede ser?
Gracias de antemano por la ayuda.
Hello,
I have done what Martin indicated in the post linked below.
Within the macro, which is called the "interval" component, I have a calculation block and the following is executed correctly: output=!output and output-> C1.
But within the calculation block there is also seconds=seconds+1 and this calculation is not updated.
Attached in file
What could it be?
Thanks in advance for the help.
Attachments
Con Intervalo de timer.fcfx
(21.79 KiB) Downloaded 165 times

medelec35
Matrix Staff
Posts: 1560
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 555 times
Been thanked: 514 times

Re: The variable in the "Interval" component is not updated

Post by medelec35 »

Hello, may thanks for the report.
This is currently being investigated.
Martin

BenR
Matrix Staff
Posts: 1882
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 484 times
Been thanked: 661 times

Re: The variable in the "Interval" component is not updated

Post by BenR »

Hello,

This bug is currently only in the simulation engine and will run as expected on the microcontroller hardware. We have managed to replicate the issue and are investigating.

Post Reply