USB communication's problem

  • Thread starter Thread starter TChi
  • Start date Start date
T

TChi

Hello everybody,

This is my problem:
- I have two USB devices and the manufacturers provided drivers (including
DLL and sys files.). I can operate each of them successfully, however, things
changed since I tried to operate both devices simultaneously. Firstly, Device
Manager in Windows shows that: the later device (the one which is pluged
after plugging in the first one) does not have the approperiate drivers
(Yellow question mark), no matter what the order of plugging. The fact is
that, when I plug in just one device, it works well, everything works like
nothing's happened.
- Maybe that's the reason why I can not operate my software (controlling two
devices at the same time).

My OS: Windows XP SP2, CPU E2200, RAM 2GB.

Would you please tell me what should I do, what is the possible solution?
And please tell me where could I find the materials, tutorials, books, or
anythings related to this problem.

Thank you.
 
TChi said:
Hello everybody,

This is my problem:
- I have two USB devices and the manufacturers provided drivers (including
DLL and sys files.). I can operate each of them successfully, however, things
changed since I tried to operate both devices simultaneously. Firstly, Device
Manager in Windows shows that: the later device (the one which is pluged
after plugging in the first one) does not have the approperiate drivers
(Yellow question mark), no matter what the order of plugging. The fact is
that, when I plug in just one device, it works well, everything works like
nothing's happened.
- Maybe that's the reason why I can not operate my software (controlling two
devices at the same time).

My OS: Windows XP SP2, CPU E2200, RAM 2GB.

Would you please tell me what should I do, what is the possible solution?
And please tell me where could I find the materials, tutorials, books, or
anythings related to this problem.

Thank you.
This article might help if you have the same problem:
http://blogs.msdn.com/oldnewthing/archive/2004/11/10/255047.aspx

Can you provide some info about the devices, manufacturer, vendor id,
hardware id, are they connected to a hub etc..

To find the hardware and vendor id, go into device manager, right click
on the device, click on properties and click on the details tab. You
should see something similar to this: USB\VID_0ACE&PID_1211\5&C1E6CCE&0&1

I would also recommend installing the latest windows updates - SP3 etc..
 
TChi said:
Hello everybody,

This is my problem:
- I have two USB devices and the manufacturers provided drivers (including
DLL and sys files.). I can operate each of them successfully, however, things
changed since I tried to operate both devices simultaneously. Firstly, Device
Manager in Windows shows that: the later device (the one which is pluged
after plugging in the first one) does not have the approperiate drivers
(Yellow question mark), no matter what the order of plugging. The fact is
that, when I plug in just one device, it works well, everything works like
nothing's happened.
- Maybe that's the reason why I can not operate my software (controlling two
devices at the same time).

My OS: Windows XP SP2, CPU E2200, RAM 2GB.

Would you please tell me what should I do, what is the possible solution?
And please tell me where could I find the materials, tutorials, books, or
anythings related to this problem.

Thank you.

And just what are these two USB devices? What do they do? What
are the system files that are provided? And what software?
 
GHalleck said:
And just what are these two USB devices? What do they do? What
are the system files that are provided? And what software?

Dear GHalleck and Markmckee601,

I am sorry because I did not mention the detailed information.

Those two USB devices are two mini-spectrometers that I bought from two
companies (Ocean Optics, Inc and Spectral Products). My work requires that I
should operate two devices at the same time. I made my own software based on
the drivers provided from manufacturers. More details, they are OOIDRV32.DLL
and CVIDBUSB.DLL including ezusb.sys. Things are strange because once I
connected one spectrometer, I can receive spectrum, change the parameters to
fit my requirements. Then if I plug two devices, the yellow question mark
will appear and I can work with only the first plugged device.

Dear Markmckee601, I got the Vendor ID and manufacturer's ID, device ID,
.... by using USBview.exe utility. I am sorry that I put my devices in office
so I will check it back this Monday. I am studying materials in your link.
Hope that I can apply those things to my problem.

Dear GHalleck, my software was written by LabVIEW, using Call Function Node
-> to call DLLs in Windows. I'm familiar with Visual Basic, C and C++ also. I
think this is not the problem of programming language. If you think that I
forgot to include anything or I misunderstood some things, please tell me.

I really appreciate your help. Thank you for your posts and I will reply as
soon as possible.

Have a nice weekend!
 
Dear GHalleck and  Markmckee601,

I am sorry because I did not mention the detailed information.

Those two USB devices are two mini-spectrometers that I bought from two
companies (Ocean Optics, Inc and Spectral Products). My work requires that I
should operate two devices at the same time. I made my own software basedon
the drivers provided from manufacturers. More details, they are OOIDRV32.DLL
and CVIDBUSB.DLL including ezusb.sys. Things are strange because once I
connected one spectrometer, I can receive spectrum, change the parametersto
fit my requirements. Then if I plug two devices, the yellow question mark
will appear and I can work with only the first plugged device.

Dear Markmckee601,  I got the Vendor ID and manufacturer's ID, device ID,
... by using USBview.exe utility. I am sorry that I put my devices in office
so I will check it back this Monday. I am studying materials in your link..
Hope that I can apply those things to my problem.

Dear GHalleck, my software was written by LabVIEW, using Call Function Node
-> to call DLLs in Windows. I'm familiar with Visual Basic, C and C++ also. I
think this is not the problem of programming language. If you think that I
forgot to include anything or I misunderstood some things, please tell me..

I really appreciate your help. Thank you for your posts and I will reply as
soon as possible.

Have a nice weekend!

This would / could indicate that both devices "might" interfere with
each other. You might never be able to run the two devices on the
same PC.
 
smlunatick said:
This would / could indicate that both devices "might" interfere with
each other. You might never be able to run the two devices on the
same PC.

Dear smlunatick,

Actually, I solved my problem of "yellow question mark". It indicates that
device drivers conflict to each other because they use the same .sys file. I
modified their INF files and it worked well.

However, I still got that problem :( I'll try. If you know any possible way
to learn to solve it. Please help me. Thank you very much!
 
Back
Top