Real Software Forums

The forum for Real Studio and other Real Software products.
[ REAL Software Website | Board Index ]
It is currently Sun Dec 15, 2019 11:25 pm
xojo

All times are UTC - 5 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Capturing USB data
PostPosted: Thu Aug 11, 2011 6:35 pm 
Offline

Joined: Thu Jul 30, 2009 6:30 am
Posts: 30
Hi All,
I am trying to capture incoming and outgoing USB communications using the serial control, but to date have been unsuccessful. Can anybody point me in the right direction for this or is there a generic routine for intercepting USB data.
thanks
Chris Benton


Top
 Profile  
Reply with quote  
 Post subject: Re: Capturing USB data
PostPosted: Thu Aug 11, 2011 6:48 pm 
Offline

Joined: Wed May 20, 2009 11:02 am
Posts: 423
To talk to a USB device you need the driver of that device. The serial control is not for USB devices.

That said, there are devices that are recognized as HID (Human interface device, if I am not mistaken) that can use standard drivers that are always present in the OS. Then, either you use API declares to communicate to the device, or find a wrapper for those API declares (such as mcHID.dll for Windows, which is free), or find a third party plugin (you can find a suitable one on http://www.monkeybreadsoftware.de, look for the USB plugin).

Also, you could use a USB to serial converter and communicate with your device through the COM port. I believe this is not always possible, but I am not sure, I have no experience with those.

There are other threads with very similar questions, look for them and you will get all the information you need.

Pixe

_________________
Using RS2011r4.3 on Windows7.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 5 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group