Page 1 of 1

Mega 2560 API ADC Issue

Posted: Sat Oct 23, 2021 4:15 pm
by p.erasmus
Hi Team,

I am not sure what I am doing wrong however using the ARduino mega2560 API-Scada the ADC Sample8 is working fine but the Sample10 is give absolute wrong and impossible values.Samples taking on the same channel(A0) one is correct and the other is not any help appreciated :D

P1.jpg
P1.jpg (50.5 KiB) Viewed 2694 times
ScadaTest.fcfx
(10.77 KiB) Downloaded 103 times

Re: Mega 2560 API ADC Issue

Posted: Sat Oct 23, 2021 11:46 pm
by medelec35
Hi Peter.
Can you try with the attached component, please?
Hopefully, after adding component, then reloading App Dev it will work as intended?

Re: Mega 2560 API ADC Issue

Posted: Sun Oct 24, 2021 7:56 am
by p.erasmus
Hi Martin.

Thank you for your help however I am not sure were this FCDX file must go to V9 >>> FCD ARD or to SCADA

Thanks for the help

Re: Mega 2560 API ADC Issue

Posted: Sun Oct 24, 2021 9:59 am
by medelec35
Hi Peter.
As the file has a fcpx extension then it's a component.

In file explorer address bar, paste this:

Code: Select all

C:\ProgramData\MatrixTSL\FlowcodeV9\Components
Extract the component within the attached zip file and save it into the above hidden folder.
Just select ok to replace the current file.
If you got Flowcode running when file was placed in the components directory, you must select the reload icon before compiling again.

Re: Mega 2560 API ADC Issue

Posted: Sun Oct 24, 2021 10:07 am
by p.erasmus
Thanks Martin :D

Apprceiate will do

Re: Mega 2560 API ADC Issue

Posted: Sun Oct 24, 2021 10:22 am
by p.erasmus
Hi Martin,

Thanks that is working perfectly now :D
P2.jpg
P2.jpg (20.24 KiB) Viewed 2654 times
Fc wants me to update the same file now when I open the FC project if I do that then it seems it updates to the old file and things stop to work again :D
I then placed the file again and did not update FC so it is working now but in future if there is other updates it mights swtopped again to work
just to inform I am ok for now I can do what I need to do

Thanks again.


P3.jpg
P3.jpg (20.71 KiB) Viewed 2654 times

Re: Mega 2560 API ADC Issue

Posted: Sun Oct 24, 2021 10:54 am
by medelec35
Hi, Peter.
You're welcome.
The component is only temporary until Ben pushes the update onto the system.
It's showing Not genuine since the update is manually added and not via the download button.
When the new revision is 9 instead of 8 then you can download it, and override the Not genuine version.
I will let you know when it's available.
For now, you can leave it as showing Not genuine so your App Developer is working as expected.
Don't forget you can untick the component if there are other updates as well, but if there are new updates then SCADA_Ard_Mega.fcpx will be one of them.
Thank you for letting me know the new version works.

Re: Mega 2560 API ADC Issue

Posted: Sun Oct 24, 2021 4:30 pm
by p.erasmus
Thanks Martin :D