Advertisement

Command to generate percent report

Discussions about chromatography data systems, LIMS, controllers, computer issues and related topics.

5 posts Page 1 of 1
Currently creating a very basic macro to reduce some keystrokes in chemstation.

Here's what I have so far:
chromatogr 14.087:19.246,234,235,237,239

integrate

draw 2
Like I said. Very basic. I started reading up on macros yesterday.

My normal routine would be to extract ions, integrate, then generate a percent report for peak height and corrected area for each m/z.

When I use the PCTRPTOPT with no parameters specified, it fails to generate a report.

I know that I'm extracting and integrating correctly because it shows up with my draw command... but I can't even manually generate a percent report after that. The report is empty.

Does anyone have any suggestions or advice?

Thanks!
Start the logging feature to a file, and do what you usually do manually,
after you create the report, stop the logging.

Examine the log file and pick out the necessary commands.
Thank you. That was what I needed.

Follow up question if you don't mind....

Now that I have my macro sequence in working order, I've coupled it with NextSample.mac.

I would love for my macro to run for the first sample, load the next, and then loop the entire macro until it can't find a new file in that directory.

I'm playing around with WHILE ENDWHILE and IF operators, but haven't found an appropriate command to start the macro from the beggining. Any suggestion there? Thanks again.
Hi,
I strongly recommend not to alter any manufacturer macros, as 1) it invalidates the software installation and 2) supporting the macro becomes far more difficult.

I recommend that since you have a functioning macro, and you want to do batch processing, that you utilise the functionality offered under the menu items
Tools ->Dolist

and select Macro, edit the command line to execute your macro , and click "Add", you can remove the other process if you don't need them.

This will execute your macro from the beginning each time, on all the files that you select in the next windows.

I also suggest that you pause the printer, until you gain familiarity with the interface, so that paper isn't wasted.
Thanks for the help.

I have not edited any existing macros. If I needed to alter the function of an existing macro, I assume copying the macro code to a new, differently named macro, would be just fine. Correct?

Thanks again. It is very much appreciated.
5 posts Page 1 of 1

Who is online

In total there are 20 users online :: 0 registered, 0 hidden and 20 guests (based on users active over the past 5 minutes)
Most users ever online was 4374 on Fri Oct 03, 2025 12:41 am

Users browsing this forum: No registered users and 20 guests

Latest Blog Posts from Separation Science

Separation Science offers free learning from the experts covering methods, applications, webinars, eSeminars, videos, tutorials for users of liquid chromatography, gas chromatography, mass spectrometry, sample preparation and related analytical techniques.

Subscribe to our eNewsletter with daily, weekly or monthly updates: Food & Beverage, Environmental, (Bio)Pharmaceutical, Bioclinical, Liquid Chromatography, Gas Chromatography and Mass Spectrometry.

Liquid Chromatography

Gas Chromatography

Mass Spectrometry