11-14-2012 03:38 PM - edited 11-14-2012 03:43 PM
I am trying to recreate the example
C:\Program Files (x86)\National Instruments\LabVIEW 2012\examples\general\graphs\Programmatically Annotate a Graph.vi
At least the annotation part, but the annotation does not show up on my graph.
Is there something in this example (like many) that is hidden or not explained in the example?
Solved! Go to Solution.
11-15-2012 10:29 AM - edited 11-15-2012 10:31 AM
Here is the example I am trying to recreate.
Maybe someone can explain how it works?
11-15-2012 01:28 PM - edited 11-15-2012 01:28 PM
Okay so I figured it out myself...
Annotations must be first manually created and saved.
I could not find and property or method to create, add, or remove an annotation automatically.
<RANT>
Why this important detail is not explained in the LV shipping example is beyond me.
This is one of the most infuriating things about the shipping examples. They often leave out important details or use some "magic vi" to make things appear like they want, but these "magic vi"s are poorly documented and not easily reused in a real world instance.
This gennerally makes the shipping examples worthless except to show that LV "can do that".
</RANT>
11-15-2012 02:04 PM
Your problem stems from the use of Replace Array Subset. If the initial Annotation List is empty then replacement fails. You can build the list up from scratch if you like.