Page 1 of 1

SCADA Arduino UNO component

Posted: Sat Apr 17, 2021 3:46 pm
by mnfisher
Just trying to load a project that uses the Arduino Uno SCADA component.

On loading the project I get an 'operation is taking a long time to complete' error - and on choosing yes or no - flowcode 'eventually' closes.
FC__00053.jpg
FC__00053.jpg (44.58 KiB) Viewed 8059 times
This also occurs on adding the component to an empty flowchart (the 'Mega' equivalent works AOK) - after a long (10mins) wait the 2d panel had appeared but FC is unresponsive.

Not sure if this has had an upgrade lately??

Martin

Re: SCADA Arduino UNO component

Posted: Sat Apr 17, 2021 4:04 pm
by p.erasmus
Hi Martin

The UNO SCADA component had an upgrade ,Did you do an update on your FC . ?

There is an issue sometimes when placing the SCADA UNO Component FC crash but then closing it and redo it normally solve the issue for me
I am working with this new SCADA component

(1) remove the old component from the FC chart then close it
(2) open up and place a new Component on the panel
(3) if happens as show below close and reopen and try again normally it works

P1.jpg
P1.jpg (57.4 KiB) Viewed 8057 times

Re: SCADA Arduino UNO component

Posted: Sat Apr 17, 2021 5:32 pm
by mnfisher
Thanks Peter,

Unfortunately I can't open the program to remove the SCADA component. Might try v8?
Will see if 'downgrading' the component before loading helps too..

Might have to use notepad and work the xml ;-(

Martin

Re: SCADA Arduino UNO component

Posted: Sat Apr 17, 2021 8:26 pm
by medelec35
Hi Martin,
That's odd that the recent update has broken the Arduino API.
Are you able to share the the App developer Flowchart, so I can see if I can spot the issue with the component ?

Re: SCADA Arduino UNO component

Posted: Sat Apr 17, 2021 9:01 pm
by mnfisher
HI Martin,

Yes - it's peculiar. There is no flowchart as such to demonstrate - just adding the component to an empty chart causes the problem..

Martin

Re: SCADA Arduino UNO component

Posted: Sat Apr 17, 2021 9:30 pm
by medelec35
I have made a new Embedded & App Developer flowchart with Arduino API component and they both open for me OK:
API Test.png
API Test.png (82.11 KiB) Viewed 8041 times
Can you post one of your new flowcharts that don't open for you?

Re: SCADA Arduino UNO component

Posted: Sat Apr 17, 2021 9:51 pm
by medelec35
For the old flowchart you want to open, try this:
Open flowchart with a text editor.
Search for SCADA_Ard_Uno1
The line you want starts with

Code: Select all

<component class_type='ref' guid=

Go along the line and if

Code: Select all

layer='0'
then change it to

Code: Select all

layer='1'

Re: SCADA Arduino UNO component

Posted: Sun Apr 18, 2021 9:47 am
by BenR
Hi Martin

Can you confirm your running the latest 9.1 release and also have done a full database check for updates. There has been a lot of change with these components recently.

Also you will need the component to be on the 2d panel. It shouldn't let you add it to the 3d panel. Though it shouldn't cause the problems you described if it were on the 3d panel in a loaded project.

Re: SCADA Arduino UNO component

Posted: Sun Apr 18, 2021 10:37 am
by mnfisher
Thanks Ben,

Full update seems to have done the trick...

Martin