12-18-2011 02:02 PM
i am trying to send data from my pic18f4550 programed using flowcode to the pc on labview using the usbrawbulk control example but i am unable to send or recieve the data the error i keep getting is the timeout error
i am using proteus virtual usb simulator and i have generated the .inf driver file from visa driver wizard
1)how can i get the brequest and brequesttype hex values to send and recieve data for the pic18f4550
2)how can i use the labview visa read and write to communicate and fix the current error
and thank you 🙂
12-30-2011 04:24 AM
Hi,
I am not sure I can provide exact infomormation, but I recoomend you to read about here:
- brequest and brequesttype: http://www.beyondlogic.org/usbnutshell/usb6.shtml
You can find examples about LabVIEW USB Raw communication:
- http://zone.ni.com/devzone/cda/tut/p/id/4478
- http://zone.ni.com/devzone/cda/epd/p/id/3637
- http://zone.ni.com/devzone/cda/epd/p/id/3622
- https://decibel.ni.com/content/docs/DOC-2022
- http://zone.ni.com/reference/en-XX/help/371361G-01/lvvisaprop/usb_raw/
I hope you can find useful information there.
Best Regards,