11-13-2007 12:51 AM
I am trying hard with these questions. but i didn't get the solution.
So plz suggest me with solutions .and attach examples if any which may clarify my doubts
11-14-2007 08:24 AM
11-14-2007 11:12 PM
Thanks for your reply.
i have gone through the tutorial. I need few more clarifications.
1. I created DDW for my device and every thing is fine. i.e., in the device manger it is identified as the NI USB device and also it is identified in MAX and VISIAC. Now when i plugged out the device and then plugged in for the second time. Now i find a problem. My device is identified as normal usb device in device manager. Also it does not appear in either MAX or VISIAC. My doubt is whether we need to create DDW each time we plug the device or why is it happened like above . or we need to take any steps when we plug for the repated no. of times.if so what are the steps to be taken.Plz. suggest.
2. Even after going through the USB Raw tutorial and eg ,i am not clear about the bulk and control. Can you give me two situations to work with, differentiating USB Raw Bulk and USB Raw Control because i was struck up here and waiting for a solution My application is to communicate with micro controller from PC through USB ports.(sending and receiving commands etc) .Which of the USB Raw mode will be suitable for this application.
Plz reply soon.
11-15-2007 08:14 PM
11-15-2007 11:09 PM
Thanks for ur replys. They are helping me a lot.
I had the above problem when i tried with pen drive. Now it is solved. I am able to detect it when ever i plug it.
Now i am trying to communicate with my micro controller. After creating and installing th INF file using DDW, when i tried to plug in the device, windows device manager is able to detect the device as NI USB device. that is fine. Now Add New H/w Wizard appears and i followed the instructions and selected the inf file created when it prompted to select for the device driver.
Now the hardware wizard shows as
"Cannot start this hardware
There was a problem installing the hardware
The deivice cannot start(code 10)"
What might be the problem? i have not installed any s/w related to the controller(AT91SAM9263) in the system. I think, in this case it should accept the VISA drivers.Also i didn't find the device in either MAX or VISAIC. Plz suggest a solution
11-19-2007 09:21 AM
11-19-2007 11:19 PM
Thanks for your reply
I tried to communicate with pen drive creating the inf file with DDW. And every thing is fine.It is detected as a NI USB device in Windows Device manager and also detected as a USB Raw device in MAX. But the thing is, i am not able to communicate with the device. I am in a dilema, whether to go for USB RAW Control communication or USB RawBulk communication. (My requirement is send and receive commands just like serial communication). I have seen the tutorials in the Knowledge base.But i didn't get the clear idea. Plz suggest.
The problem that i have posted before is while installing my microcontroller.
11-21-2007 12:43 AM
08-03-2010 03:59 AM
This is Naresh..
I need some help. I am also facing same problem with our custom designed board with AT91SAM9263 ARM 9 Controller.
Controller has been shipped with some example programs for this using USB like "USB to Serial Converter".
I loaded that program and its working fine.
But the thing is that when selecting driver using NI Driver Developement Wizard, its searching and ending with error code 10.
You got any solution?, if anything is there please reply me or mail me to email@example.com
10-16-2011 04:06 AM
May be this VI file will help you. It communicates with AT90USB1287 as Generic HID device using Call Library function node of LabView.
Refer ATMEL's application note "USB PC Drivers Based on Generic HID Class"
You can also use ATUSBHID.DLL file to communicate with C#, VB etc.