Page 1 of 2

UART Console

Posted: Fri Jul 01, 2022 12:49 pm
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 1951 times
Injector before simulation.png
Injector before simulation.png (173.63 KiB) Viewed 1951 times
Console during Simulation.png
Console during Simulation.png (170.13 KiB) Viewed 1951 times

Re: UART Console

Posted: Fri Jul 01, 2022 7:33 pm
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

Re: UART Console

Posted: Mon Jul 04, 2022 9:11 am
by geomanfred
That is version 9.0.35

Re: UART Console

Posted: Mon Jul 04, 2022 11:21 am
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

Re: UART Console

Posted: Mon Jul 04, 2022 1:23 pm
by medelec35
Hello.
Thanks for the report.
This is currently being looked into.

Re: UART Console

Posted: Mon Jul 04, 2022 5:37 pm
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.

Re: UART Console

Posted: Tue Jul 05, 2022 3:22 pm
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.

Re: UART Console

Posted: Tue Jul 05, 2022 4:30 pm
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

Re: UART Console

Posted: Wed Jul 06, 2022 8:47 am
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 1837 times

Re: UART Console

Posted: Wed Jul 06, 2022 9:00 am
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.