Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

RS232 (MSCOMM32) on windows 10 64bit

Status
Not open for further replies.

tomk3

Programmer
Dec 12, 2003
239
Northern germany
Hello to all,


we read data from an external device and write it to a file with a little program (VERY old) in VFP using MSCOMM32

The PCs were XP then windows7 then windows10 32 bit (IT succeeded in transfering MSCOMM32 without changes in our tool)

Now they have a new PC with windows10 64 bit and an RS232 card and "transfered" MSCOMM again.

Problem
The program starts without error, but it receives "rubbish"
Interface settings are the same (9600 8 N 1 ) for program (active X) and interface card.

Questions
Does anybody know about that, why its receiving rubbish ?

Can you recommend another control (64bit) which can receive data and can be used with VFP / VFPA
(I found but not sure on that)
or
Do you know a program which monitors RS232 and stores input into a file (background, without user interaction)


Thanks a lot in advance

regards
tom
 
If just as last resort solution, C# can easily read COM ports and could handle writing them to a file or provide them by other means, for example programmed as a service to which you could communicate via pipe or shared memory.

Chriss
 
Hello Chriss,

good idea, thanks.
I will study it, exspecially how to handle the "stay in background and save if there is data".
The active-X has easy to use events for that. Its >15 years ago since I wrote that ....

Best regards
tom
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top