SCADA Arduino UNO component

Any bugs you encounter with Flowcode should be discussed here.
Post Reply
mnfisher
Valued Contributor
Posts: 1628
http://meble-kuchenne.info.pl
Joined: Wed Dec 09, 2020 9:37 pm
Has thanked: 142 times
Been thanked: 761 times

SCADA Arduino UNO component

Post 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 8056 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

User avatar
p.erasmus
Posts: 434
Joined: Thu Dec 03, 2020 12:01 pm
Location: Russia / Россия
Has thanked: 104 times
Been thanked: 88 times

Re: SCADA Arduino UNO component

Post 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 8054 times
Regards Peter - QME Electronics

mnfisher
Valued Contributor
Posts: 1628
Joined: Wed Dec 09, 2020 9:37 pm
Has thanked: 142 times
Been thanked: 761 times

Re: SCADA Arduino UNO component

Post 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

medelec35
Matrix Staff
Posts: 2086
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 644 times
Been thanked: 701 times

Re: SCADA Arduino UNO component

Post 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 ?
Martin

mnfisher
Valued Contributor
Posts: 1628
Joined: Wed Dec 09, 2020 9:37 pm
Has thanked: 142 times
Been thanked: 761 times

Re: SCADA Arduino UNO component

Post 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

medelec35
Matrix Staff
Posts: 2086
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 644 times
Been thanked: 701 times

Re: SCADA Arduino UNO component

Post 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 8038 times
Can you post one of your new flowcharts that don't open for you?
Martin

medelec35
Matrix Staff
Posts: 2086
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 644 times
Been thanked: 701 times

Re: SCADA Arduino UNO component

Post 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'
Martin

BenR
Matrix Staff
Posts: 1951
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 510 times
Been thanked: 697 times

Re: SCADA Arduino UNO component

Post 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.

mnfisher
Valued Contributor
Posts: 1628
Joined: Wed Dec 09, 2020 9:37 pm
Has thanked: 142 times
Been thanked: 761 times

Re: SCADA Arduino UNO component

Post by mnfisher »

Thanks Ben,

Full update seems to have done the trick...

Martin

Post Reply