CCCCCCCCCCCC CCCCCCCCCCCC CCCC CCCC ooooooo CCCC oo oo nnn CCCC oo oo n n t r i b u t e d Library for the LC ChemStation CCCC oo oo n n CCCC ooooooo CCCC CCCCCCCCCCCC CCCCCCCCCCCC LC ChemStations Revision A.03.xx or higher Date 01/10/94 Macro Contribution #3 Contribution 'Transform a chromatographic signal' Revision History ---------------- 1. A.02.xx original version 2. A.03.xx includes installation update. Contribution Purpose -------------------- To allow the user, either interactively through a dialog box selection or automatically as a post run or data analysis macro, select and transform chromatographic signals from the ChromReg register. This is done by a factor and additive constant (y = mx + c) and may be applied to the RT or response scale or both. The most common application is to invert the signal, in this case the response factors are m = -1 and c = 0, the default settings. Contribution Structure ---------------------- One macro file, 'Adjust.mac'. Prerequisites ------------- - Windows Operating System as supported by the revision of the ChemStation in use - The LC ChemStation software, Rev A.03.xx or higher Installation ------------ * Copy the macro to the ChemStation's executable directory, 'C:\Chem32\CORE' by default. Use --- * Load the macro into the ChemStation using the command... Macro Adjust.mac, go The command self installs into the Graphics menu and can be used interactively from the menu or as a data analysis or post run macro. When used automatically the following parameters are passed... 'Adjust FullFileName, SignalDescription, RPF, RPC, RTC, RTF' Where ... FullFileName is a string "C:\Chem32\1\DATA\DEMODAD.D", you can use variables for automatic operation, eg DADATAPATH$ + DADATAFILE$ or _DATAPATH$ + _DATAFILE$. SignalDescription is a string with the complete signal description for transformation (eg "DAD1 B, Sig=230,4 Ref=450,80"). RPF is the multiplication factor for the response axis, (-1 by default). RPC is the additive constant for the response axis, (0 by default). RTF is the multiplication factor for the time axis, (1 by default). RTC is the additive constant for the response axis, (0 by default). Operation Overview ------------------ The macro checks for passed File and Signal data against the contents of the Chromreg register. The check is not case sensitive. If the check fails the dialog box for interactive signal selection is displayed. The user defines the transformation factors in RT and response terms and the selected object is transformed by the 'TransformObj' command, once for the RT and once for the response scale. It is redrawn to the screen with the signal title having '[Transformed]' appended to it.