INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

Com port

Com port

(OP)
Can i run a clipper program and receive data by com1 at the same time.
Thank you.

RE: Com port

A few more details please:
- Receive using that same clipper program, or using some other tool?
- Running from Windows or from DOS?

HTH
TonHu

RE: Com port

(OP)
- Same clipper program
- From DOS

Thank you

RE: Com port

Hm, DOS isn't really good in multi-tasking, and Clipper programs, although there can be done some things in the background, isn't _at all_ good in background processing.

If it's for processing some keyboard-wedge for reading barcodes, then get a version that connects between the keyboard and the PC.

If it's for gathering data from a slow-speed or low-traffic device, you can probably process it in the background, I've used NFLIB (NanForum Toolkit) function FT_OnIdle to process stuff in the background, like displaying the system-time and num-lock state in the corner of the screen, but it only gets time when you app isn't too busy, it depends on the Idle-time of the VM system.
If the data just needs to be put in a table (dbf file) for processing by your app, then you could write a TSR that captures tha data from the port, and writes it in the table (turn on shared use of the table). Biggest problem could be that the knowledge and techniques for writing DOS TSR's has nearly vanished, as in Windows you can run many processes next to each other, and they should act like in a networked environment anyway.

If possible, re-deploy on some Windows of maybe Linux environment, re-compiling with Harbour (harbour-project.com, free) or xHarbour (xharbour.org, free or xharbour.com for a paid & supported version). Both compile and run on Windows and several *nixes, up to and including Mac-OS.

HTH
TonHu

RE: Com port

Is the Clipper app going to go pull the data or is it waiting for the data to be passed to it.

Jim C.
 

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close