06-16-2009 08:16 PM
Hi,
I am trying to interface to a proprietary USB device which communicates via bulk transfers on endpoint 4 for transmissions and 83 for receptions. I am able to create an .inf file for the device properly and get it to show up in MAX OK. By default the endpoints come up as 2 for the bulk-out pipe and 81 for the bulk-in pipe. When I try to change these either in MAX or in a .vi using the USB Raw Bulk Out property node I get error 0xBFFF003A - VISA: (Hex 0xBFFF003A) Unable to start operation because setup is invalid (due to attributes being set to an inconsistent state). I seem to be able to send out properly on the default endpoint but I get this error any time I try to change to endpoint 4. Anyone have any ideas as to why I cannot change endpoints through VISA? I can talk to this USB device properly from an embedded USB host application platform so I don't see why I can't through VISA.
Thanks,
Steffan
06-17-2009 04:52 AM
06-17-2009 10:21 AM
muks wrote:did u see this.
This doesn't really help as this refers to serial port configuration. However, the error is probably a general VISA error. Also, I have another Windows app that can talk to this device over these enpoints just fine so it has nothing to do with a Windows limitation, it is VISA.
06-17-2009 03:47 PM
Hello,
Try using the USB RAW-Bulk.vi provided with the example finder and add the property node to the open session case. I noticed there is no VISA open in the picture you attached as well; you may need to add this.-Matt
06-17-2009 04:17 PM
Matt W. wrote:Hello,
Try using the USB RAW-Bulk.vi provided with the example finder and add the property node to the open session case. I noticed there is no VISA open in the picture you attached as well; you may need to add this.-Matt
Matt,
Thanks for the reply. I think the open wasn't necessary since I was using the VISA Test Panel but, in any case, it should have been in there for correctness. I added it but it did not make a difference. It give me the same error in VISA Test Panel anyways. Also, I do not have USB RAW-Bulk.vi in my examples (I am running with 8.0, maybe it was added in later versions). Could you post it?
Thanks,
Steffan
02-25-2010 03:03 PM
Hi
I have same problem with my usb device (error 0xBFFF003A ).
I'm using labview 8.6 with visa 3.4.
Can visa 3.4 be the case?
thanks.
02-26-2010 04:22 PM
04-23-2012 06:48 AM
Hi Matt,
In the Labview example USB RAW-BULK.vi.After opening the session.How to change the property node??which are the property nodes??I can see only BULK OUT and BULK IN.Iam using a pendrive as my USB device........Help
04-23-2012 08:06 AM
@danil33 wrote:
Hi Matt,
In the Labview example USB RAW-BULK.vi.After opening the session.How to change the property node??which are the property nodes??I can see only BULK OUT and BULK IN.Iam using a pendrive as my USB device........Help
STOP creating multiple posts for your question!
http://forums.ni.com/t5/LabVIEW/Requirements-to-read-from-a-USB-port/td-p/1959445
You've created something like 8 posts on this same question!!!!
09-17-2012 07:13 AM
Did anyone come to a solution for this problem? Very similar to the reported problem I can create a NI VISA driver to talk to my USB HDI compliant proprietary device, then using the test panel of the MAX explorer I am able to send commands, but NOT receive them. The problem is apparently the configuration of the IN pipes, which I cannot change in the test panel dialog, receiving the same error message as reported.
thanks all.
Sergi