Raspberry Pi HDMI PrintNumber component

Any bugs you encounter with Flowcode should be discussed here.
Post Reply
RGV250
Posts: 335
http://meble-kuchenne.info.pl
Joined: Sat Mar 19, 2022 4:53 pm
Has thanked: 33 times
Been thanked: 33 times

Raspberry Pi HDMI PrintNumber component

Post by RGV250 »

Hi,
I am reluctant to put this as a bug but cannot figure out what I am doing wrong, If anything.

I tried to print a number and it does not work, all I get is blocks. I then tried several other things and have come to the conclusion it is a bug.
If I print a number in the function IE 12345 in the screenshot below it prints, if I have a variable that is not being used in a calculation IE 12121 it prints but it I am incrementing a value it does not print the number, only blocks. I even tried to convert the number to a string and print that and the same.
Both the incrementing number and the equivalent string are working fine in the simulation.
Pi number test.JPG
Pi number test.JPG (36.09 KiB) Viewed 105 times
HDMI_Number_Test.fcfx
(13.46 KiB) Downloaded 7 times
Regards,
Bob

RGV250
Posts: 335
Joined: Sat Mar 19, 2022 4:53 pm
Has thanked: 33 times
Been thanked: 33 times

Re: Raspberry Pi HDMI PrintNumber component

Post by RGV250 »

Hi,
Could someone confirm if this is an issue or it is just me as I am a bit stuck if I cannot display numbers. If there is an issue is there a workaround?

Regards,
Bob

chipfryer27
Valued Contributor
Posts: 1678
Joined: Thu Dec 03, 2020 10:57 am
Has thanked: 373 times
Been thanked: 581 times

Re: Raspberry Pi HDMI PrintNumber component

Post by chipfryer27 »

Hi Bob

Unfortunately I am travelling so can't try in HW for you.

Following your posts with interest as since acquiring a few Pis I've really came to appreciate them. Anything I have done has been rock solid once running.

Regards

mnfisher
Valued Contributor
Posts: 1626
Joined: Wed Dec 09, 2020 9:37 pm
Has thanked: 142 times
Been thanked: 757 times

Re: Raspberry Pi HDMI PrintNumber component

Post by mnfisher »

I think the issue is that you have 'Transparent' set to 1 in the print statements - where the value is fixed this doesn't cause an issue - but where it changes you'll get a gradual build up to a 'splodge'.

Martin

RGV250
Posts: 335
Joined: Sat Mar 19, 2022 4:53 pm
Has thanked: 33 times
Been thanked: 33 times

Re: Raspberry Pi HDMI PrintNumber component

Post by RGV250 »

Hi Martin,
You are 100% correct, I never expected that to happen. So the same thing is likely to happen if you over write the text in the same position.
I am making an example with various shapes, text and numbers so I will add a comment to that effect. I had tried it on the fixed texts and did not notice any difference.

What is strange and really has thrown me, if I have transparent on but disable the timer so the value is not changing I would have expected it to just show the default value but it shows the rectangles instead of numbers as well.

Regards,
Bob

Post Reply