juxtapose1988 Posted September 9, 2010 Share Posted September 9, 2010 As part of a school project, we left DAQFactory running over the weekend to obtain some data. We came back today and found the data had been collected, but are unable to obtain it. We did not know about logging before starting the data collection, since we are basically using the program as a quick fix. The data we need is stored in a channel (which is currently still running), along with some of it in a virtual channel. Is there any way to output this data into a .csv file, or something similar so we can use it for other purposes? Thanks Link to comment Share on other sites More sharing options...
AzeoTech Posted September 9, 2010 Share Posted September 9, 2010 First, since the data is only in memory right now, go File->save with Data and save to a new file name. This will save your document and all the data just in case you mess something up. Then you can simply create an export set, listing each of your channels, and then run the export set. Don't use [0] notation in the export set as we often recommend, as this would only log the most recent value (which is the most common use of export sets). Instead, just list the channels, and it will export the entire history, which is actually what export sets were originally intended for, but rarely used for. Link to comment Share on other sites More sharing options...
echoi Posted June 13, 2012 Share Posted June 13, 2012 "Then you can simply create an export set, listing each of your channels, and then run the export set. " I can't populate v channel data in export set or log file - only sees real channels. how can I export my virtual channel data? Link to comment Share on other sites More sharing options...
AzeoTech Posted June 14, 2012 Share Posted June 14, 2012 Correct, somewhat. Logging sets only work with real channels. Export sets, however, work with V channels as well. If you want to use a logging set, consider putting data into regular channels instead of using V channels. Just create a Test channel with TIming = 0, and use .addValue() to stick data into it. So, if you had: V.myChannel = 3 put instead myChannel.addValue(3) where myChannel is a regular channel you created. Note that in both cases of Export set and Logging set, data is aligned by the time stamp. Link to comment Share on other sites More sharing options...
echoi Posted June 14, 2012 Share Posted June 14, 2012 "Export sets, however, work with V channels as well." How so? it won't populate or recognize v channels in export set properties. Link to comment Share on other sites More sharing options...
AzeoTech Posted June 18, 2012 Share Posted June 18, 2012 Export sets take expressions and as such can take any valid expression. For example: V.myChannel Logging sets, however, only list channels and only really support them. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.