From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

viUsbControlIn/Out parameters

Hi:
 
I have write a program in CVI/Labwindows for talk with a pendrive connected in a usb port in my computer. I can read a lot of parameters with the function viGetAttribute and the correponding attribute like VI_ATTR_USB_NUM_PIPES for obtain the number of pipes availables.
My problem is that I don't know what are the parameters that use the function viUsbControlIn. In the "Recall Function Panel" there isn't a full explanation of this. The parameters that I don't know are:
 
bmRequestType
bRequestType
wValue
wIndex
 
Sorry for my english and thank you.
0 Kudos
Message 1 of 2
(3,254 Views)

You can find more info about these parameters in the USB Specification, and the following links could help as well:

http://www.beyondlogic.org/usbnutshell/usb5.htm

http://zone.ni.com/devzone/cda/epd/p/id/3635

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