Blinking text Heart Rate

Hello, I use the following formula to measure the pulse
([HR_IS_MEASURING]==1?0:[HR])
Is it possible, to display the text flashing, when the pulse is measured?

Hello.
Yes it is possible. Just keep there text field with [HR] and set its opacity to some base for example 30 and expression like:
[HR_IS_MEASURING]==1?70*floor([SEC_MSEC]%1):70

Thanks for your help Peter, but I get an error becauce of the word “floor”

AAAAA_1665148518485

I thought I told you to put that word in the tag expression field of the opacity settings, not directly in the text. In the text keep only [HR]
But maybe it needs to be in brackets too. like
[HR_IS_MEASURING]==1?70*(floor([SEC_MSEC]%1)):70

1 Like

Now I have understood it. Unfortunately, the blinking does not work, floor is underlined in red in the formula. I have tried both formulas.
The transparency goes down, that works, but the text does not flash.
Thanks a lot for your help!

sorry, I put in use wrong function. it should be more like
[HR_IS_MEASURING]==1?70*(round([SEC_MSEC]%1)):70
or [HR_IS_MEASURING]==1?70*(round([MSEC]/1000)):70

3 Likes

Hello @Peter , you are my hero! The two formulas work just as I wanted them to.
Thank you very much for your help!

1 Like