Page 1 of 1

App Developer Led Array on/off reversed

Posted: Fri Aug 18, 2023 2:27 pm
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 461 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 4030 times
on and off are somehow interchanged
Snag_1e5292.png
Snag_1e5292.png (106.28 KiB) Viewed 4030 times

Re: App Developer Led Array on/off reversed

Posted: Fri Aug 18, 2023 2:37 pm
by Steve-Matrix
If you want customised fonts, etc, then it might be easier to just use primitive text and shapes for the indicators.

Re: App Developer Led Array on/off reversed

Posted: Fri Aug 18, 2023 3:20 pm
by medelec35
Hi.
Many thanks for the bug spot
Can you try with the attached component, please?

Re: App Developer Led Array on/off reversed

Posted: Fri Aug 18, 2023 4:17 pm
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

Re: App Developer Led Array on/off reversed

Posted: Fri Aug 18, 2023 5:06 pm
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.

Re: App Developer Led Array on/off reversed

Posted: Fri Aug 18, 2023 5:57 pm
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 4011 times

Re: App Developer Led Array on/off reversed

Posted: Fri Aug 18, 2023 8:14 pm
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.

Re: App Developer Led Array on/off reversed

Posted: Mon Aug 21, 2023 8:54 am
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