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: 

Clearing Charts and Graphs Programmatically

I must be overlooking something simple because it seems that clearing charts
programmatically would be such a common thing, but where then is the
attribute to do this?
0 Kudos
Message 1 of 3
(3,531 Views)
> I must be overlooking something simple because it seems that clearing charts
> programmatically would be such a common thing, but where then is the
> attribute to do this?

To clear a graph, write and empty plot (empty array) to its terminal or
a local
variable. To clear a chart, write it to the charts History attribute.

Greg McKaskle
0 Kudos
Message 2 of 3
(3,531 Views)
Simple indeed. Thanks Greg.

"Greg McKaskle" wrote in message
news:391D630A.6F04E48F@austin.rr.com...
> > I must be overlooking something simple because it seems that clearing
charts
> > programmatically would be such a common thing, but where then is the
> > attribute to do this?
>
> To clear a graph, write and empty plot (empty array) to its terminal or
> a local
> variable. To clear a chart, write it to the charts History attribute.
>
> Greg McKaskle
0 Kudos
Message 3 of 3
(3,531 Views)