01-30-2013 10:18 AM
I want to control a polycold by RS 232 via Lab view.
In the manual I found the code for determining the checksum. When I try this, i get other checksum values. I have a bit of c language attached as well and the description from the manual.
Who can help me and understand what the checksum has to be.
Solved! Go to Solution.
01-30-2013 10:53 AM - edited 01-30-2013 10:53 AM
A checksum is never just a simple sum...
Does this match up with what is expected?
01-30-2013 12:10 PM - edited 01-30-2013 12:12 PM
Hello,
I tried your advise, but I still did not get the correct checksum.
In the mean time I found two commands I can give, with the correct checksums (2 and 4). See attachments.
I also made a screen shot of docklight (I use this program to test the rs 232 serial commands). When I know how the commands works, I program them in lv.
01-30-2013 12:27 PM - edited 01-30-2013 12:30 PM
This seems to work:
A really big hint is that when you are sending '0' or '2' or '4' to the instrument you are sending the ascii values, not literal values. A second hint is having a few ascii -> character mappings in your head (such as 0,a,A) is often useful.
01-30-2013 12:31 PM
Are you following the directions in the text attachment from your first post? It looks like the checksum should ignore the $ character that begins the response, but it's not clear if you're removing the leading $ before calculating the checksum.