Thread: Emulation program

  1. #1
    Registered User
    Join Date
    May 2003
    Posts
    5

    Emulation program

    I need to write an emulation program that will send a string through the COM port every second or any other pre-determined time sequence. I have the code to open the COM port but I dont know how to do the other part of continuously sending the string.

  2. #2
    Registered User
    Join Date
    May 2003
    Posts
    5

    Emulation prog

    The emulation could run on Win 95, 98 or 2000. I have machines for these. Still trying the attached link.
    Thanks

  3. #3
    Been here, done that.
    Join Date
    May 2003
    Posts
    1,164
    Each compiler may have it's own 'delay' or 'sleep' function which may work.

    Otherwise, look into the standard time() and related functions to create a timing loop.

  4. #4
    Registered User
    Join Date
    Feb 2003
    Posts
    175
    Can you define ur requirment in detail and for what are u developing this emulator?

    pl let me know.

  5. #5
    Registered User
    Join Date
    May 2003
    Posts
    5
    Walt, the purpose of the prog is to send strings though the serial port. The program will ask for a string to send and send that string at a specified spped (every second, 2S, 3S etc)

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Issue with program that's calling a function and has a loop
    By tigerfansince84 in forum C++ Programming
    Replies: 9
    Last Post: 11-12-2008, 01:38 PM
  2. Need help with a program, theres something in it for you
    By engstudent363 in forum C Programming
    Replies: 1
    Last Post: 02-29-2008, 01:41 PM
  3. Replies: 4
    Last Post: 02-21-2008, 10:39 AM
  4. My program, anyhelp
    By @licomb in forum C Programming
    Replies: 14
    Last Post: 08-14-2001, 10:04 PM