Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

VISA, MAX, USB-RAW Session, Reading device descriptor

I have to read the bcdDevice value contained in the device descriptor from an USB device. I tried to read the data via the MAX Interactive Control Panel using the 'viUsbControlIn' Tab with the parameters: bmRequestType = 0x80, bRequest = 6 (get descriptor), wValue = 0x0100 (device descriptor), wIndex = 0, wLength = 18. Doing so the Computer crashes (It gets a RESET !!!!). Trying to read viewer data (14 bytes) MAX doesn't respond any more. I am using NI-VISA3.5 , MAX 4.0.2.3002. Now is there any idea how to read the bcdDevice value a different way ?
 
Regards 
0 Kudos
Message 1 of 2
(3,746 Views)
Hi,

perhaps the following two links give a solution for your problem:
USB RAW Control Communication in LabVIEW
Beyond Logic

To get more information about the reason for the crash, set the following changes in Settings - Control Panel - System - Advanced




Regards,
ThSa

Message Edited by ThSa on 04-24-2006 04:10 PM

0 Kudos
Message 2 of 2
(3,700 Views)