Solved

VFP code to read data from RS 232 C port

Posted on 2009-05-14
2
2,941 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Tutorials alone can't teach real engineering

So we built better training tools.

-Hands-on Labs
-Instructor Mentoring
-Scenario-Based Tests
-Dedicated Cloud Servers

All at your fingertips. What are you waiting for?

Question has a verified solution.

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

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
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…
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…
Suggested Courses
Course of the Month6 days, 7 hours left to enroll

634 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