Search found 10 matches

by Ronnyvs
Fri Feb 05, 2021 12:35 pm
Forum: Flowcode V8
Topic: Receive string uart rs232
Replies: 7
Views: 5804

Re: Receive string uart rs232

Hi Martin,

First of all, i want to thank you for your support!
i couldn't really find out for sure what the problem was... It looked like that the program didn't had "enough time" to jump to subroutines and add the characters to the right string.
Now i do it manually end everything works very well ...
by Ronnyvs
Tue Jan 26, 2021 10:30 pm
Forum: Flowcode V8
Topic: Receive string uart rs232
Replies: 7
Views: 5804

Re: Receive string uart rs232

Hi Martin,

Of course i can...

this is the first try...
StringRX example_modified.fcfx
(13.45 KiB) Downloaded 254 times
this is the second try...
StringRX example_modified1.fcfx
(13.39 KiB) Downloaded 249 times
both are working a bit, but certainly not well

and a pdf of the lasermodule...
quickguide-lr-module-manuals.pdf
(1.24 MiB) Downloaded 247 times
already thanks,

Ronny
by Ronnyvs
Tue Jan 26, 2021 12:34 pm
Forum: Flowcode V8
Topic: Receive string uart rs232
Replies: 7
Views: 5804

Re: Receive string uart rs232

Thank you Martin for the fast reply.

I did some tests yesterday and came a bit further. the uart-rx interrupt did the trick..
but still having some issues.

receive as string is (almost) working well"...
(F= fast measure commando)
when i transmit an "F" as string, the laser immediately sends back ...
by Ronnyvs
Sun Jan 24, 2021 6:23 pm
Forum: Flowcode V8
Topic: Receive string uart rs232
Replies: 7
Views: 5804

Receive string uart rs232

Hello everybody!

I'm struggling for a long time to receive data from my serial laser unit which i use to measure distance.
I did a lot of programming in Bascom, and in Bascom it works perfect. i try to do the same in flowcode as i did in Bascom. but i don't get some values at all, and sometimes one ...
by Ronnyvs
Mon Apr 08, 2019 3:48 pm
Forum: Bug Reports
Topic: Problem LUT GetIntCount en GetFloatCount
Replies: 7
Views: 5407

Re: Problem LUT GetIntCount en GetFloatCount

Thank you Ben!

i will try it this week, and of course... i will let you know.

Friendly regards,

Ronny
by Ronnyvs
Mon Apr 01, 2019 6:43 pm
Forum: Feature Requests
Topic: Change polarity of Input components
Replies: 2
Views: 3645

Re: Change polarity of Input components

Thank you for your answer Ben,

I did the test with a PEC12R encoder and it didn't work.
I thought that the beginning state of the software must noticed a beginning of port-a and port-b logic 0.
I know that the next states of the encoder is 01 or 10 is (depending witch way to rotate)...

so it put ...
by Ronnyvs
Sat Mar 30, 2019 12:43 am
Forum: Feature Requests
Topic: Change polarity of Input components
Replies: 2
Views: 3645

Change polarity of Input components

Hello guys,

Can someone help me how i can change the polarity of some components?

Normally, when I design, I use pull-up.
When I use a switch, I can change the polarity to active low. With a little c-code I make some pull-ups for the ports I want to use the switches… no problem at all…

But,
When ...
by Ronnyvs
Fri Mar 29, 2019 12:21 am
Forum: Bug Reports
Topic: Problem LUT GetIntCount en GetFloatCount
Replies: 7
Views: 5407

Re: Problem LUT GetIntCount en GetFloatCount

First of all, thank you for the reply's

I thought that these functions also worked on the hardware... I'm a new user of flowcode, so I’m just a little bit struggling with the programming.
Sometimes it's hard to know if it is only working in simulation or really in the hardware.
(My real program is ...
by Ronnyvs
Tue Mar 26, 2019 4:02 pm
Forum: Bug Reports
Topic: Problem LUT GetIntCount en GetFloatCount
Replies: 7
Views: 5407

Re: Problem LUT GetIntCount en GetFloatCount

Het lijkt er op dat ik zelf het probleem heb gevonden....

De uitgelezen waarde (wordt volgens mij) gezien als een Float...

ik gebruik dan na het uitlezen de functie FloatToString$, echter geef ik bij de float een komma met getal weer. Dit geeft aan hoeveel decimalen de Float heeft...

voorbeeld ...
by Ronnyvs
Mon Mar 25, 2019 5:56 pm
Forum: Bug Reports
Topic: Problem LUT GetIntCount en GetFloatCount
Replies: 7
Views: 5407

Problem LUT GetIntCount en GetFloatCount

Beste Allen,

Ik heb een probleem bij de omzetting van de parameter (return Value is UInt) die word gegenereerd wanneer de parameters GetIntCount en GetFloatCount worden gebruikt met de "LUT".

Het probleem werkt door in het hele programma, andere LUT's en andere variabelen... (hier zit dan ook het ...