Read Data Usb Port in Visual Foxpro

INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact United states

Log In

Come up Join Us!

Are yous a
Computer / IT professional?
Bring together Tek-Tips Forums!

  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automatic Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving electronic mail. By joining you lot are opting in to receive electronic mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Hither

Demand tools to communicate with USB device

2

  • Forum
  • Search
  • FAQs
  • Links
  • MVPs

Need tools to communicate with USB device

Need tools to communicate with USB device

(OP)

I've been using COMMTOOLS to communicate with serial ports and at present I need to motion up to USB ports.  Are there tools out bachelor for VFP that I tin can employ to replace my former code?

In my control file, the user can select the device name along with port, baud, information bits, stop bits and parity.  Not sure if this is of import but thought I would add information technology.

RE: Need tools to communicate with USB device

I never did whatsoever device programming on USB, but as well used the Commtools to control electronic scales.

USB is a jitney in the first place, a omnibus supporting many very unlike devices, forget virtually COM programming, baud, $.25,parity etc.

Ane proficient starting signal for developers is http://world wide web.usb.org/developers/ and I didn't used this, just information technology goes in the direction of what yous might wait for: http://sourceforge.net/apps/trac/libusb-win32/wiki

What I know from others is, that USB devices like card readers rahter do ofttimes enough come with some API dll, SDK or the like, but something proprietary, not equally universal as you'd like.

What kind of devices do you have in mind? printers and scanners have much higher level APIs, storage devices of course need no special handling at all.

Bye, Olaf.

RE: Need tools to communicate with USB device

(OP)

I take a program to read information from scales only the blazon and make of the scale may very and with COMMTOOLS(as you lot know) y'all demand to know how to communicate with the scale(baud rate, databits, parity, stopbit) and what strings control to send the different scales to request the weight.  Since the newer computers practise not have serial ports, I am looking for alternatives.

RE: Need tools to communicate with USB device

Well, to utilize these scales, look for USB to RS232 adapters.

Bye, Olaf.

RE: Need tools to communicate with USB device

As Olaf stated merely use USB to Serial adapters, they are cheap, and easy to utilise.  One time installed they create a virtual series device using the USB.

I use several manufacturers, sewelldirect, radio shack, and others.

$10 - 12 each when ordered in bulk.

RE: Need tools to communicate with USB device

(OP)

I've got ane from Radio Shack on the shelf and information technology does work.  I just didn't know if at that place was something else I needed to exist using.  I capeesh y'all reminding me to cheque my closet every now and so.  Didn't know about the Sewell brand, I will check this one out also.  The ones from radio shack are not the cheapest on the marketplace if you know what I mean.

RE: Demand tools to communicate with USB device

We tested a few and had all-time results with Devices based on FTDI chips, eg  FT232R. These were not cheap only compared with the price of precision laboratory scales it'south still much cheaper than new scales devices in the range of thousands of Euro.

Cheerio, Olaf.

RE: Need tools to communicate with USB device

Merely want to add that I had to try 3 different USB-to-series adapters before finding one that worked reliably. The one I'thousand happy with came from KeySpan.

Tamar

RE: Demand tools to communicate with USB device

Here is a DLL that allows you to read and write to USB ports from any MS language.

http://www.kadtronix.com/usbhidapi_usr.htm

They have a sample awarding and lawmaking but the sample is non in VFP :(  merely the DLL it actually works.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate activity.

Bring together | Advertise

Copyright © 1998-2022 engineering.com, Inc. All rights reserved.
Unauthorized reproduction or linking forbidden without expressed written permission. Registration on or utilize of this site constitutes acceptance of our Privacy Policy.

Engineering.com

Join Tek-Tips® Today!

Join your peers on the Internet'due south largest technical computer professional person community.
It's easy to bring together and it'due south free.

Here's Why Members Dearest Tek-Tips Forums:

  • Tek-Tips ForumsTalk To Other Members
  • Notification Of Responses To Questions
  • Favorite Forums One Click Admission
  • Keyword Search Of All Posts, And More...

Annals now while information technology's even so free!

Already a fellow member? Close this window and log in.

Join Us Close

whitlockrouregre.blogspot.com

Source: https://www.tek-tips.com/viewthread.cfm?qid=1617126

0 Response to "Read Data Usb Port in Visual Foxpro"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel