Hello, friends!

I've been working on a simple macro that - guess what! - is trying to loop though all the *.d files for a given folder, load the signal, integrate, identify, quantify and write to CSV;

As we know, the macro guide is not really complete, but I was able to put together what I needed looking at other macros and I have to admit I am starting to enjoy this programming language. It makes me feel very old school.

All I know about ChemStation and Chromatography I've learned passively from the operation at the lab.

The goal we have in mind is to automate the flow of results into our Cannabis LIMS

Now, I would not know where to stand on manual versus auto integration, but I am doing what I am told and I need to export areas that have been manually integrated.

I've searched this forum, the manual, other macros, but I don't seem to find or see the answer I need.

This is the incriminated piece of code, straight out of the macro guide.

Code: Select all

    DelReg SignalReg
    File signalFullFileName$
    LoadSignal ,"A",, SignalReg

    IntegrateObj SignalReg
    IdentifyPeaks SignalReg,, _DAMethod[1], ChromRes[1]
    ! Do quantification using the calibration table in _DAMethod register
    QuantifyPeaks ChromRes[1], _DAMethod
Is the problem _DAMethod[1] ?

I tend to believe that IntegrateObj or IdentifyPeaks or QuantifyPeaks could be supplied with a different parameter to achieve the desired result, for this I call myself mr. obvious !

Any help would be very appreciated and paid back in programming favors :)

EDIT:
I am now under the impression that this feature should have been solved with a batch...