Hi All,
I need to communicate with an RS232 device and send data in this format <01><LEN><SEQ><CMD><DATA><05><BCC><03>
And read in this format
<01><LEN><SEQ><CMD><"DATA"><04><STATUS><05><BCC><03>
Can anyone help me with a vb code to send sample data to the device and read responds urgently
Thank You
read responds urgently
If you want to read responses urgently, you probably need to use interrupts. Have the interrupt put them into an infinite buffer and remove them (using a producer consumer model) in a supervisory loop.
See. Easy.
Are you sure you framed your question correctly?