Advertisement

How to run a post-run macro

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

4 posts Page 1 of 1
Hi,

I’m working as a trainee and I’m trying to run any post-run macro at the end of the method. The macro should be executed in the Data Analysis Window.
The ChemStation version is MSD ChemStation E.02.01.1177.
I’ve checked the mark on Post-Run Macros/Commands in the Method Information Window and specified path and name of the macro (for example: C:\msdchem\Msexe\test.mac). Seems to me like this doesn’t work at all.
Also I’ve tried to start my macro from the de user.mac by typing in the deuser.mac: macro “test.mac” ,go. The macro gets executed. A simple macro only containing the command FILE opens the File-Window but there is no Ok-Button so I can’t select a data file. So this way seems somehow mistaken too.
Can anyone help me out with this issue and give me a tip on how this works correctly?
I would appreciate your help very much, tanks.
If I recall correctly, you may need to edit the method to be sure Data Analysis is checked to run after acquisition - the will lanch a new Data Analysis window and execute your macro, then the window will close out. Your macro will not be executed in an existing Data analysis window.
Hello Edlumm,

It appears you are trying to do post run batch processing.

Click on Tools -> DOLIST...

There is the opinion to select "Macro", then choose the macro you wish to launch

then a Dialogue box for multiple File Select will appear. etc....

regards
Alex
Thanks for your help!

@ Yama001: Data Analysis is checked, but in my case the Data Analysis window dosn't open. Nevertheless the commands in the deuser.mac are executed and everything works just fine (except the FILE command). I guess in my case the FILE command is useless anyway, because I want to work with the current datafile and this is already loaded when the deuser macro runs.

@ chemstation: I'm not sure when to use your described way, but in my case using the deuser.mac is the right way.
4 posts Page 1 of 1

Who is online

In total there are 560 users online :: 2 registered, 0 hidden and 558 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: Google [Bot], Semrush [Bot] and 558 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