Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: Communication between Lab view and Controller via USB

603 views
Skip to first unread message

USB communication between C8051F320 and Lab view--error 1073807302

unread,
Jan 31, 2007, 1:10:07 AM1/31/07
to
Thanks for the suggestion. I am able to create NI -VISA USB Device using the wizard and i am able to communicate with the device but i have a problem. I can transmit data from the host (PC) to the device but when i try to receive from the device i get an error .The error is as follows:
 
Error -1073807302 occurred at VISA Read in USBRawBulkMain.vi
Possible reason(s):
VISA:  (Hex 0xBFFF003A) Unable to start operation because setup is invalid (due to attributes being set to an inconsistent state).
 
I am using the example VI. The link&nbsp;from where i downloaded is as follows: <a href="http://zone.ni.com/devzone/cda/epd/p/id/3622" target="_blank">http://zone.ni.com/devzone/cda/epd/p/id/3622</a>

Dennis Knutson

unread,
Jan 31, 2007, 9:40:11 AM1/31/07
to
My devices show up as NI-VISA USB but I'm not sure if that makes a difference and I'm not using USB RAW either. One thing that you can run is a VISA Property node like below and see what it reports. Also, what version of VISA are you using? If you are not using 4.0, you can download it from <a href="http://digital.ni.com/softlib.nsf/webcategories/85256410006C055586256BBB002C0E91?opendocument&amp;node=132060_US" target="_blank">http://digital.ni.com/softlib.nsf/webcategories/85256410006C055586256BBB002C0E91?opendocument&amp;node=132060_US</a>.
<img src="http://forums.ni.com/attachments/ni/170/227096/1/USB%20RAW%20Property.PNG"> Message Edited by Dennis Knutson on 01-31-2007 07:29 AM


USB RAW Property.PNG:
http://forums.ni.com/attachments/ni/170/227096/1/USB RAW Property.PNG

USB communication between C8051F320 and Lab view--error 1073807302

unread,
Feb 1, 2007, 12:40:11 AM2/1/07
to
Thanks for the reply. I&nbsp;am using NI-VISA 3.4 so i have downloaded V4.0.
In V3.4 i am not able to set the bulk out pipe and bulk&nbsp;in pipe according to my requirements how do i do it. I tried using the property node&nbsp;to set the above properties. I also tried to set them using MAX -&gt;Devices and interfaces -&gt;&nbsp;USB drivers -&gt;right click-&gt;&nbsp;open VISA test&nbsp;panel.&nbsp;i get the same error for both (-1073807302).
&nbsp;
0 new messages