ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Annotation on a chart

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

 

Raghunathan
LabVIEW to Automate Hydraulic Test rigs.
0 Kudos
Message 1 of 4
(3,503 Views)

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

Message Edited by Balze on 09-23-2009 07:02 AM
0 Kudos
Message 2 of 4
(3,490 Views)

Hi Raghunathan,

 

See this thread to get an idea about using annotations effectively, although it shows for Digital Graph.

- Partha ( CLD until Oct 2027 🙂 )
Message 3 of 4
(3,463 Views)

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

0 Kudos
Message 4 of 4
(3,462 Views)