Missing components

Any bugs you encounter with Flowcode should be discussed here.
Maverick
Posts: 68
http://meble-kuchenne.info.pl
Joined: Wed Dec 02, 2020 10:58 am
Has thanked: 27 times
Been thanked: 8 times

Flowcode v10 Missing components

Post by Maverick »

Hi

2D toggle switches appear to not be available (were in V9), only 3D versions

BenR
Matrix Staff
Posts: 1747
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 444 times
Been thanked: 604 times

Re: Missing components

Post by BenR »

Hello,

On the left hand side of the component toolbar there is a filter that allows you to show only 2d, 3d or both types of component.

Do you have the filter set to 3d?

The Switch Slide 2D and Switch Push 2D components both have a user selectable momentary or toggle property.

Maverick
Posts: 68
Joined: Wed Dec 02, 2020 10:58 am
Has thanked: 27 times
Been thanked: 8 times

Re: Missing components

Post by Maverick »

HI Ben

filter set to 2d & 3d.
I thought I would use the 3d panel which has a toggle switch but now find all the DAC's are 2D only
Please add to wish list a single unified panel or parts that can be toggled for 2D or 3D
Also is it possible to zoom in and out in the new V10 2D panel using the scroll wheel just like in 3d panel

Steve-Matrix
Matrix Staff
Posts: 1265
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 168 times
Been thanked: 279 times

Re: Missing components

Post by Steve-Matrix »

Zoom for the 2D panels is on our list and I'm hopeful it can be added in the future.

As for a unified 2D/3D panel, that is pretty much impossible due to the different underlying technologies used to render the graphics. See here.

Maverick
Posts: 68
Joined: Wed Dec 02, 2020 10:58 am
Has thanked: 27 times
Been thanked: 8 times

Flowcode v10 Re: Missing components

Post by Maverick »

Thanks for that

Attached are a couple of files which show typical problem
the 2d_3d file shows a 3d slider pot 0 - 5 scaling (alters depending on Vref voltage in properties), have had to use 2d and 3d panels together as DAC's are not available in 3d.
the 2d file has the 2d slider pot but altering the vref voltage does not alter the displayed scaling
Attachments
2d_3d.fcfx
(12.11 KiB) Downloaded 41 times
2d.fcfx
(13.35 KiB) Downloaded 37 times

medelec35
Matrix Staff
Posts: 1457
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 513 times
Been thanked: 473 times

Re: Missing components

Post by medelec35 »

Hello.
The slider you have that has the issue is the 3D slider and not the 2D slider.
If you select Components > Search and enter slider, the component you want should show Potentiometer (Slider) [2D]
Some 3D pots are being updated soon to allow the Conversion Speed to correctly be selected.
Martin

Steve-Matrix
Matrix Staff
Posts: 1265
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 168 times
Been thanked: 279 times

Re: Missing components

Post by Steve-Matrix »

There may also be an issue with the 2D Potentiometer (Slider) component as it does not seem to be returning appropriate values when the "ReadAsVoltage" macro is used. Please leave it with us.

Steve-Matrix
Matrix Staff
Posts: 1265
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 168 times
Been thanked: 279 times

Re: Missing components

Post by Steve-Matrix »

I've looked again at this project and I think I was mistaken and the ReadAsVoltage is working as expected. What specific issues are you experiencing?

medelec35
Matrix Staff
Posts: 1457
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 513 times
Been thanked: 473 times

Re: Missing components

Post by medelec35 »

Hello.
The 2D slider scale was changed to represent percentage.
Therefore that would not change if the VRef was changed/.
What would change if VRef was changed would be the values at the bottom when using GetString and GetVoltage.
Martin

Maverick
Posts: 68
Joined: Wed Dec 02, 2020 10:58 am
Has thanked: 27 times
Been thanked: 8 times

Re: Missing components

Post by Maverick »

Hi Steve

The attached file shows the advantage of being able to change reference voltage on pot. in this case instead of Vref voltage of 500 I have 25000 to give a displayed range of 0 -250V. This does not affect the value used by the microcontroller internally(as shown by the DAC voltage) as the a-d reference Vdd is still selected
example shows that selecting 125V on slider pot gives 2.5V out . This means when simulating you have a realistic voltage to set, not something between 0 and 5V or as a %.
Also note that the pot figures do not show fully even when scaled
Attachments
3d_a.fcfx
(12.13 KiB) Downloaded 35 times

Post Reply