Thread: Input of realtime data

  1. #1
    Registered User
    Join Date
    Nov 2008
    Posts
    1

    Input of realtime data

    Hi,

    Example: i want to measure realtime temperature from a place where i have a temperature senzor- can the temperature be seen in the program made in C?

    Can this be done and if yes, how exactly?

    I need this for a school project.
    Any help is very welcome.

    Regards

  2. #2
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    Of course you can.

    However, how easy this would be, and how you go about it depends on many things:
    - What OS are you running on the machine?
    - How is the temperature sensor connected to the machine - USB, Serial Port, Parallel port, etc?
    - Is there a suitable driver for the sensor already available that works in the OS you are using?
    - Is there either an API to access the sensor from an application, or do you have the specifications of how the sensor can be accessed through the driver?

    Unless there is a well-documents API, you may be in for a tricky task.

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. can someone help me with these errors please code included
    By geekrockergal in forum C Programming
    Replies: 7
    Last Post: 02-10-2009, 02:20 PM
  2. problem collecting data from input file
    By gkoenig in forum C Programming
    Replies: 12
    Last Post: 03-30-2008, 07:40 AM
  3. singly linked circular list
    By DarkDot in forum C++ Programming
    Replies: 0
    Last Post: 04-24-2007, 08:55 PM
  4. Message printing problem
    By robert_sun in forum C Programming
    Replies: 1
    Last Post: 05-18-2004, 05:05 AM