Our Process Control Systems run under XP to a variety of RS232 devices via USB to RS232. on the USB side we use FTDI, and COMTOOLS for port definition and inits, and the standard low level VFP 5.0 calls. This setup works well and is fast enough for our purposes at 9600 Baud.

Originally we did these tasks in MSC5.1, because Clipper has a lovely native C interface. I could not find the same service for VFP at the time, so I bunged my way to the above.

If I can help point out a similar solution for Your App, please post some details of the commands you with send and receive via the USB Port, and the structures you wish to communicate to.
If I am off the wall on this one have a laugh and don't give up.

William















On 09/09/14 16:40, Alan Bourke wrote:
On Tue, 9 Sep 2014, at 04:33 PM, Jean MAURICE wrote:
I was able to connect a display, or a balance to a fox app when I worked
under
DOS ... but now I must do the same thing with WIN7 or WIN8 and VFP8 and a
USB port.

Can someone give me the first steps to do ? I would like to use again
FOPEN ...
but how can we tell FOPEN that we want to work with USB ?

You can't. If you want to talk to the metal under Windows then you have
to use the Windows API. To make it easier, I would advise using an
ActiveX control that provides a simple API. This one is free:
http://www.dataq.com/products/dataq-active-x/


_______________________________________________
Post Messages to:[email protected]
Subscription Maintenance:http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list:http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive:http://leafe.com/archives/search/profox
This 
message:http://leafe.com/archives/byMID/profox/1410277243.4040397.165457845.1269f...@webmail.messagingengine.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.





_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to