kev_hib Posted April 25, 2004 Report Posted April 25, 2004 Hi everyone. I'm currently working on a project in Labview involving a custom made USB device using a PIC 16C765. I have installed the USB device with NI-VISA as the driver, and am able to communicate with the device via Measurement&Explorer tool. The problem is that I am unable to get the interrupt data from the device to Labview. The status for the interrupt pipe is -1, wich indicates that ther are no endpoints open for this communication. This can't be right since the device is set up with Endpoint 1 for IN/OUT interrupt transfers... Do I need to "activate" this endpoint from Labview? Any tips? Quote
kev_hib Posted April 26, 2004 Author Report Posted April 26, 2004 Hi everyone. I'm still working on a custom USB device with Labview.. Seems impossible to find the answers I' seeking... The real question is: Is there a bug with VISA 3.0.1 concerning the USB_INTERRUPT ATTR.? I'm able to choose BULK endpoint, but when I program my controller to use interrupt transfer, the attribute says -1 Kevin. Quote
kev_hib Posted April 27, 2004 Author Report Posted April 27, 2004 Hi again. Today NI released VISA3.1 which had the answers to my problems.. these were bugs now fixed:) The problem now is that Labview can't use the Get_interrupt_data vi.. Using VISAIC I can enable the interrupt and read the transferred data as an attribute.. This attribute is not a part of Labviews property node, called VI_RECIVED_INT_DATA and contains the actual data recieved. My guess was that I should use the Get_interrupt_data vi, but then I get the error: "the specified attribute is not supported" any hints? Quote
bocanada Posted November 5, 2004 Report Posted November 5, 2004 Hi, I have the same problem whit VISA 3.0, but a can not download de actualization because the NI server doesn't respond. What can I do? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.