knikola Posted November 7, 2011 Share Posted November 7, 2011 I create a graph with realtime data without problems. But I want to create another graph using historic data stored in my .csv logging file. Can I do this with DAQFactory Standard? Link to comment Share on other sites More sharing options...
AzeoTech Posted November 8, 2011 Share Posted November 8, 2011 Use the file.open() function to open the file, then file.readDelim() to parse the contents. Put the results in variables and then graph the variables. You actually can just put it in one variable, since readDelim() with -1 for the index will create a single variable with several columns. 2 things: 1) if you log your data in Excel time, you are going to have to convert the time back to DAQFactory time. Consider logging without Excel time checked in your logging set unless you are going to use Excel as well 2) its easier to use Channel Persist to store long term historical data for trending. You'll still want to log to .csv files for archiving, but Persist files are pretty much transparent to deal with Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.