Solved

VFP code to read data from RS 232 C port

Posted on 2009-05-14
2
2,768 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!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Receiving a string from a WebService Push 21 47
Formula problem with Excel attachment 6 27
VB.Net - MemoryMappedFiles - Confirm receipt 2 19
C# LINQ ForEach() question 6 28
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we 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…
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…

778 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