Agilent Technologies All Guide de dépannage Page 155

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 211
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 154
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.
Vue de la page 154
1 2 ... 150 151 152 153 154 155 156 157 158 159 160 ... 210 211

Commentaires sur ces manuels

Pas de commentaire