There are specific data fields that do not contain a single value but an entire XML structure. This XML structure and content depends on the chromatography data system used for acquisition.
The Custom Extractor and its functions can be used to evaluate complex custom fields in ChemStation data. |
The CustomExtractor provides the following functions:
GetValue(name)
This function returns the value stored under the given name.
GetNameValue(index)
This function returns a combination of key and value in the form Key=Value. With index=0 the function returns the first key/value pair.
GetValueByIndex(index)
This function returns the value of the name/value pair at the given position. The first key/value pair is indexed by 0.
Count()
This function returns the number of key/value pairs in the XML structure.
Clear()
This function deletes the XML structure from the Custom Extractor and returns the number 0.
You can add an invisible text field to your template with the value =Injection_DiagnosticData. If you save this value as a Custom Extractor named CustDiagnosticData, you can subsequently access the start pressure of a ChemStation LC measurement via the expression:
=CustDiagnosticData(GetValue("StartPressure")).
See Keys in Diagnostic Data for the most common keys generated by ChemStation systems.