Below is a macro that you should be able to use for this purpose. This was written for valve 1, but can be adapted for other valves. The macro should turn on the designated valve for 15 seconds, and then turn it off and wait 10 seconds for the pressure in the loop to come down to atmospheric pressure. Then the GC will start.
If _OFFLINE=0 Then
If _InstType$="68GC" then
Writemodule "68GC","V1SW 1"
Writemodule "68GC","V1SW 0"
If _InstType$="78GC" Then
While acqstatus$ <>"PRERUN"
Thank you for very quick reply ! :-)
The macro example you published work perfectly for my purpose.
Do you know where I can find other chemstation macro commands, or even better, similar pre-run or post-run macro examples?
With kind regards -
1 person found this helpful
That is great news that the macro worked for you! Unfortunately, there are not very many resources available for creating macros in ChemStation. The best resource I can point you to is the Macro Programming Guide for RC.NET Drivers in OpenLab CDS ChemStation. This can be found on disk 2 of your installation media at \Docs\ENU\MacroProgrammingGuideRCNet.pdf.
I will mark this as assumed answered . Feel free to post if more discussion is needed.