Solved

VFP code to read data from RS 232 C port

Posted on 2009-05-14
2
2,807 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
ID: 24419731
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
ID: 24425081
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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
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…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

830 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