![]() |
|
|
|
Thread Tools | Display Modes |
|
|
|
|
#12 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
The data has a form and protocol determined by agreement between the parties at each end. For instance, it could be pure ASCII text, such as might be sent to a Model 33 TTY or a glass teletype. On the other hand, it might be wrapped in a protcol containing a header followed by a message followed by a checksum or CRC. Special codes might be used to indicate the beginning and end of these sections. It depends on how serious error-free transmission and reception is. The output from a temperature-measuring device is probably relatively simple. Just get the manual for the device and read it. Sellers of these things don't require you to guess and iterate to find an answer.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Data logging problem from the serial port | jerryleo | Perl | 0 | Jan 10th, 2006 8:47 AM |
| Help in QBASIC (I think it's similar to VB) | phoenix987 | Visual Basic | 3 | May 9th, 2005 1:33 PM |
| Help with a QBASIC program | phoenix987 | Other Programming Languages | 4 | May 5th, 2005 1:27 PM |
| Script to output HDD data to serial port | Europa2010AD | C | 2 | Apr 6th, 2005 2:37 PM |
| Printer Port Programming | shadowhunter | C++ | 3 | Feb 28th, 2005 5:16 AM |