Page 1 of 2

Missing components

Posted: Wed Mar 15, 2023 1:35 pm
by Maverick
Hi

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

Re: Missing components

Posted: Wed Mar 15, 2023 1:42 pm
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.

Re: Missing components

Posted: Wed Mar 15, 2023 2:01 pm
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

Re: Missing components

Posted: Wed Mar 15, 2023 2:32 pm
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.

Re: Missing components

Posted: Wed Mar 15, 2023 2:56 pm
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

Re: Missing components

Posted: Wed Mar 15, 2023 4:49 pm
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.

Re: Missing components

Posted: Wed Mar 15, 2023 4:59 pm
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.

Re: Missing components

Posted: Thu Mar 16, 2023 9:30 am
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?

Re: Missing components

Posted: Thu Mar 16, 2023 10:29 am
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.

Re: Missing components

Posted: Thu Mar 16, 2023 2:26 pm
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