by siempre.aprendiendo » Mon Sep 23, 2013 9:59 am
by siempre.aprendiendo
Mon Sep 23, 2013 9:59 am
Do you receive absolutely nothing?
There is no data to read? (serialPort.BytesToRead)
The divide and conquer tactic,
- create the most simple PC program to receive data, so you are sending data correctly (CM-5xx->PC Test code)
- cerate the most simple CM-5xx program to send data, testing that you are receiving data correctly (CM-5xx Test code->PC)
- If all works you could continue adding code step to step until it fails or your initial program works.
- If all fails, probably you should learn a little more about it, search articles, books, tutorials, examples... you may find some help at
http://softwaresouls.com/softwaresouls/tag/serial-port/- If a part fails you can focus in that part to find and fix the problem
Hope it helps

Do you receive absolutely nothing?
There is no data to read? (serialPort.BytesToRead)
The divide and conquer tactic,
- create the most simple PC program to receive data, so you are sending data correctly (CM-5xx->PC Test code)
- cerate the most simple CM-5xx program to send data, testing that you are receiving data correctly (CM-5xx Test code->PC)
- If all works you could continue adding code step to step until it fails or your initial program works.
- If all fails, probably you should learn a little more about it, search articles, books, tutorials, examples... you may find some help at
http://softwaresouls.com/softwaresouls/tag/serial-port/- If a part fails you can focus in that part to find and fix the problem
Hope it helps
