Page 1 of 1

Pre-run Macro not running 5890 Series II Chemstation B.03.02

Posted: Mon Mar 02, 2015 8:38 pm
by aidnai
Hi everyone,
When I start the GC remotely or by pressing "START" on the GC itself, the pre-run macro does not fire. It does fire when I use the "Start" button within ChemStation.

Any ideas on how to ensure the pre-run macro runs?

Further background: I built a very customised injection zone and a program to control the custom valves and remote start the GC. I also built a ChemStation macro to read in a bunch of information to put in the chromatogram reports. Everything works wonderfully except that the pre-run macro doesn't run, and I don't get the updated information for the report.

Thanks in advance!

Re: Pre-run Macro not running 5890 Series II Chemstation B.0

Posted: Tue Mar 03, 2015 6:29 pm
by GasMan
Does the pre-run macro run when you type the name into the command line?

Gasman

Re: Pre-run Macro not running 5890 Series II Chemstation B.0

Posted: Tue Mar 03, 2015 9:34 pm
by aidnai
Hi Gasman,
Yes, the macro runs when I type the name. It also runs when I click the start button within chemstation.

I found in the chemstation documentation that the pre-run macro does not run when the GC is remote started. So, working as intended. But I still need the pre-run macro to fire, so I am now investigating using a DDE client to send the command to Chemstation. I will probably just directly run the macro command via DDE vs. starting the run via DDE and causing it the macro to run as a pre-run macro.

I guess this topic should be in the data controller/PC forum at this point...

Aidan

Re: Pre-run Macro not running 5890 Series II Chemstation B.0

Posted: Wed Mar 04, 2015 1:13 pm
by GasMan
ChemStation can not start automatically unless you have some form of auto-injector. The easiest way for you is to define a valve as a Gas Sampling valve. You do not have to physically have a valve installed, you install a "dummy' valve. Once configured, you define this valve as the injection device and providing that you have defined your pre-run macro your macro should run. Also make sure that the macro is loaded into ChemStation.

Gasman