Click here to Skip to main content
15,891,629 members
Home / Discussions / Algorithms
   

Algorithms

 
AnswerRe: Image processing Pin
Alan Balkany24-Sep-12 4:46
Alan Balkany24-Sep-12 4:46 
QuestionChecking the network Pin
en41115-Sep-12 7:24
en41115-Sep-12 7:24 
AnswerlinkRe: Checking the network Pin
YvesDaoust21-Sep-12 0:11
YvesDaoust21-Sep-12 0:11 
Questionan optimal elevator-use algorithm Pin
BillWoodruff13-Sep-12 3:38
professionalBillWoodruff13-Sep-12 3:38 
AnswerRe: an optimal elevator-use algorithm Pin
Alan Balkany13-Sep-12 4:41
Alan Balkany13-Sep-12 4:41 
GeneralRe: an optimal elevator-use algorithm Pin
BillWoodruff19-Sep-12 4:35
professionalBillWoodruff19-Sep-12 4:35 
QuestionPlease, poke holes in my cryptographic function... Pin
Saul Johnson13-Sep-12 0:52
Saul Johnson13-Sep-12 0:52 
QuestionWhat kind of checksum can this be? Pin
GrooverFromHolland9-Sep-12 9:18
GrooverFromHolland9-Sep-12 9:18 
Hi all,

I am trying to write a windows forms program to communicate to a CNC-machine from the 1980ties.
The machine uses a 6802 microprocessor and communicates with a Desktop computer with a DOS program.
The communication is in ASCII characters and is in the following format:
4 spaces and a 3 digit value and a checksum character or 3 spaces and 4 digits and a checksum character.
So a total of 7 characters and a checksum character.

This is a part of the original message(space represented as | and checksum character bold):

||||853>|||1370%||||248>|||1204'||||||00||||||11||||7887||||2156||||2552|||2346#|||2346#|||1031#

I already tried some things like adding all decimal ASCII values and MOD against all possible values,
like ||||853 : 32+32+32+32+56+53+51 MOD some value and add 30 or 31 to make sure result is in the range of printable characters,but no luck.
note that 853 and 248 have the same checksum, also 2346 and 1031.

I hope someone recognizes the checksum algorithm or can help me to find out how the checksum character is calculated.

Thanks,

Groover
0200 A9 23
0202 8D 01 80
0205 00


modified 9-Sep-12 16:14pm.

AnswerRe: What kind of checksum can this be? PinPopular
Alan N9-Sep-12 11:55
Alan N9-Sep-12 11:55 
GeneralRe: What kind of checksum can this be? Pin
GrooverFromHolland9-Sep-12 22:15
GrooverFromHolland9-Sep-12 22:15 
QuestionLinear Regression Most Efficient algorithm calc Line of Best Fit Pin
A*****4-Sep-12 19:24
A*****4-Sep-12 19:24 
AnswerRe: Linear Regression Most Efficient algorithm calc Line of Best Fit PinPopular
Peter_in_27804-Sep-12 20:17
professionalPeter_in_27804-Sep-12 20:17 
QuestionRunning out of Memory - Maths Check Pin
M-Badger3-Sep-12 7:52
M-Badger3-Sep-12 7:52 
AnswerRe: Running out of Memory - Maths Check Pin
Andrei Straut3-Sep-12 9:03
Andrei Straut3-Sep-12 9:03 
GeneralRe: Running out of Memory - Maths Check Pin
M-Badger3-Sep-12 10:11
M-Badger3-Sep-12 10:11 
GeneralRe: Running out of Memory - Maths Check Pin
Andrei Straut3-Sep-12 10:56
Andrei Straut3-Sep-12 10:56 
GeneralRe: Running out of Memory - Maths Check Pin
M-Badger3-Sep-12 11:18
M-Badger3-Sep-12 11:18 
GeneralRe: Running out of Memory - Maths Check Pin
harold aptroot3-Sep-12 21:54
harold aptroot3-Sep-12 21:54 
GeneralRe: Running out of Memory - Maths Check Pin
M-Badger4-Sep-12 0:26
M-Badger4-Sep-12 0:26 
AnswerRe: News Page Pin
M-Badger3-Sep-12 21:12
M-Badger3-Sep-12 21:12 
AnswerRe: Running out of Memory - Maths Check Pin
YvesDaoust3-Sep-12 23:21
YvesDaoust3-Sep-12 23:21 
GeneralRe: Running out of Memory - Maths Check Pin
M-Badger4-Sep-12 0:29
M-Badger4-Sep-12 0:29 
AnswerRe: Running out of Memory - Maths Check Pin
Member 91314964-Sep-12 1:56
Member 91314964-Sep-12 1:56 
GeneralRe: Running out of Memory - Maths Check Pin
M-Badger4-Sep-12 9:29
M-Badger4-Sep-12 9:29 
GeneralRe: Running out of Memory - Maths Check Pin
Member 91314965-Sep-12 2:00
Member 91314965-Sep-12 2:00 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.