Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Bad USB driver or no interrupt channel?

Your device seems to have a CONTROL Endpoint at address 0x80 which is weird.  0x80 is normally the first INTERRUPT endpoint.

 

Could this be the cause of the confusion?

0 Kudos
Message 21 of 26
(1,771 Views)

Intaris, 

That's certainly a revelation. I'm still working my way through the USB manual and it would have taken me some time before I could have figured that out for myself. 

I knew the device had issues in terms of USB before going in but I'm resolved to see it through. Might go through your thread on USB with a different device that behaves so I can learn more before returning to this. In the meantime, do you have any thoughts on how to get around this so I could try the interrupt vi? Is it possible this device doesn't have interrupts? This stuff is quite a bit over my head for now. 

Thanks again, 
Yusif Nurizade

0 Kudos
Message 22 of 26
(1,757 Views)

Have a look at the configuration descriptor and see if there's an Interrupt endpoint in there somewhere.  If so, you can set the Endpoint to use for Comms via VISA (I think it's Interrupt Pipe or something).  Set this to the address of the endpoint you want to communicate with.

 

Interrupt defaults to 0x80 as address but this in this device's case seems to be a CONTROL endpoint which to me seems to contradict the USB spec.

 

Shane

0 Kudos
Message 23 of 26
(1,746 Views)

Intaris,

Thanks for the input. I'll be sure to try your reccomendation.

I knew this device was tricky going in and have realized throughout this thread that it is more complicated than I anticipated. I think I'll benefit from going through your tutorial thread with a simpler device (USB mouse?) and reading further in the manual before coming back to this. I still intend on trying your suggestion but it's becoming clear to me this is not the device to learn on. Could you recommend any sources besides your thread and the manual that could help in learning how USB works?

Thanks for all the help,
Yusif Nurizade

0 Kudos
Message 24 of 26
(1,730 Views)

As hard as it is to read, there's nothing to beat the official USB Spec.  I can only claim to be inany way shape or form familiar with Chapter 9 but it is required reading if you want to start dabbling.  Just make sure you take breaky from reading it at regular intervals.  Otherwise it'll give you headaches.

0 Kudos
Message 25 of 26
(1,724 Views)

@Intaris wrote:

 Otherwise it'll give you headaches.


Already there. But you're right, even reading the preliminary chapters, I've come on nuggets that shed light on what I was doing wrong in a big way. I guess I'll keep plugging away at it.

Thanks again,
Yusif Nurizade

0 Kudos
Message 26 of 26
(1,692 Views)