Troubleshooting guide
Lab Exercise: Commands 
Registers, Objects, and Tables 
147 
4)  To integrate the chromatogram, use the command IntegrateObj. Type: 
IntegrateObj ChromReg[1] <enter> 
Draw 2,ChromReg[1]<enter> 
5)  Access scalar variables(numbers) from the object header using ObjHdrVal. 
To obtain the vial number which is stored in the object header type: 
VialNum=ObjHdrVal(ChromReg[1],"vial") <enter> 
Print VialNum <enter> 
6)  To add more clarity in a macro you may modify the above to: 
Print "The vial number is",VialNum <enter> 
Note: The vial number is zero in this case. The data was originally acquired 
on a 1090 which does have a zero vial position. 
7)  Access string variables (text) in the object header with the function 
ObjHdrText$. Note that the variable name for a string variable must end in 
the $ sign. Try obtaining the signal description. 
Signal$=ObjHdrText$(ChromReg[1],"signalDesc") <enter> 
Print Signal$ 
8)  To obtain the information as above, you must know the name of the text or 
scalar variable. There are two functions which can help you obtain this 
information: 
ObjHdrName$(Register,Index) 
retrieves the item name from the object and 
ObjHdrType(Register, Item$) 
determines if the object is a string, scalar, or table variable. 










