jeremypmeyers / Igor-Battery-Analysis

Set of procedures for battery data analysis using Igor Pro
0 stars 0 forks source link

Multiple load formats #1

Open jeremypmeyers opened 8 years ago

jeremypmeyers commented 8 years ago

Need to ensure that we can manage loading of multiple file formats. This requires an ability to load data of different types via multiple calls of LoadBatData(), and the ability to differentiate between the different load formats when doing analysis after the load is complete. This is particularly challenging when the different formats have different step ID's for the same sequence in the overall program.

jeremypmeyers commented 8 years ago

Have created a loadcount global variable in the root directory, indicating the number of unique load types that have been performed.

Need to add loadtype global variable in each battery folder, indicating which load it was performed on.

Add optional parameter in firstpopulatedfolder, executeallbatteries to execute on just those batteries?

How to keep track of different load steps? Wave in root folder?

jeremypmeyers commented 8 years ago

Changed firstpopulatedfolder to gotofirstpopulatedfolder and got rid of the setf optional flag. I figured that anyone who wants to access this function wants to go to that folder anyway. I added an optional 'whichload' variable, which will send the user to the first populated folder matching that particular load #.

Same for executeallbatteries. Now changed to executeallbatteries(commandstring,[whichload])