The Evolution of Digital Calibration Certificates (DCC) in NIMT

AUTHORS
Praiya Thongluang

Metrologist, National Institute of Metrology (Thailand), Thailand

Jariya Buajarern

Metrologist, National Institute of Metrology (Thailand), Thailand

Narin Chanthawong

Metrologist, National Institute of Metrology (Thailand), Thailand

3
Views
1
Downloads
MEDIA
Download PDF
DETAILS
Theme 7. Digital transformation, Artificial Intelligence, and Systems Metrology
Conference 150th anniversary of the Metre Convention — From Units to the Universe
Year 2025
Location Palais des congrès de Versailles, Versailles, France
Publisher Bureau International des Poids et Mesures (BIPM)
Language EN
ABSTRACT
National Institute of Metrology Thailand (NIMT) first designed the Digital Calibration Certificate (DCC) prototype in PDF/A3 format. This prototype included the attachment of measurement result files and utilized DataLink as a middleware to retrieve error values for result compensation. Subsequently, NIMT initially relied on Microsoft Excel as the primary tool for issuing calibration certificates. In the early stages of the DCC project, we utilized developer functions in Excel to transform calibration certificates into XML-based formats. This approach served as a bridge between traditional Excel files and the modern XML format required for digital certificates. However, as the complexity of the XML schema increased, we encountered limitations in Excel’s developer functions. These constraints highlighted the need for a more robust solution and prompted the development of a tool for schema validation.
To navigate these complexities, we adopted Python as the primary tool for creating and managing DCCs. Python's versatility and rich ecosystem allowed us to develop a system that efficiently handles XML schema complexities. As part of this initiative, we designed a schema that complies with the requirements outlined in ISO/IEC 17025, the international standard for testing and calibration laboratories. This schema was the foundation for creating an Excel template that streamlines measurement result calculations while ensuring compatibility with XML formatting.
Our development process involved extracting content from Excel files and converting it into XML format. Additionally, we created a method to render XML files in a human-readable HTML format, enhancing accessibility and usability. This seamless transformation from Excel to XML, coupled with the ability to validate the XML structure, marked a significant milestone in our DCC project.
To ensure schema validity and alignment with digital standards, we collaborated with the Electronic Transactions Development Agency (ETDA). As a government organization committed to advancing Thailand’s digital economy and society, ETDA provided a robust platform for schema validation. We registered and uploaded "NIMT’s schema version 1.0" to ETDA’s schema repository. This registration not only ensured compliance with national standards but also made the schema readily available to NIMT’s customers and other DCC users. Through ETDA’s user-friendly website, validation.teda.th, users can easily validate XML-based DCCs, regardless of their location.
This strategy has significantly reduced the limitations associated with using Excel for creating digital calibration certificates. Integrating Python, XML schema, and ETDA’s platform has enabled us to offer a more streamlined, reliable, and accessible solution. Customers now benefit from a modernized system that combines the familiarity of Excel with the flexibility and standardization of XML. Additionally, the ability to validate schemas via ETDA’s platform provides added confidence in the accuracy and authenticity of the digital certificates.
By leveraging technology and collaboration, NIMT has successfully transitioned to a more efficient and globally compatible calibration certificate format, aligning with the evolving needs of the digital economy.
CITE THIS POSTER
Include:
Thongluang, P., Buajarern, J., & Chanthawong, N.. (2025). The Evolution of Digital Calibration Certificates (DCC) in NIMT. 150th anniversary of the Metre Convention — From Units to the Universe. Palais des congrès de Versailles, Versailles, France. Bureau International des Poids et Mesures (BIPM). https://doi.org/10.59161/MOZQ1592