DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    ArunKumar Guest

    Regarding Reading Data From Port


    Dear Helper,

    Any of u can help me in the following problem.

    i would like to read the data from a electrometer which is giving the
    output through a rs485 port. is that is possible to read the data from that.
    if so please help me.

    thanks in advance

  2. #2
    Brian Guest

    Re: Regarding Reading Data From Port


    RS-485 is an EIA standard for data communication, so I am not exactly sure
    what you mean by "a rs485 port". Generally speaking, you can read I/O ports
    on 0x86 based machines by using the C standard library function, "inp". Note
    that you cannot use this approach for Windows NT based machines (i.e., NT4,
    Win2K, WinXP) because they do not allow direct port access in user mode.
    For those OS's you will need to write a device driver to access ports.

    Hope this helps,
    Brian

    "ArunKumar" <demonarun@yahoo.com> wrote:
    >
    >Dear Helper,
    >
    > Any of u can help me in the following problem.
    >
    > i would like to read the data from a electrometer which is giving the
    >output through a rs485 port. is that is possible to read the data from that.
    >if so please help me.
    >
    >thanks in advance



Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links