Matthias Eisner wrote:
> Dan Mondrik wrote:
>
>> Dave:
>>
>> It sounds more like you're talking about a reset of some sort. VISA
>> doesn't provide this.
>>
>> Also, VISA Close is no magical silver bullet here - it merely releases
>> something that VISA Open already accessed. So if you're using VISA
>> for USB with a RAW resource, then you should release it with VISA
>> Close when you're done. But if you're not using VISA in the first
>> place, you can't use VISA to close what it didn't open.
>>
>> Dan Mondrik
>> National Instruments
>
>
> Hello,
>
> for me there si also the problem that I want to reste my USB-Bus. I am
> using two webcams and two USB2Serial (Keyspan) on the bus, where the two
> Converters and one webcam are addressed fr
om within labview. From time
> to time one of the cameras seems to hang and this hangs the whole Bus
> and afterwards the application then, so a USB-Reset would help a lot if
> the commands timeout. Actually reconnecting the Devices does the job as
> well, but I don't want to sit in front of my equitpent all night to see
> if it hangs
🙂>
> Is there any possibility to fix this?
I assume this is only possible by going directly into the Windows kernal
and do some stuff, probably not really politically correct, in there.
Definitely not something VISA or such should be concerned about if one
of the underlying device drivers messes up.
What I assume happens is that the webcam driver and the keyspan driver
at some point compete for the USB bus and hang each other in waiting for
one or the other semaphore. It is definitely a bug in either the webcam
or keyspan driver but how to proof to the manufacturer will be a
difficult exercise. Just try to see if they have newer drivers.
At least
you can hope they found the problem already in the meantime.
Rolf Kalbermatter
Rolf Kalbermatter
My Blog 
DEMO, Electronic and Mechanical Support department, room 36.LB00.390