Thread: Serial port pulse signal

  1. #1
    Registered User
    Join Date
    Apr 2015
    Posts
    1

    Serial port pulse signal

    Hi,

    I'm quite new to this forum, but I've been on stackoverflow for quite a while.

    I'll have to apologise in advance, all of my experience in programming is in numerical data analysis, and that is not the focus of my issue.

    To put things into context - I've got a scientific instrument that attaches to a PC and captures data at 4Hz. I want to integrate this data capture with a GPS device. The GPS device can accept pulses through an RS232 port in order to initiate a new data capture. My idea was to send a pulse via the PC's RS232 to the GPS's RS232 every time a new file is dropped into the working directory.

    Could anybody help / lead me in the right direction?

    Thanks in advance!

  2. #2
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,981
    Do you have the RS232 protocol spec for that GPS device?

    gg

  3. #3
    Registered User
    Join Date
    Aug 2010
    Location
    Poland
    Posts
    733
    Quote Originally Posted by jordanawhite View Post
    Hi,

    I'm quite new to this forum, but I've been on stackoverflow for quite a while.

    I'll have to apologise in advance, all of my experience in programming is in numerical data analysis, and that is not the focus of my issue.

    To put things into context - I've got a scientific instrument that attaches to a PC and captures data at 4Hz. I want to integrate this data capture with a GPS device. The GPS device can accept pulses through an RS232 port in order to initiate a new data capture. My idea was to send a pulse via the PC's RS232 to the GPS's RS232 every time a new file is dropped into the working directory.

    Could anybody help / lead me in the right direction?

    Thanks in advance!
    1. Get the specification as already suggested.
    2. Check if the device comes with some API/utility library/whatever to ease communication with external software.
    3. Depending on above and your additional requirements pick the programming language and other tools (e.g., a 3rd party library for RS-232 communiation).

    Remember that the more specific you are, the more specific answers you will get.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Help with serial port in C
    By yansen in forum C Programming
    Replies: 7
    Last Post: 06-19-2013, 09:36 PM
  2. Using the serial (COM) Port
    By Bladactania in forum C Programming
    Replies: 3
    Last Post: 03-09-2009, 12:50 PM
  3. Serial Port
    By raylu in forum C Programming
    Replies: 4
    Last Post: 06-05-2007, 08:13 PM
  4. receive signal from parallel port
    By happyspells in forum C Programming
    Replies: 1
    Last Post: 02-24-2004, 09:34 AM
  5. change signal - seriel port - dos or linux
    By sphreak in forum C++ Programming
    Replies: 0
    Last Post: 01-03-2003, 11:24 AM

Tags for this Thread