pc data collector device

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 4.
To post in this forum you must have a registered copy of Flowcode 4 or higher. To sign up for this forum topic please use the "Online Resources" link in the Flowcode Help Menu.

Moderator: Benj

Post Reply
nuwan5213
Posts: 82
Joined: Thu Jul 29, 2010 10:03 am
Location: sri lanka
Has thanked: 24 times
Been thanked: 4 times
Contact:

pc data collector device

Post by nuwan5213 »

dear all,

im getting trouble with my new program and it is ,
the first loop's keypad number is ok to display in lcd and transmitt via rs232 is ok and we can see it
from simiulating mode.
but second and third loops it simiulate with flowcode and not working in real hardwear.

is something wrong with flowcode.
please check the attached flowcode.

regards,
nuwan.
Attachments
pc data dev.fcf
(15.27 KiB) Downloaded 260 times
Electronics for better world.

nuwan5213
Posts: 82
Joined: Thu Jul 29, 2010 10:03 am
Location: sri lanka
Has thanked: 24 times
Been thanked: 4 times
Contact:

Re: pc data collector device

Post by nuwan5213 »

please help someone who have e-blocks.
Electronics for better world.

User avatar
Enamul
Posts: 1772
Joined: Mon Mar 05, 2012 11:34 pm
Location: Nottingham, UK
Has thanked: 271 times
Been thanked: 814 times
Contact:

Re: pc data collector device

Post by Enamul »

Hi
Can you please post exactly what you are trying to do? Please post that in detail so that we can check your code easily and let you know where the problem is. I have tried to follow the but that's not so easy without knowing what in details you are trying to do.
Thanks
Enamul
University of Nottingham
enamul4mm@gmail.com

nuwan5213
Posts: 82
Joined: Thu Jul 29, 2010 10:03 am
Location: sri lanka
Has thanked: 24 times
Been thanked: 4 times
Contact:

Re: pc data collector device

Post by nuwan5213 »

dear emmanuel,

im going to collect some datas from sevaral production line,
so im going to devalop data collecting device and it has keypad and lcd and output must be rs 232 and it is going to connect
pc directly.
i also wrote another flowcode and could you please check that also and when its runing in real hardwear
the same problem coming to act.
the first time keypad numbers displayed and then keypad is not responding.for other loops
1)at the bigining it indicates production line as "D01"
2)if you have breakdown in line d01 you can enter breakdown number and press * key then data will sent to pc
3)the mechanic will come and enter his identity number and press * then data will send
4)after compleating breakdown mechanic enter the reason and press * snd that data must go to pc too.
thats all i need.
# is display clearing button.

waiting for reply.
thanks.
nuwan
Attachments
pc data dev3.fcf
(16.9 KiB) Downloaded 270 times
Electronics for better world.

nuwan5213
Posts: 82
Joined: Thu Jul 29, 2010 10:03 am
Location: sri lanka
Has thanked: 24 times
Been thanked: 4 times
Contact:

Re: pc data collector device

Post by nuwan5213 »

dear all,

i found below error in my c file after compilled program.
and i want solution ,im not a "c"player

the problem is keypad only workes one time in real hardwear and stuck the program"please wait for assistencs"display.


please help.

the flowcode and c file is in attachments.

#pragma error "RS232 Component cannot combine 9-bit data mode with legacy return value of 255 please check the Component properties"
#endif
Attachments
pc data dev5.c
(35.12 KiB) Downloaded 306 times
pc data dev5.fcf
(17.1 KiB) Downloaded 280 times
Electronics for better world.

medelec35
Matrix Staff
Posts: 9520
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: pc data collector device

Post by medelec35 »

I have noticed your version of Flowcode is out of date (your running v4.2.3.58).
First thing to is update to V4.5.18.74

You can use Help menu, Check for updates,
Or go to:
http://www.matrixmultimedia.com/flowcode.php
Scroll down to Flowcode Downloads
and enter the last two sections of your license key including the dash.

Once you have done that, recompile and check your hardware out again.
I'm running the latest version, and did not get any warnings like the on you have posted.

If your still facing the same issue after you have updated, we can see if we can help you to solve this.

Matin
Martin

Post Reply