09-23-2009 06:15 AM
I am using LV 2009 for a machinhe control code development. ( WIN-XP platform )
I am plotting a pressure value over a period of 20 minutes in a waveform chart. There are about 5 different machine sequences in the 20 minutes. What I want to do is to put a vertical line on the chart programatically to mark the end of each sequence. ( in other words annotate the cahrt)
Looks like I am on a weak terrain as the chart has no native annotating feature, unlike the graph. I have read the KB and found one VI that can use the graph as a chart - would that be a (only ) solution ??
Looking for some hints.
Thanks
09-23-2009 06:55 AM - edited 09-23-2009 07:02 AM
Raghunathan,
i did not work with LV2009 yet, but i guess there's no (large) difference to LV8.51 regarding charts and graphs.
I would recommend the use of an XY-Graph instead of a waveform chart or waveform graph.
With an XY-Graph you are able to generate your Annotations the way you want to.
And there is no limitation like with the cursors in a waveform graph.
(You have to add cursors prior to using them. Ypu cant add them dinamically!)
Have a look at the attachment for an example (LV8.51)
Balze
09-23-2009 11:35 PM
Hi Raghunathan,
See this thread to get an idea about using annotations effectively, although it shows for Digital Graph.
09-23-2009 11:35 PM
Hi Raghunathan,
Even I think XY-Graph will be the solution to your problem. You can create annotations in an XY-Graph and you also dont need an array input.
Regards,
Shivam