Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

VFP code to read data from RS 232 C port

Posted on 2009-05-14
2
Medium Priority
?
3,098 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 1500 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

Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

Question has a verified solution.

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

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
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…
Suggested Courses

916 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