App Developer Led Array on/off reversed

Any bugs you encounter with Flowcode should be discussed here.
Post Reply
stefan.erni
Valued Contributor
Posts: 758
http://meble-kuchenne.info.pl
Joined: Wed Dec 02, 2020 10:53 am
Has thanked: 149 times
Been thanked: 171 times

App Developer Led Array on/off reversed

Post by stefan.erni »

Hi Steve

on and off are somehow interchanged and also to set a led on/off is not correct.
And a few small wishes....
Would it also be possible to make the label font size adjustable?
and the off colour selectable?

So you can use it only as small array with three or two leds or even as a single indicator.
and I can use this on both panel
regards

Stefan
Led_array_test.fcsx
(36.3 KiB) Downloaded 52 times
Demo for a record button with additional display whether recording is already in progress or has started or cannot be started
Snag_2e72ee.png
Snag_2e72ee.png (15.96 KiB) Viewed 1287 times
on and off are somehow interchanged
Snag_1e5292.png
Snag_1e5292.png (106.28 KiB) Viewed 1287 times

Steve-Matrix
Matrix Staff
Posts: 1253
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 167 times
Been thanked: 277 times

Re: App Developer Led Array on/off reversed

Post by Steve-Matrix »

If you want customised fonts, etc, then it might be easier to just use primitive text and shapes for the indicators.

medelec35
Matrix Staff
Posts: 1451
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 512 times
Been thanked: 472 times

Re: App Developer Led Array on/off reversed

Post by medelec35 »

Hi.
Many thanks for the bug spot
Can you try with the attached component, please?
Attachments
LED_Array_2dgi.fcpx
(8.98 KiB) Downloaded 57 times
Martin

stefan.erni
Valued Contributor
Posts: 758
Joined: Wed Dec 02, 2020 10:53 am
Has thanked: 149 times
Been thanked: 171 times

Re: App Developer Led Array on/off reversed

Post by stefan.erni »

Hi Martin

i have copied the component to
C:\Program Files (x86)\Flowcode v10\DefaultData\FlowcodeV10\Components
and it replaced the old one.
Started FC again, but no change in the component or function


regards

Stefan
Attachments
Snag_9b42c3.png
Snag_9b42c3.png (25.33 KiB) Viewed 1279 times

medelec35
Matrix Staff
Posts: 1451
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 512 times
Been thanked: 472 times

Re: App Developer Led Array on/off reversed

Post by medelec35 »

Hi Stefan.
That is the wrong location.
The components are copied from that location to the location below only when Flowcode is first installed
Browse to this location using file explorer, it's hidden by default so just paste the link into your address bar.

Code: Select all

C:\ProgramData\MatrixTSL\FlowcodeV10\Components
save the attached component from the post above in the above location
If Flowcode is already open, then you will need to reload your project for the new components to work.
Martin

stefan.erni
Valued Contributor
Posts: 758
Joined: Wed Dec 02, 2020 10:53 am
Has thanked: 149 times
Been thanked: 171 times

Re: App Developer Led Array on/off reversed

Post by stefan.erni »

Hi Martin

Perfect! Yes it's working nice.
Also test the Bargraph and WriteValue, and this works nice.

regards

Stefan

ols vs new
Snag_ed1b76.png
Snag_ed1b76.png (196.98 KiB) Viewed 1268 times

medelec35
Matrix Staff
Posts: 1451
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 512 times
Been thanked: 472 times

Re: App Developer Led Array on/off reversed

Post by medelec35 »

That's great!.
Thank you for the update.
I'm glad your project is now working as expected.
I have requested the updated component to be pushed on the update system ASAP.
Martin

stefan.erni
Valued Contributor
Posts: 758
Joined: Wed Dec 02, 2020 10:53 am
Has thanked: 149 times
Been thanked: 171 times

Re: App Developer Led Array on/off reversed

Post by stefan.erni »

Hi Martin

Thanks for the quick support.
But still a small problem as in the topic
https://flowcode.co.uk/forums/viewtopic.php?f=5&t=1864
Also this LED does not change correct.
I have used the traficligth at the moment

regards

Stefan

Post Reply