COM Port handle not correct recorded ?

Any bugs you encounter with Flowcode should be discussed here.
Post Reply
ssttrragmail
Posts: 29
http://meble-kuchenne.info.pl
Joined: Sat Nov 21, 2020 10:38 pm
Has thanked: 18 times
Been thanked: 2 times

COM Port handle not correct recorded ?

Post by ssttrragmail »

Hello FC9 Users.
In the COM PORT component, the original HANDLE is “UART-COMPort1”.
But if we try to modify it to “PortaSer1” for example, it isn’t correctly recorded on the “Console User Input” TAB, continuing display the original name. Is this the normal behavior ? :?:
Thanks for any tip.
Attachments
COMPort  HANDLE.PNG
COMPort HANDLE.PNG (80.15 KiB) Viewed 1356 times

BenR
Matrix Staff
Posts: 1706
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 435 times
Been thanked: 598 times

Re: COM Port handle not correct recorded ?

Post by BenR »

Hello,

Thanks for letting us know, I've hopefully sorted for you now via the help -> library updates.

I've now changed the console name so it should show the component name and then the COM port number.

e.g. PortaSer1 - COM10

ssttrragmail
Posts: 29
Joined: Sat Nov 21, 2020 10:38 pm
Has thanked: 18 times
Been thanked: 2 times

Re: COM Port handle not correct recorded ?

Post by ssttrragmail »

Thank you for fixing the Console handle issue, and adding the COM Port in use. Very useful.
But there is still a doubt. Why after the transmission of the console´s five lines to COM Port only line 2 jumped, and the others continued on the same line ? :?
Attachments
before RUN.PNG
before RUN.PNG (66.54 KiB) Viewed 1268 times
after RUN.PNG
after RUN.PNG (58.44 KiB) Viewed 1268 times

BenR
Matrix Staff
Posts: 1706
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 435 times
Been thanked: 598 times

Re: COM Port handle not correct recorded ?

Post by BenR »

Hello,

Thanks for letting us know. I've added a new property to the COM port component now that checks the type of new line being sent. This should hopefully now catch and process the \n line feed correctly for you.

ssttrragmail
Posts: 29
Joined: Sat Nov 21, 2020 10:38 pm
Has thanked: 18 times
Been thanked: 2 times

Re: COM Port handle not correct recorded ?

Post by ssttrragmail »

Hi Ben. Thank you for your answer, but it wasn´t this time.
I dealt with two notebooks with FC9. Even trying with the two line feed options in "Console" and "COM Port", after RUN the lines are positioning themselves on the second line only. :(
Attachments
before RUN.PNG
before RUN.PNG (213.74 KiB) Viewed 1227 times
after RUN.PNG
after RUN.PNG (75.88 KiB) Viewed 1227 times

ssttrragmail
Posts: 29
Joined: Sat Nov 21, 2020 10:38 pm
Has thanked: 18 times
Been thanked: 2 times

Re: COM Port handle not correct recorded ?

Post by ssttrragmail »

Thanks anyway. It may be that this type of implementation isn´t worth as much for practical applications. Thanks again.

Post Reply