Click here to Skip to main content
16,005,339 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Scrolling image Pin
Renjith Ramachandran17-Jun-02 1:03
Renjith Ramachandran17-Jun-02 1:03 
GeneralRe: Scrolling image Pin
Joaquín M López Muñoz17-Jun-02 5:08
Joaquín M López Muñoz17-Jun-02 5:08 
GeneralCombo box to display directories & files. Pin
17-Jun-02 0:21
suss17-Jun-02 0:21 
GeneralRe: Combo box to display directories & files. Pin
Nish Nishant17-Jun-02 0:30
sitebuilderNish Nishant17-Jun-02 0:30 
GeneralRe: Combo box to display directories & files. Pin
Renjith Ramachandran17-Jun-02 5:09
Renjith Ramachandran17-Jun-02 5:09 
GeneralRe: Combo box to display directories & files. Pin
Nish Nishant19-Jun-02 2:00
sitebuilderNish Nishant19-Jun-02 2:00 
Generalcommunication protocol Pin
udayGovekar16-Jun-02 23:46
udayGovekar16-Jun-02 23:46 
GeneralRe: communication protocol Pin
Roger Allen17-Jun-02 3:50
Roger Allen17-Jun-02 3:50 
I can tell you about the basics. RS-485 works by voltage differential. Their are two lines which are either +ve or -ve depending on whether a 1 or a 0 is being transmitted. These lines are labelled A and B.

So a 0 = A+, B-
a 1 = A-, B+

(or visa-versa)

Also, many devices can be on an RS-485 bus at a time. They need to use some kind of communication protocol to decide when they want to transmit on the bus. Any number of devices can listen, but only 1 can transmit at a time or you get garbled communication. Typiclly, you have 1 master device which initiates all transmissions, and then the other devices reply to the message, but they have to do so in a set time frame. DOnt forget to use checksums etc if needed to avoid bad messages.

Full-duplex/Half duplex.

In one of these modes you also receive in your input buffer what you send, in the other you do not. I forget which way round it is.

Hope this info helps.



Roger Allen
Sonork 100.10016

If I had a quote, it would be a very good one.
GeneralRe: communication protocol Pin
Phil Speller17-Jun-02 4:20
Phil Speller17-Jun-02 4:20 
GeneralRe: communication protocol Pin
Roger Allen17-Jun-02 4:34
Roger Allen17-Jun-02 4:34 
QuestionHow can I tell when a thread has ended Pin
Klaus Petersen16-Jun-02 23:44
Klaus Petersen16-Jun-02 23:44 
AnswerRe: How can I tell when a thread has ended Pin
Neville Franks17-Jun-02 0:22
Neville Franks17-Jun-02 0:22 
AnswerRe: How can I tell when a thread has ended Pin
Nish Nishant17-Jun-02 0:31
sitebuilderNish Nishant17-Jun-02 0:31 
GeneralRe: How can I tell when a thread has ended Pin
Klaus Petersen17-Jun-02 0:39
Klaus Petersen17-Jun-02 0:39 
GeneralDifferent proxy in CHtmlView Pin
rrrado16-Jun-02 23:07
rrrado16-Jun-02 23:07 
GeneralList Control and NM_RETURN Pin
Swinefeaster16-Jun-02 22:56
Swinefeaster16-Jun-02 22:56 
GeneralRe: List Control and NM_RETURN Pin
Nish Nishant17-Jun-02 0:42
sitebuilderNish Nishant17-Jun-02 0:42 
GeneralRe: List Control and NM_RETURN Pin
Swinefeaster17-Jun-02 12:17
Swinefeaster17-Jun-02 12:17 
QuestionHow to get the physical disk number from a logical letter? Pin
16-Jun-02 22:54
suss16-Jun-02 22:54 
AnswerRe: How to get the physical disk number from a logical letter? Pin
Mike Nordell17-Jun-02 17:03
Mike Nordell17-Jun-02 17:03 
GeneralRe: How to get the physical disk number from a logical letter? Pin
17-Jun-02 20:54
suss17-Jun-02 20:54 
QuestionHow to generate 'warning' message in compiler? Pin
Cloudway16-Jun-02 21:06
Cloudway16-Jun-02 21:06 
AnswerRe: How to generate 'warning' message in compiler? Pin
Roger Broomfield16-Jun-02 22:10
Roger Broomfield16-Jun-02 22:10 
GeneralRe: How to generate 'warning' message in compiler? Pin
Cloudway16-Jun-02 22:56
Cloudway16-Jun-02 22:56 
GeneralSpeed up word automation Pin
mageshswami16-Jun-02 20:50
mageshswami16-Jun-02 20:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.