Help with ChemStation Macro
Posted: Fri Jul 24, 2015 7:42 pm
I'm having some trouble deciphering the log for ChemStation macros.
I 'wrote' a rudimentary 'customtool' that I pieced together, and worked nicely, but now I need to go through and recalculate (based on a touched-up method) every sample (>1000 samples) for export again.
I've pieced what I needed, looking at the log for Macro Recording, but don't see as clear a 'timeline' for when I go to the Quantitate>Calculate menu option. I'm assuming that I need to pass something to "quantbeg.mac" (or set a variable?).
As soon as I get it into the .D folder structure, I have an Excel macro that collects all the MSReps into one file, and another macro that parses out all of the data into a nice table format that I can import into any statistical software.
I just need some help getting on track to try to see how much code needs to be put into the above loop.
Thanks much!
I 'wrote' a rudimentary 'customtool' that I pieced together, and worked nicely, but now I need to go through and recalculate (based on a touched-up method) every sample (>1000 samples) for export again.
Code: Select all
found = 1 !found = 0 when Next.mac doesn't have a next file
While found = 1
TB2INTEGRATE !Integrate the current
AO_XLSReps `XLSQres.mac'!Turn the data into a spreadsheet, quantitatively
Next.mac !Go to the next file in the folder, also NextFile.mac could be used
endWhile
As soon as I get it into the .D folder structure, I have an Excel macro that collects all the MSReps into one file, and another macro that parses out all of the data into a nice table format that I can import into any statistical software.
I just need some help getting on track to try to see how much code needs to be put into the above loop.
Thanks much!