serial
Posted: Mon Mar 21, 2016 2:43 pm
i am trying to read serial data from a device that responds with data following a specific command,
this is what i get:
|þ‚•0000000±·530000±6¸·00000²´0±0000¸9¸90000²59¸0000²¸¸²0000²3060000²306000000000000000000000000±²±9±²±90000000000000000000000000¸00000000000000000000¸Ã09·Ã000Ã00000035±00±±603²±0²±´²6´±0²000000000000000000000000000000000000000000000000000000000000�65
its supposed to return something like this:
000000017530000168670000240000008987000025980000288200002306000023060000000000000000000000001213121500000000000000000000000006000000000000000000006C096C000C0000003510011603200121594002000000000000000000000000000000000000000000000000000000000000!
>8
I am able to successfully send the command with the input command (now that we can set the data/parity) and read it with a separate usb serial reader. Seems like some format issue. Any ideas?
Thanks
this is what i get:
|þ‚•0000000±·530000±6¸·00000²´0±0000¸9¸90000²59¸0000²¸¸²0000²3060000²306000000000000000000000000±²±9±²±90000000000000000000000000¸00000000000000000000¸Ã09·Ã000Ã00000035±00±±603²±0²±´²6´±0²000000000000000000000000000000000000000000000000000000000000�65
its supposed to return something like this:
000000017530000168670000240000008987000025980000288200002306000023060000000000000000000000001213121500000000000000000000000006000000000000000000006C096C000C0000003510011603200121594002000000000000000000000000000000000000000000000000000000000000!
>8
I am able to successfully send the command with the input command (now that we can set the data/parity) and read it with a separate usb serial reader. Seems like some format issue. Any ideas?
Thanks