Clarity solution – MS Excel macro for Result Table check
Manuals | 2024 | DataApexInstrumentation
This application note addresses the need for automated quality control of chromatographic results by integrating Clarity software exports with Microsoft Excel. Manual inspection of result tables can be time-consuming and error-prone. Automating data import, formatting, and limit checks enhances productivity, consistency, and compliance with analytical workflows.
The workflow combines a batch script, Visual Basic script, and an Excel macro to handle data export and processing:
The macro successfully automates the end-to-end processing of single-signal chromatograms:
Advances in laboratory informatics and scripting interfaces may enable:
This macro demonstrates an effective approach to merging chromatographic export from Clarity with Excel-based QC checks. By automating import, calculation, and limit evaluation, laboratories can improve efficiency and data integrity. The template can be adapted to diverse analytical methods and integrated into broader automation frameworks.
Software
IndustriesOther
ManufacturerDataApex
Summary
Significance of the Topic
This application note addresses the need for automated quality control of chromatographic results by integrating Clarity software exports with Microsoft Excel. Manual inspection of result tables can be time-consuming and error-prone. Automating data import, formatting, and limit checks enhances productivity, consistency, and compliance with analytical workflows.
Objectives and Overview of the Application
- Enable automatic loading of Clarity-exported chromatogram data into Excel
- Format the result table and insert custom calculations such as percent amount and averages
- Compare results with predefined acceptance limits and flag pass/fail outcomes
- Provide a template macro that can be customized for different types of chromatographic data
Methodology and Instrumentation
The workflow combines a batch script, Visual Basic script, and an Excel macro to handle data export and processing:
- Configure Clarity to export chromatograms to a text file using post-run settings or sequence table parameters.
- Run OpenChromInExcel.bat, which invokes OpenChrom.vbs to open the Excel template (chromatogram-export.xls) and pass the filename parameter.
- Excel VBA macros import the text data into a worksheet, apply formatting, calculate percent amounts and averages, and insert a limits table.
- Results are evaluated against user-defined limits in a separate worksheet, with each compound flagged as Passed or Failed.
Main Results and Discussion
The macro successfully automates the end-to-end processing of single-signal chromatograms:
- Imported result tables retain original data structure while adding calculated columns and summary statistics.
- Limit checks provide instant visual feedback on compliance.
- The template remains open for manual review or additional automation such as saving files under unique names.
- Current limitations include support for only single-signal data and the need for manual saving to preserve uniquely named reports.
Benefits and Practical Applications
- Streamlines routine post-run processing in laboratories focused on QA/QC.
- Reduces risk of manual transcription errors and ensures uniform formatting.
- Offers a foundation for extending automation to multi-signal chromatograms or other detector data with additional customization.
- Enhances traceability by linking results directly to predefined acceptance criteria.
Future Trends and Potential Applications
Advances in laboratory informatics and scripting interfaces may enable:
- Full integration of Excel-based checks into laboratory information management systems (LIMS).
- Automated report generation in PDF or web formats with embedded pass/fail summaries.
- Support for multi-signal and PDA chromatograms through dynamic macro adjustments.
- Cloud-based processing pipelines where exported data are routed to centralized servers for batch validation.
Conclusion
This macro demonstrates an effective approach to merging chromatographic export from Clarity with Excel-based QC checks. By automating import, calculation, and limit evaluation, laboratories can improve efficiency and data integrity. The template can be adapted to diverse analytical methods and integrated into broader automation frameworks.
Used Instrumentation
- Clarity Chromatography Software version 8.1.0.77
- Microsoft Excel 2013 (macros enabled)
Reference
- DataApex application note Code/Version D144/EN04-20240221
Content was automatically generated from an orignal PDF document using AI and may contain inaccuracies.
Similar PDF
Using SIMDIS Expert® 9 (Separation Systems) with Clarity
2024|DataApex|Others
Using SIMDIS Expert® 9 (Separation Systems) with Clarity The SIMDIS Expert® 9 may be used with Clarity or Clarity Lite software to process the acquired chromatograms according to Simulated Distillation. The acquired chromatograms are exported as AIA (*.cdf) files and…
Key words
program, programexport, exportrun, runtroubles, troublesaia, aiacdf, cdfbatch, batchdefined, definedsettings, settingssimdis, simdiswise, wiseactivate, activateclarity, claritydialog, dialogexported
Clarity (Lite) 2.4 vs 2.3
2007|DataApex|Manuals
Clarity (Lite) Clarity 2.4(Lite) vs 2.3 2.4 vs 2.3 ENG Code/Rev.: M047/24F – 02 January 2006 Phone: +420 - 251 013 400 Fax: +420 - 251 013 401 [email protected] www.dataapex.com © DataApex Ltd. 2007 Podohradská 1 155 00 Prague 5…
Key words
clarity, claritychromatogram, chromatogramcommand, commandthreshold, thresholdfile, fileopen, opendialog, dialoginstrument, instrumentset, setfft, fftsend, sendinterval, intervalwindow, windowpdf, pdfgpc
Clarity Software - COOPERATION WITH LIMS SYSTEMS
2024|DataApex|Manuals
COOPERATION WITH LIMS SYSTEMS Clarity Software ENG Code/Rev.: M140/90B Date: 2024-02-14 DataApex Ltd. Phone: +420 251 013 400 Petrzilkova 2583/13 [email protected] 158 00 Prague 5 www.dataapex.com Czech Republic ® are trademarks of DataApex Ltd. Microsoft® and WindowsTM are Clarity®, DataApex®…
Key words
lims, limscooperation, cooperationsystems, systemsclarity, claritydirectories, directoriessequence, sequenceexport, exportexported, exportedimport, importdirectory, directorymeant, meantaccounts, accountsinfo, infocontents, contentsdata
Clarity Demo Software
2021|DataApex|Manuals
CLARITY DEMO Clarity Demo Software ENG Code/Rev.: M003/80G Date: 2/10/2021 Phone: +420 251 013 400 Fax: +420 251 013 401 [email protected] www.dataapex.com DataApex Ltd. Petrzilkova 2583/13 158 00 Prague 5 The Czech Republic ® are trademarks of DataApex Ltd. Microsoft…
Key words
clarity, claritydemo, demowindow, windowchromatogram, chromatogramicon, iconmodule, moduleopen, openstation, stationyou, youintegrated, integratedname, namecan, canevaluating, evaluatingsequence, sequenceclicking