Page 1 of 1

Desktop program on delphi and pascal

Posted: Sun Jun 09, 2013 3:32 am
by luk2009
I'm trying to establish connection with the envisalink3. I use a component TClientSocket. I try to send the following data:
005user7C CR LF
and single receipt
5000052A
5050CA

what is wrong?

Re: Desktop program on delphi and pascal

Posted: Sun Jun 09, 2013 9:34 pm
by GrandWizard
Your math is wrong. You are adding the individual HEX values as DECIMAL, and then converting to HEX.

Big no no

Re: Desktop program on delphi and pascal

Posted: Fri Jun 14, 2013 3:51 am
by luk2009
https://www.dropbox.com/s/dnrjyeva0jj6a ... uciano.zip

the beta version works fine on windows, soon I'll make a version for linux

Re: Desktop program on delphi and pascal

Posted: Fri Jun 14, 2013 3:58 am
by luk2009
Image

Re: Desktop program on delphi and pascal

Posted: Sat Jun 15, 2013 1:21 am
by luk2009