08-06-2010 12:47 PM
Hi all,
I am trying to get serial communication with my Arduino board, but I am experiencing some problems. The board is programmed to read serial data to turn LEDs on and off. It does work with the Arduino serial monitor at COM4. But when I try to write similar instructions with Labview using VISA, it seems that I can not use it. I think that I might be a problem with the device. Should it appear in MAX? Because I can not see any devices when I open MAX. Also, using VISA, VISA Resourse Name does not show any device (I was hoping to see something like ASRL::Inst....)
By the way, I am using:
-Arduino duemilanove (FTDI driver version 2.60.00)
-Labview 2009
-Window 7
Sorry if some information is missing, it is my very first time writing to the forum. If someone could give me some help but he/she needs more information, please let me know.
Thank you very much for any kind of help.
Jose
Solved! Go to Solution.
08-06-2010 12:53 PM
The only thing that would appear in MAX is the com port under Devices and Interfaces>Serial and Parallel. When you use one of the examples (i.e Basic Serial Write and Read), what error code do you get?
08-07-2010 01:32 AM
Hi Dennis,
Thank you for your answer. I am posting three images which I hope could give you useful information. The first corresponds to MAX, no COM port/nothing appears. However as you could see in the next image, in Hardware devices there is a port (COM4) available. The final image corresponds to the error provided by Labview Basic serial Read & Write. The message appears as soon as I run the vi, writing in the I/O control COM4.
08-07-2010 09:29 AM
You say you are using VISA, but have you installed it? The error dialog you are getting would be typical for someone who hasn't installed the VISA drivers.
I'd recommended popping in the Drivers DVD again and running that.
08-09-2010 07:13 AM
In fact you were right. I was assuming that VISA was installed, because it was available in the function panel, but it was not installed. It has been quite painfull the installation though. It seems that it did not like the NI Device Drivers DVD in the very begining. After a couple of tries, I have successfully installed NI-VISA. I still do not manage to make the arduino work with the serial instructions, but I could see the TX and RX LEDs in the board blinking so I guess that serial instructions are being sent.
Thank you very much for your help