Thread: triggering another program to run using serial port

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User
    Join Date
    Oct 2006
    Posts
    3,445
    what platform are you developing this program for? windows? linux? the way to do it is very different for each. either way, a daemon (linux/unix) running as root or a service (windows) running as the local system account would be where I'd start. have the daemon/service communicate with the port and write another program that uses IPC (interprocess communications) to run at the user level and control the service/daemon.

  2. #2
    Registered User
    Join Date
    Jun 2009
    Posts
    3
    Quote Originally Posted by Elkvis View Post
    what platform are you developing this program for? windows? linux? the way to do it is very different for each. either way, a daemon (linux/unix) running as root or a service (windows) running as the local system account would be where I'd start. have the daemon/service communicate with the port and write another program that uses IPC (interprocess communications) to run at the user level and control the service/daemon.
    the program is running in a windows platform. i am not sure how to write the program for it to run at user level and control the service, can you guide in this?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. FTP program
    By jakemott in forum Linux Programming
    Replies: 14
    Last Post: 10-06-2008, 01:58 PM
  2. HELP with storing serial port data into txt file
    By inmaterichard in forum C Programming
    Replies: 2
    Last Post: 04-02-2008, 02:20 AM
  3. Can't Read From Serial Port
    By HalNineThousand in forum Linux Programming
    Replies: 14
    Last Post: 03-20-2008, 05:56 PM
  4. Input via the serial port for a C program
    By Anthony in forum C++ Programming
    Replies: 2
    Last Post: 07-11-2005, 02:19 PM
  5. Serial Port problems
    By BeBu in forum Linux Programming
    Replies: 1
    Last Post: 04-01-2005, 08:18 AM