Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 69178

VISA communication with PIC32MX470 USB RAW , HID device

$
0
0

Dear all,

 

it's been a while I am struggling with this topic, so please help me.

 

I want to communicate with a device using VISA. The device has a PIC32MX470. I used the NI VISA wizard to create the .inf file and succesfully installed it. the device is recognized by NI MAX. In the properties, I see that there is no BULK IN pipe, so when I try the basic VISA write and VISA read, I am able to succesfully write to the device but I cannot read using the VISA READ as there is no bulk in pipe (please see screenshots).

 

I see the solution in this topic :

https://forums.ni.com/t5/Instrument-Control-GPIB-Serial/VISA-RAW-FOR-USB-USING-PIC18F4550/m-p/3677211#M75469

 

but the engineer who wrote the firmware code for our device says that this solution is not working for us. 

I am wondering if I can only use the USB Interrupt function to read since the BULK IN pipe is not enabled to this kind of PIC, or if it is just  a firmware problem in the uc not detected and the above post is the right solution... If I have to use the interrupt, using the LV example, I receive a timeout error... 

 

Please help me to solve this topic... 


Viewing all articles
Browse latest Browse all 69178

Trending Articles