10-21-2015 11:00 AM
I am using a chart to display some signals I am acquiring, and I am logging the data simultaneously to disk.
When the VI starts I would like to read the latest log file and populate the chart with the contents.
Is there any way to do this? I have tried setting the History property, and the chart does draw the data but it is not "really there" ie. when the chart scale is resized that data goes away, and also the chart starts drawing the new acquired data on top of the history data.
10-21-2015 11:03 AM
Just to clarify -- I am trying to "restore" the state of the chart in the event of the monitoring VI being shut down. Just asking if there is another way other than using a graph instead of a chart.
10-21-2015 11:05 AM - edited 10-21-2015 11:11 AM
You should be able to restore the history just fine... this snippet I made works this way. The history is set and then new data is added in and it follows the history.
Cheers
--------, Unofficial Forum Rules and Guidelines ,--------
'--- >The shortest distance between two nodes is a straight wire> ---'