Click here to Skip to main content
11,922,789 members (48,270 online)
Rate this:
Please Sign up or sign in to vote.
Hi everyone,

Today my manager told me about this requirement. There is a need to read the live data from DE-9 (9-Pin Connector) and display it in a form.

I have no idea about this. Does any one have idea about it please it with me. If you have any resources or suitable books please suggest me.

For details about DE-9 check this Wikipedia page:[^]
Siva Kumar

[edit] clickable link[/edit]
Posted 8-Nov-12 22:33pm
Edited 8-Nov-12 22:59pm

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Exactly how you do this will depend on what tools you have available, and what programming language you are familiar with.

Basically, a 9-pin D type is a serial communications port - it receives data which gets transferred to the system in bytes, which may be binary numbers or characters.

If you are using a .NET language then look at using the SerialPort class - it includes a DataReceived event[^] which tells you when a byte has arrived at the port. The link includes a simple example.
Siva Kumar 12-Nov-12 0:50am
Thank u griff. I have another doubt. Suppose if i use a USB adapter to convert the 9-pin D type to USB, will I be able to use SerialPort Class?
OriginalGriff 12-Nov-12 3:24am
Yes - the USB ports normally show up as COM ports.
Siva Kumar 12-Nov-12 4:06am
Thankyou Griff :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web03 | 2.8.151125.1 | Last Updated 9 Nov 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100