Click here to Skip to main content
15,919,245 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to create registry key in Windows VISTA OS ? Pin
bgmeek6-Jan-10 3:18
bgmeek6-Jan-10 3:18 
GeneralRe: How to create registry key in Windows VISTA OS ? Pin
Calla6-Jan-10 21:53
Calla6-Jan-10 21:53 
GeneralRe: How to create registry key in Windows VISTA OS ? Pin
Sunil G8-Jan-10 0:35
Sunil G8-Jan-10 0:35 
QuestionHow to receive incoming emails. Pin
Sunil G5-Jan-10 19:40
Sunil G5-Jan-10 19:40 
AnswerRe: How to receive incoming emails. Pin
SeMartens5-Jan-10 20:19
SeMartens5-Jan-10 20:19 
QuestionRs422 comm source code Pin
sanjay.gujjar5-Jan-10 19:24
sanjay.gujjar5-Jan-10 19:24 
AnswerRe: Rs422 comm source code Pin
SeMartens5-Jan-10 20:24
SeMartens5-Jan-10 20:24 
AnswerRe: Rs422 comm source code Pin
Roger Wright5-Jan-10 20:25
professionalRoger Wright5-Jan-10 20:25 
This Document[^] is an instruction manual for implementing the RS422 protocol and interface. This site[^] explains some of the issues involved in implementing the interface.

RS422 is a hardware spec, however, and does not discuss the software. It defines a multidrop serial link that extends the RS232 standard, as does RS485. Managing the serial port is accomplished using System.IO.Ports[^] in the .Net Framework. The SerialPort class allows pin-level access to the serial port, and appears to provide state management, as well (I haven't used it yet, so I'm no authority).

I would assume, if it was my project, that the target devices use the same control protocols as RS232 for data stream management, and write the code accordingly. The only exception would be that, since RS422 implements a multidrop serial communications scheme, there must be some addressing function defined. That may be device-specific, or industry defined. The manual mentioned above probably contains that information, though being after midnight here, I haven't read it. Translating RS232 signals into RS422 signals is a job for a hardware adapter.

By the way, the second link above is to B&B Electronics, whose catalog contains an excellent technical reference describing in detail the various serial interfaces in use today - I recommend that you request a catalog if you're going to be doing much of this stuff. Their primary business is selling adapters to convert the various serial communications standards to other forms.

"A Journey of a Thousand Rest Stops Begins with a Single Movement"

QuestionValidating a login to a mail server in C# Pin
Praveen Raghuvanshi5-Jan-10 17:42
professionalPraveen Raghuvanshi5-Jan-10 17:42 
QuestionStylecop Custom rule Pin
Reddy Prakash5-Jan-10 17:17
Reddy Prakash5-Jan-10 17:17 
QuestionHow to view a table using the Data Grid View Pin
Jeff Patterson5-Jan-10 17:07
Jeff Patterson5-Jan-10 17:07 
AnswerRe: How to view a table using the Data Grid View Pin
SeMartens5-Jan-10 20:29
SeMartens5-Jan-10 20:29 
GeneralRe: How to view a table using the Data Grid View Pin
Jeff Patterson6-Jan-10 17:15
Jeff Patterson6-Jan-10 17:15 
GeneralRe: How to view a table using the Data Grid View Pin
SeMartens6-Jan-10 20:10
SeMartens6-Jan-10 20:10 
AnswerRe: How to view a table using the Data Grid View Pin
carlecomm6-Jan-10 15:51
carlecomm6-Jan-10 15:51 
GeneralRe: How to view a table using the Data Grid View Pin
Jeff Patterson6-Jan-10 17:05
Jeff Patterson6-Jan-10 17:05 
QuestionList open Excel files Pin
Akash Patki5-Jan-10 16:35
Akash Patki5-Jan-10 16:35 
AnswerRe: List open Excel files Pin
dojohansen7-Jan-10 6:08
dojohansen7-Jan-10 6:08 
GeneralRe: List open Excel files Pin
Akash Patki7-Jan-10 7:11
Akash Patki7-Jan-10 7:11 
Questioncrystal Reports problem? Pin
miss YY5-Jan-10 14:47
miss YY5-Jan-10 14:47 
AnswerRe: crystal Reports problem? Pin
Garth J Lancaster5-Jan-10 16:00
professionalGarth J Lancaster5-Jan-10 16:00 
Questiongetting country location based on IP address [modified] Pin
uglyeyes5-Jan-10 14:30
uglyeyes5-Jan-10 14:30 
AnswerRe: getting country location based on IP address Pin
Garth J Lancaster5-Jan-10 15:51
professionalGarth J Lancaster5-Jan-10 15:51 
GeneralRe: getting country location based on IP address Pin
uglyeyes5-Jan-10 18:05
uglyeyes5-Jan-10 18:05 
GeneralRe: getting country location based on IP address Pin
Garth J Lancaster5-Jan-10 18:09
professionalGarth J Lancaster5-Jan-10 18:09 

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.