Hi ,
I want to comunicate, my windows CE to a spectrometer , model STS from Ocean Optics.
I am reading their datasheet,
http://www.oceanoptics.com/technical/engineering/STS%20Data%20Sheet...
I already have made some functions to write, and Reading with Serial interface using a handle. But even I use the maximum velocity
(115kbps
) the communication with the spectrometter are still very slow,
Now I am trying to use USB comunications
(Full speed 12Mbit/s
),
On page 12, It is show me the usb endpoints
USB Endpoints
(any data query on either OUT will cause a response on the corresponding IN
):
EP1 OUT ? EP1 IN
EP2 OUT ? EP2 IN
Ocean Optics Vendor ID number is 0x2457 and the Product ID is 0x4000.
I think I have all information that I need, but I never use a USB driver
( on wince
) to communicate with other device,
So my doubts are,
Can I use a existent device Driver and communicate directly with it using streams to handle ? Do u have any example?
Do I have to make a entry on registry to make my WinCe to recognize this driver? HKEY_LOCAL_MACHINE\Drivers\USB\LoadClients? HKEY_LOCAL_MACHINE\Drivers\BuiltIn key? What is hte difference between these two entries? Should I Do a new DLL Driver?
Thanks a lot for any help,
João.