09-25-2012 05:34 AM
Hi there. I am a newbie in these functions of labview.
I am in need of communicating a USB device via labview. The company provided all the commands that I need to communicate with the device. I only need to send and read through the USB port I guess?
However, when I test with NI MAX, I noticed that I can write but I can not read. Once I ask NI MAX to read anything from the port, it will report timeout error. see attached figure 1.
Also I noticed something skeptical in the attribute option, see figure 2?
Thanks for the help, pretty urgent for me now.
09-25-2012 06:47 AM
09-25-2012 07:25 AM
Hi Dennis:
you helped a lot. After I changed <CR> to \r, at least I got the correct return in NI MAX. However, the timeout error still exists.
Also I tried to use basic serial read and write to perform reading and writing, it will also report error.
see the attachemnet
09-25-2012 07:30 AM
hmm, problem solved. Thanks Dennis. I think I just didnt pay too much attention to the baud rate data bits and these parameters. Now it is solved by using the default ones.