Solved

VFP code to read data from RS 232 C port

Posted on 2009-05-14
2
2,694 Views
Last Modified: 2013-12-17
I need to write a program to read the output of a lab equipment that send result in ascii format through a DB9 RS 232 C serial port. What do I need to achieve that? I use VFP 9.0 with SP2.
What component do I need, and can anybody help with the code just to read the data to a string variable.
0
Comment
Question by:Adabara2009
  • 2
2 Comments
 
LVL 39

Accepted Solution

by:
abel earned 500 total points
Comment Utility
Using Visual FoxPro you can do that by following these steps: http://support.microsoft.com/kb/140525. To make your life easier, you can save yourself a lot of trouble by buying a commercial library, as depending on the actual task, this can be quite some work. Check out this one: http://www.marshallsoft.com/wsc4fp.htm
0
 
LVL 39

Expert Comment

by:abel
Comment Utility
Tx, but I see you're new here. Next time you post or grade, make sure you read about 10pts must principle and give us, experts, the chance to earn that grade. Grading low without comments leaves us in oblivion about whether we could've helped you further or better. So please, do follow-up on questions until you are fully satisfied.
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Suggested Solutions

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now