03-21-2014 06:33 PM
Hi guys;
I'm trying to put together a simple VISA USB read/write program to test communication from Labview to a PIC microcontroller.
I've found an example on youtube and wanted to try to implement it.
Well, in the owners video everything seems to work juste fine, but for me only the writing is working, I can't read data from the microcontroller.
Can anybody explain to me what is going wrong on this ?
Here is a the diagram.
Thank you.
03-22-2014 12:22 AM
03-22-2014 05:49 AM
Because I tested it, and it worked just fine.
03-22-2014 10:24 AM - edited 03-22-2014 10:24 AM
Give this a try.
You don't need to initialize the USB port every iteration of your loop. Nor do you need to close it each time either. Move those out of the loop. I also greatly simplified the conversion of your data to write.