05-09-2012 05:02 AM
Hi,
I have been searching for quite a time but cudnt find a solution. I have shown an array on the graph. Now I want to show the numeric values of the
array points on the graph so that I dont have to always use a curser to know the XY co-ordinates while moving across the graph. How can I do that?
While searching on the forum I found , it can be done with waveform chart. Can we do it with graph as well? In Microsoft excel, option is there for this.
Thanx.
Solved! Go to Solution.
05-09-2012 05:38 AM
You can do that with the XY graph also but not the same method. Since XY graph is an array of cluster you can pass that into a for loop (or index a single element) and display the value near the graph. If you are OK to use the Chart then you can directly use the Digital dispaly option,
Good luck
05-09-2012 05:55 AM
@ P Anand
Thanks a lot for the response.
" You can do that with the XY graph also but not the same method. Since XY graph is an array of cluster you can pass that into a for loop (or index a single element) and display the value near the graph. "
Thats what, I dont know how to show it on graph. Like using digital display option for chart, how can I show values on graph. Please suggest.
05-09-2012 06:01 AM - edited 05-09-2012 06:04 AM
Did you try doing the things what I showed you in the Image?. If you need a better solution attach your vi where you want to display the digital data. Check the vi for an example.
05-09-2012 06:33 AM
05-09-2012 07:05 AM
@P Anand
I uderstood sir,
Please have a look on attached image (front panel of my VI). I have edited it in paint. I want something like this. I want X-axis values shown on the graph.
As shown in the image, Numerical values of blue colour graph (i.e. peak position of the yellow graph ) is directly shown over it. Please let me know if I am still not clear.
Thanx.
05-09-2012 07:14 AM
@ Thronic
Thanx for the insight. It seems to make sense. I will try it. In case I am not able to do, could you please give it a try. ?
05-09-2012 07:37 AM - edited 05-09-2012 07:38 AM
05-11-2012 03:24 AM
@Thronic
Thanks a lot but I am not able to open the VI as I have Labview 8.6 with me. The file you uploded is of later version. Can you please upload 8.6 compatible file. Also, can we feed data to the annotation so if, as mentioned in the PIC uploaded by you, peak position changes annotation position also changes on its own.
05-11-2012 04:01 AM