Lab Exercise: Commands
Registers, Objects, and Tables
150
to obtain a single numeric element from a table.
Type:
pk_width=tabval(ChromReg[1],"intresults",2,"width") <enter>
Print pk_width <enter>
You obtained the peakwidth of the second integrated chromatographic peak.
3) Use the commands to obtain the name of the 4th compound from the
quantification results table "compound" found in the ChromRes register. To
get this information, you must print a report first. By doing this, the variables
will be stored in ChromRes. Print a report now if you haven’t already done
so.
Name$=Tabtext$(ChromRes,"compound",4,"name")<enter>
Print Name$ <enter>
To obtain the quantified amount for the compound use adifferent column
name to access the same table.
Amount=TabVal(ChromRes,"compound",4,"amount") <enter>
Print Amount <enter>
4) To access the compounds retention time, you will need to reference the "peak"
table in ChromRes. You cannot simply use reference index "4" because there
are more integrated chromatographic peaks than in the "compound" table.
Type the following to obtain the retention time:
FirstPeak=TabVal(ChromRes,"compound",4,"FirstPeak") <enter>
RT=TabVal(ChromRes,"peak",FirstPeak,"MeasRetTime") <enter>
Print RT <enter>
Comments to this Manuals