UART Console

For general Flowcode discussion that does not belong in the other sections.
geomanfred
Posts: 18
http://meble-kuchenne.info.pl
Joined: Mon Jun 27, 2022 2:56 pm
Has thanked: 5 times
Been thanked: 1 time

UART Console

Post by geomanfred »

Hi,
I try to learn by following the examples from next Flowcode Wiki pages:
https://www.flowcode.co.uk/wiki/index.p ... Interface)
https://www.flowcode.co.uk/wiki/index.p ... Injectors)
For example I take “RS232_Example2.fcfx” and when I simulate then the Console tabs disappears.
What do I do wrong?

My intention is to use Flowcode with Arduino and to get some ASCII from real Arduino on screen/console via USB/serial port in the same manner as I get “Serial Monitor” in IDE Arduino environment.
Can I achieve that with Flowcode and its Console?
UART before Simulation.png
UART before Simulation.png (187.52 KiB) Viewed 1927 times
Injector before simulation.png
Injector before simulation.png (173.63 KiB) Viewed 1927 times
Console during Simulation.png
Console during Simulation.png (170.13 KiB) Viewed 1927 times

chipfryer27
Valued Contributor
Posts: 1147
Joined: Thu Dec 03, 2020 10:57 am
Has thanked: 285 times
Been thanked: 412 times

Re: UART Console

Post by chipfryer27 »

Hi

Are you running FC v9.3 or 9.2 (check by clicking the question mark in top right).

If v9.3 then I think it may already be a known issue.

Regards

geomanfred
Posts: 18
Joined: Mon Jun 27, 2022 2:56 pm
Has thanked: 5 times
Been thanked: 1 time

Re: UART Console

Post by geomanfred »

That is version 9.0.35

chipfryer27
Valued Contributor
Posts: 1147
Joined: Thu Dec 03, 2020 10:57 am
Has thanked: 285 times
Been thanked: 412 times

Re: UART Console

Post by chipfryer27 »

Hi

I would try upgrading to latest version to ensure you are up to date with everything. This can be done by opening Global Settings and checking the "Check for Core Updates" box.

Easier for Matrix to assist (if needed) if you are using latest version.

Regards

medelec35
Matrix Staff
Posts: 1451
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 512 times
Been thanked: 472 times

Re: UART Console

Post by medelec35 »

Hello.
Thanks for the report.
This is currently being looked into.
Martin

BenR
Matrix Staff
Posts: 1739
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 440 times
Been thanked: 603 times

Re: UART Console

Post by BenR »

Hello,

The problem should be fixed for you now using the latest v9.3 release and also going to Help -> Library updates and downloading the latest components. Might be worth doing a full database update to get all the latest components and bug fixes.

geomanfred
Posts: 18
Joined: Mon Jun 27, 2022 2:56 pm
Has thanked: 5 times
Been thanked: 1 time

Re: UART Console

Post by geomanfred »

But I use the latest version 9.3.0.35.
Sorry was my mistake above with 9.0.35.
And I have updated all the latest components.

chipfryer27
Valued Contributor
Posts: 1147
Joined: Thu Dec 03, 2020 10:57 am
Has thanked: 285 times
Been thanked: 412 times

Re: UART Console

Post by chipfryer27 »

Hi

I've just downloaded the RS-232 Example-2 from the website and it runs without issue for me. All expected tabs are shown in the console.

Stupid question and sorry to ask but have you altered the chart in any way? Maybe accidentally switched something off or the like?

Perhaps post the chart you are using and I'll see if it has any issues for me.

Regards

geomanfred
Posts: 18
Joined: Mon Jun 27, 2022 2:56 pm
Has thanked: 5 times
Been thanked: 1 time

Re: UART Console

Post by geomanfred »

Hi,

Attached is the example that I have used.
But now the problem is solved.
It came up a notice in this morning to update the components as you can see in the attached picture below.
I have tested the example before update and did not work properly.
After update it works properly.
The problem is solved.
Flowcode 9 UART update.png
Flowcode 9 UART update.png (145.1 KiB) Viewed 1813 times
Attachments
RS232_Example2.fcfx
(11.13 KiB) Downloaded 49 times

geomanfred
Posts: 18
Joined: Mon Jun 27, 2022 2:56 pm
Has thanked: 5 times
Been thanked: 1 time

Re: UART Console

Post by geomanfred »

But in the end, I do not know if I can achieve a similar “Serial Monitor” as in Arduino IDE.
Do I have to use an external software to monitor the serial port, which is in fact my USB programming port of Arduino?
Or can I see all the data inside to Flowcode Console?
I also see next application example:
https://www.flowcode.co.uk/resources/da ... 20V1.0.pdf
But does not seem to do exactly as the “Serial Monitor” does in Arduino IDE.

Post Reply