paulneal Posted March 9, 2010 Share Posted March 9, 2010 Hi, Is it possible to graph using persist data? Paul. Link to comment Share on other sites More sharing options...
AzeoTech Posted March 10, 2010 Share Posted March 10, 2010 Certainly. But to access any persist data you MUST subset. Doing just MyChannel will only give you the history. The easiest way to do this is to use the CurrentScaleFrom/ScaleTo variables of the graph: MyChannel[bottomAxis.CurrentScaleFrom,BottomAxis.CurrentScaleTo] These variables contain the current X axis scaling, so by using them, you are only retrieving from Persist the data points needed for the graph. The reason you have to subset persist is to keep you from accidentally loading a huge persist (and persist files can hold millions of data points) into memory when you really only needed 100 points. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.