Page 1 of 1

ADC component dissapears

Posted: Wed Aug 14, 2013 10:25 pm
by acestu
Hi,

First of all Congratulations Matrix on release of the Beta of Flowcode 6.

I am not sure if this is a Bug or whether I am not using the interface properly, however I just started a simple chart with an LCD display and an ADC component, now when I simulate the chart the ADC component disappears from the screen and I can't change the dial, or do I change it somewhere else now ?

cheers
Acestu :D

Re: ADC component dissapears

Posted: Wed Aug 14, 2013 11:09 pm
by JonnyW
Hi Acestu.

Sounds like you are using the ADC base component.

In v6 in order to accommodate different variations of the same component, components can inherit traits off each other. The ADC is one example - we have a non-graphical Base component, then several graphical interfaces sitting on top of this.
adc_types.png
(52.95 KiB) Downloaded 5415 times

You sound like you are using the base. Because this doesn't really have a graphic associated with it, Flowcode slaps the components icon on a cube and displays this while in design mode. To avoid clutter this disappears during simulation.

Several of the components have bases associated with them. I will see if I can get a short tutorial on making your own switch, ADC, etc, from the base tomorrow - time and bugs permitting!

Jonny

Re: ADC component dissapears

Posted: Wed Aug 14, 2013 11:17 pm
by acestu
Hi Johny,

Yes its all very different now, the Help dosen't work so I am trying to figure it out for myself, I found the knobs and dials so I added a knob on the dashboard but I couldn't find a way of linking it to the ADC component, a tutorial would be brill, I know you are still very busy so don't worry if you can't find time, I am sure I will work it out....

cheers
Acestu

Re: ADC component dissapears

Posted: Wed Aug 14, 2013 11:32 pm
by acestu
Sorry Jonny, I got your name wrong !! :oops:


cheers
Acestu

Re: ADC component dissapears

Posted: Wed Aug 14, 2013 11:57 pm
by medelec35
Hi Stuart,
acestu wrote:I couldn't find a way of linking it to the ADC component,
ADC1.png
(153.81 KiB) Downloaded 5405 times
What you will find is component selection or port is done via component properties.
Right click on component on the System panel (Or Dash board if applicable) the select properties.
On properties select Channel
A new window will open you just select the connection from dropdown list, or on the component pins them self:
ADC2.png
(20.5 KiB) Downloaded 5405 times
Sorry its a bit rushed I did not realise it was so late :(

Martin

Re: ADC component dissapears

Posted: Thu Aug 15, 2013 12:09 am
by acestu
Hi Martin

Long time no speak, hope your ok, it looks like its a new lerning curve for FC6 , I have only had about 3 hours on it really so hopefully things will start to fall in place, thanks for your reply..

cheers
Acestu :D

Re: ADC component dissapears

Posted: Thu Aug 15, 2013 7:52 am
by medelec35
I'm fine thanks, was busy last night so did not get the time I would have liked to with V6.

Re analogue:
To alter the values of pots more accurately:
Go to view menu, select Analogue inputs.
Select Raw for 0 to 1023
Byte for 0 to 255 etc.
Just left click (hold down and move mouse) on the rectangle next to correct An channel to adjust.
Or for better resolution:
Hold down left mouse button and instead of dragging press left and right arrows keys on you keyboard.

Re: ADC component dissapears

Posted: Thu Aug 15, 2013 9:11 am
by JonnyW
Hi.
Yes its all very different now, the Help dosen't work so I am trying to figure it out for myself, I found the knobs and dials so I added a knob on the dashboard but I couldn't find a way of linking it to the ADC component, a tutorial would be brill, I know you are still very busy so don't worry if you can't find time, I am sure I will work it out....
Yes, we need the documentation to complete. I'll see if I can link the components in the next patch. Our wiki is here: http://www.matrixmultimedia.com/wiki/index.php, but is not 100% complete yet and many examples are still to do.

Luckily Martin and others are about that can explain things better than I ever could!
Sorry Jonny, I got your name wrong !!
Don't worry, it happens all the time, I only spell it without a 'h' to be awkward!

Cheers,

Jonny