hi, people. I'm having some problems with the VISA write module by USB-HID.
I'm been able of receive data from the pic by hid-interrupt, using VISA's particular event, but i cannot send data out (pc-pic); it just get stuck when i asked for it.
i don't know if it is a sync problem between the device and the pc -issue that i have had with USB BULK-, or just bad programming.
particularly i'm using a modified version of the HID MOUSE EXAMPLE SIMPLE, and a pic18f4550.
the structure of the pic firmware is something like this:
if some external event then send data.
then, see if there are some data out pending.
if not, repeat loop.
everything using the same endpoint nº1.
thanks a lot for the help.