Graphing Logged Data?


tfeni52355

Recommended Posts

There are several ways.  The easy way is to set the Persist amount for the desired channels big enough to cover the time range you want.  Then graphing the data is as simple as subsetting that channel in the graph expression:

 

myChannel[CurrentScaleFrom, CurrentScaleTo]

 

then as you zoom around the graph, the data will be loaded from the persist files (binary files created with the channel) instead of using just the history in memory.

If you want to load from a logged file like a CSV file then you can use the file. functions, specifically file.open, file.readDelim, and file.close to open, read and close the file.  The result goes in a variable which you can then plot.  Its not completely automatic like persist files, but you do have a lot of flexibility.  

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.