Switch array

For general Flowcode discussion that does not belong in the other sections.
medelec35
Valued Contributor
Posts: 2361
http://meble-kuchenne.info.pl
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 742 times
Been thanked: 799 times

Re: Switch array

Post by medelec35 »

Hi Bob.
Is what I posted what you re after?
Can you please let me know.
Martin

siliconchip
Posts: 55
Joined: Wed Dec 16, 2020 10:38 am
Has thanked: 21 times
Been thanked: 1 time

Re: Switch array

Post by siliconchip »

Hi martin
Sorry for the delay works got in the way i will let you know tomorrow as ive not got access to my pc at the mo

Cheers bob

siliconchip
Posts: 55
Joined: Wed Dec 16, 2020 10:38 am
Has thanked: 21 times
Been thanked: 1 time

Re: Switch array

Post by siliconchip »

Hi martin
Ive added the file to global settings / location and in the component libary i can see in the inputs section switch array reversed (slide ) on opening the switches go from left to right straight away on opening which is what i was after but if you go to input mode then select custom pin they revert back to right to left.?
Is it possible to have the reverse option on the switch array ( push) function as well please

Cheers bob

medelec35
Valued Contributor
Posts: 2361
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 742 times
Been thanked: 799 times

Re: Switch array

Post by medelec35 »

Hi Bob.
Can you give the attached component a go.
The update won't be effective until your project is reloaded.
Just place the attached component in the custom component folder.
Attachments
SwitchArraySlideReversed.fcpx
(8.49 KiB) Downloaded 27 times
Martin

siliconchip
Posts: 55
Joined: Wed Dec 16, 2020 10:38 am
Has thanked: 21 times
Been thanked: 1 time

Re: Switch array

Post by siliconchip »

hi martin
ive added the file but the slide switch array opens up in custom mode and porta0 is on the right and im unable to flip it around

cheers bob

medelec35
Valued Contributor
Posts: 2361
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 742 times
Been thanked: 799 times

Flowcode v11 Re: Switch array

Post by medelec35 »

Hi Bob.
Hmm.
I will look in to it.
It's reversed on the switches but not properties
Martin

medelec35
Valued Contributor
Posts: 2361
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 742 times
Been thanked: 799 times

Re: Switch array

Post by medelec35 »

Hi Bob.
Hopefully all sorted now.
Note:
You will need to have port selected before changing to Forward or Reverse.
Then you can select Custom pins
The reason is if on custom it's designed not to change on reloading component.
Therefore to start, custom pins gets the port pin allocations from the port assignment.

Currently the modified Switch Array is a non official component.
If you want the official modified so you no longer require the component I created, then you will need to request it.
Depending on if Ben approves it or not I can modify all the arrays to work the same.
To be honest, if deemed as it's too niche, then I can't see it being approved.
Attachments
SwitchArraySlideReversed.fcpx
(8.51 KiB) Downloaded 20 times
Martin

siliconchip
Posts: 55
Joined: Wed Dec 16, 2020 10:38 am
Has thanked: 21 times
Been thanked: 1 time

Re: Switch array

Post by siliconchip »

hi martin
i selected port as requested then changed to reverse and they changed however when changing to custom pins they reverted back and a i was unable to change unless input mode was port

cheers bob

medelec35
Valued Contributor
Posts: 2361
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 742 times
Been thanked: 799 times

Re: Switch array

Post by medelec35 »

Right, I now believe I found the bug.
Looks like I did not test 1 scenario
Fingers crossed.
Attachments
SwitchArraySlideReversed.fcpx
(8.46 KiB) Downloaded 18 times
Martin

siliconchip
Posts: 55
Joined: Wed Dec 16, 2020 10:38 am
Has thanked: 21 times
Been thanked: 1 time

Re: Switch array

Post by siliconchip »

hi martin
it works perfect, could you apply this to the " switch array (push)" by any chance ? and a big thank you, also ben if your looking please add this as an update
once again thank you

cheers bob

Post Reply