CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Data Stream decoding

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
dave



Joined: 21 Dec 2003
Posts: 7
Location: Sheffield, South Yorks, UK

View user's profile Send private message

Data Stream decoding
PostPosted: Fri Apr 29, 2005 2:54 am     Reply with quote

Hello folks hope you are all well,
If I wanted to send three elements of data, say two temperature readings and a another value from one pic to another via an RS232 CRC packet data system. Could this be sent as one packet stream and decoded so the receving pic knows which piece of data is which or would it probably be better to send each piece of data on its own, this would not be time critical for the receiver as it would just be waiting for the new data to display it, it could (but probably not) be time critical though for the tx pic.
Any thoughts people thanks in advance.
Dave Very Happy
Humberto



Joined: 08 Sep 2003
Posts: 1215
Location: Buenos Aires, La Reina del Plata

View user's profile Send private message

PostPosted: Fri Apr 29, 2005 6:21 am     Reply with quote

Hi Dave,

Searching in this forum you will find hundreds of posted threads regarding your
inquire, read them and I�m sure this exercise will be a good reference to
learn from.
Try searching ie:"circular buffer", "stream", "RS 232",etc.
Once you get ready to write some lines of code, post it and we will
correct, critisize and guide to help you.

Best wishes,

Humberto
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group