06-20-2018 06:17 AM
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.
Solved! Go to Solution.
06-20-2018 06:31 AM
06-20-2018 06:35 AM
Thanks for your prompt reply...
can you share .vi to receive data on com port and display on bar chart...
06-20-2018 07:02 AM
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.