LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

USB Bulk read

I have problem with USB Bulk read form the USB Device .I have the Driver installed for the device which has the .sys in the driver directory . created the code for bulk reading /writing operation from the device . the code interact with .sys(driver ) which in turn interact with kernal mode driver . I have bulk wirte working but read is not happening . Pl find the attachment for the code .The sequence of running is as following . Using Teststand for calling the function . Pl help in resolving this issue
0 Kudos
Message 1 of 2
(2,901 Views)
Hi,

Without the device, the driver or the documentation is very hard to spott what the problem is. My first question is what type of error do you get? is it a compiler a linker or a run-time error?

You also need to make sure that you are allocating the memory correctly. Some drivers expect you to provide the memory for storing the results froma read, other expectyou to call a function that will allocate the buffers previous to read.

I hope this helps

Regards,

Juan Carlos
N.I.
0 Kudos
Message 2 of 2
(2,901 Views)