Page 1 of 1

The variable in the "Interval" component is not updated

Posted: Wed Jul 10, 2024 12:12 pm
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.

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

Posted: Wed Jul 10, 2024 3:54 pm
by medelec35
Hello, may thanks for the report.
This is currently being investigated.

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

Posted: Mon Jul 15, 2024 4:10 pm
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.