How to read Serial Data from Arduino using labview VISA?

Hi =). Im a beginner working reading serial data from an arduino but im facing... Lets do this step by step

I constructed a voltage divider circuit that gives an output ranging from 0 to 5V. The output of this circuit is sent to an analog input pin 0 of an Arduino Duemilanove board.

1) Firstly I plugged in the cable connecting my laptop USB to the arduino board.

2) I went to start->control panel->system->hardware->device manager. Check out Ports(COM & LPT). In my laptop I can see USB Serial Port (COM4). Now I know in Labview I have to read serial data from COM 4.

3) For the arduino side, here is the code to read voltage variations inputted to analog pin 0. The last line 'delay' determines the sampling rate of how we want to sample the voltage divider output:

I have slightly modified the basic serial read write VI.. I have attached the block diagram used with comments. Basically I tried to read serial data, divide by 1023 and multiply by 5 in order to graph voltage variations from the voltage divider circuit. However Im not getting the correct voltage output values . The voltage value just keeps going to 0 and coming again as shown in the pic.

Arduino Uno

Sorry for the interruption.. Im new to this forum and I thought my question may be helpful under this topic.

Regarding in whether arduino Uno can be used with labview, The Uno differs from all preceding boards in that it does not use the FTDI USB-to-serial driver chip. Instead, it features the Atmega8U2 programmed as a USB-to-serial converter.

The.author did mention that we do not need to install an FTDI driver to our PC if we are using an Uno. The other steps the author has mentioned to in order to communicate between labview and arduino are similar to Dueminalove and other boards.

I simply need to know if someone succeeded in using Arduino Uno with LabVIEW. Being the owner of an Arduino Uno, i need to know this in order to understand if i have to replace it with an Arduino Duemilanove.