LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

USB interface VISA RAW comunication with a HID device

Hello,

 

Well I'm with same problem. I've made the .INF file and when I try comunicate with LV or MAX, this error BFFF003A appear... 😞

 

It's curious because on the IDE that I do the program to uC there is a tool that communicate with hardware normally. In fact, that tool just communicate when I don`t use the .INF file create by MAX and yes when I use the HID Driver Windows default.

 

MAX recognize the device, but when I try send and receive Bytes the error comes.

 

Please Help...

 

Angelo 

0 Kudos
Message 11 of 14
(2,177 Views)

Hello

  I am using NI USB VISA to communicate with segger USB device .HID Generic RAW USB detected in NI MAX.while Reading i am getting an error  "(Hex 0xBFFF003A) unable to start operation because setup is invalid due to attributes being set to an inconsistant state.pls help me to sort out this error.error screen shots are attached.

Download All
0 Kudos
Message 12 of 14
(1,134 Views)

hello,

 

Is your problem solved? I encountered the same problem, you can share the solution?

0 Kudos
Message 13 of 14
(1,071 Views)

sk@123 wrote:

Hello

  I am using NI USB VISA to communicate with segger USB device .HID Generic RAW USB detected in NI MAX.while Reading i am getting an error  "(Hex 0xBFFF003A) unable to start operation because setup is invalid due to attributes being set to an inconsistant state.pls help me to sort out this error.error screen shots are attached.


Why would you expect a ControlIn request with data length 0 to be a valid request?

 

bRequest = 0 on the ControlIn pipe 0 is the standard USB GET_STATUS request. It has a wIndex of 0 and a wValue of 0, but a wLength of 2 and returns an int16 value in Little Endian format. Requesting NULL bytes is generally speaking not very helpful, although there are some device endpoints in proprietary USB protocols that expect a 0 length write as a sort trigger. For the GET_STATUS control request it makes however absolutely no sense.

Rolf Kalbermatter
My Blog
0 Kudos
Message 14 of 14
(160 Views)