12-10-2013 07:35 AM
Hi all, I´m trying to get a communication between Labview and my evaluation board from Analog Devices AD5933 for impedance measurement through USB port. I installed the VISA driver and did all procedure suggested in manual to make my board recognized. I think I had success on it because VISA Interactive Control is able to find and open the resource.
However, unfortunetely I can´t make any write or reading from board but the it´s possible with the driver from windows7.
When I open Measurement & Automation Explorer I can see my my resource installed and inside VISA test panel the usb setting are:
Control Pipe:
Default (0)
Bulk In Pipe:
No pipe
Bulk Out Pipe:
No pipe
In View Attributes I have the following:
Bulk Out Pipe Status ... Invalid Property Value
Bulk In Pipe Status ... Invalid Property Value
Interrupt In Pipe Status ... Invalid Property Value
When I try to wrtie somethig I get:
Unable to start operation because setup is invalid ....
Did anyone face such kind of problem? Is it an USB access problem or impossibility to make connection to the board with this driver from NI?
Thank you!
12-10-2013 08:51 AM
What driver and manual are you talking about. There are no drivers from NI for this.
12-10-2013 10:09 AM
Hi, thanks for your reply.
In fact, It´s not a specific driver from NI to this evaluation board.
I have the board (EVAL - AD5933) plugged in USB and I wanna send some byte to it through USB. After that I´ll do some HMI in Labview.
Then, I used NI VISA driver to recognize my board plugged in USB port in order to send those commads. I´m probably ingeneous of thinking that it is possible. The problems I have now were mentioned before.
egards,
12-10-2013 10:13 AM
The use of the VISA wizard was probably your first mistake. Why did you use it? Did not the evaluation board come with a USB driver? See if it did and if it creates a virtual com port. Then undo everything you did with the wizard.
12-10-2013 10:43 AM
Hi again. I saw some examples using Ni wizard to usb raw communication. That´s the reason I tried. But it´s not working for me.
As you mentioned, I have a software from the Anlog Devices to make communication with the board but I wanna do another HMI using Labview to integrate with my other system.
The driver was installed automaticaly by windows and the board works fine.
Looking at device manager I couldn´t find any virtual COM port. I´m attaching what I have in my system with the board plugged. Can you help me?
Thanks again!
12-10-2013 10:48 AM
There is no attachment. Look in device manager to see what driver the USB is actually using.
12-10-2013 10:57 AM
Hi, sorry about the attachment.
It´s available now. Thank you for your support!
12-10-2013 11:04 AM
A google search brought up this. It looks like it uses a dll provided by AD.
12-10-2013 12:00 PM
I´ve already read something about that. Do you think I have to work with the Labview " Call Library Function Node" . That´s the only way in you point of view?
Thanks for all.
Regards
12-10-2013 12:11 PM
I think that would be the best way. In order to use the VISA wizard, you would need to get the very low details on the USB protocol. It may be doable but I'm not sure. It would not be easy, in my opinion.