05-30-2012 08:03 PM
Hi,
I am having trouble with the USB port on my sbRIO9606.
MAX is reporting that the Control Pipe is in error & I am unable to set it to any other value that what it currently is.
I am not sure how to fix this or even what caused the problem as I have been using it effectively to acquire data for some time.
My code is still able to read from the serial port but it does so very very slowly.
Please see attached screen shots of MAX.
Specific VISA attribute errors are:
Control pipe – “VISA: (Hex 0xBFFF001D) The specified attribute is not defined or supported by the referenced resource.”
Bulk Out Pipe Status – “VISA: (Hex 0x3FFF0082) The specified object reference is uninitialized.”
Bulk In Pipe Status – “VISA: (Hex 0x3FFF0082) The specified object reference is uninitialized.”
05-31-2012 06:05 PM
Adam,
Could you upload your visa driver so I can try loading it on one of our systems? You may want to try remaking the device driver and see if it ends up in the same state.
06-04-2012 05:24 AM
The driver is simply a VISA Read VI, I have verified that the device sending the data is working correctly.
06-05-2012 06:06 PM
Adam,
From your images it looks like you have developed a driver using the visa wizard to interface with the sensor over usb. There should be a driver file that you moved to the sbRIO to interface with the USB port over visa. Could you please double check that you haven't used the VISA Driver Wizard to create a driver?
06-06-2012 09:28 AM
Adam,
I was able to replicate it on a PXI system by just installing NI VISA. Sorry I had assumed you made a customer VISA Development Driver. I do see those 3 properties set to invalid. Let me look into them a little more and I will get back to you.
06-06-2012 07:20 PM
Thanks Kyle
06-06-2012 09:21 PM - edited 06-06-2012 09:21 PM
Adam,
Bulk Pipe In and Out are probably not an issue. Depending on the device they either support bulk transfers (array of data) or they don't. These are all queries performed on the device. A keyboard is also considered class 2 (HID) which also doesn't support bulk transfers .
On the other hand the interrupt control pipe should be defined. I'm trying to find out if it is RT that is creating the default driver and if I can overwrite it with a VISA generated one. As the keyboard has a control pipe of 0 when connected to my PC but attached to the RT PXI it shows invalid.
Sorry there isn't a final answer yet but I am getting closer.