LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

display of spectrum of data on graph

Solved!
Go to solution

Hi,

 

I am sending serial data from Arduino (baud rate 9600) to the Lab view. These data are to be displayed on form of bar graph. Means if i send 10 numbers of data 1,2,3,4,5,6,7,8,9,10 then it will displayed on x-axis position of 1,2,3,4,5,6,7,8,9,10. 

 

Now I am changing values to 10,20,30,40,50,60,70,80,90,100 then it will be updated on x-axis position of 1,2,3,4,5,6,7,8,9,10.

 

I am confused how can I achieve this. Please help me to do this.

 

0 Kudos
Message 1 of 4
(2,606 Views)

bar.png

0 Kudos
Message 2 of 4
(2,600 Views)

Thanks for your prompt reply...

 

can you share .vi to receive data on com port and display on bar chart...

 

0 Kudos
Message 3 of 4
(2,596 Views)
Solution
Accepted by topic author nikhilgujar87

What is your question? how to get data, or how to draw a bar graph?
I answered the second question.
You just need to send the array to the graph. The rest is done in the settings, as in the image.
I do not know how to get the data, because I do not know how you send it.
To work with the com-port you will need VISA. See the examples, everything is simple.

0 Kudos
Message 4 of 4
(2,575 Views)