Page 1 of 1

pc data collector device

Posted: Thu Feb 28, 2013 6:11 am
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.

Re: pc data collector device

Posted: Thu Feb 28, 2013 8:41 am
by nuwan5213
please help someone who have e-blocks.

Re: pc data collector device

Posted: Thu Feb 28, 2013 11:36 am
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

Re: pc data collector device

Posted: Thu Feb 28, 2013 11:50 am
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

Re: pc data collector device

Posted: Thu Mar 07, 2013 7:57 am
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

Re: pc data collector device

Posted: Thu Mar 07, 2013 8:09 pm
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