Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time


TPQA-Traceable Power & Power Quality Analyzer

TPQA is being developed at power and distorted signals primary laboratories of INRIM, belonging to the Quantum Metrology and Nanotechnology Division, in the framework of EMPIR project TracePQM. It looks like as an open software tool project used for handling high performance and precise state-of-the-art sampling system identified for building of metrology grade measurement system suitable to ensure reliable and traceable measurement of Power and Power Quality (PQ) complex parameters.

Its use is not only restricted to power and energy area, but it can be used in experiments which require simultaneous measurement of complex voltage and current waveforms coming from diferent types of scaling transducers or generated from both non-quantum and quantum waveform synthesizers.

It has been developed using an ANSI c development environment such as LabWindows/CVI, and its modularity is based on the following components:

  • Guide user interface (GUI) that hosts a control and data acquisition module optimized to operate with different hardware platforms.
  • Data processing module that allows to interact with the calculation scripts using the Matlab engine for post-processing or through the Advanced Analysis Libraries of the development environment for on-line computation of main power and PQ electrical parameters.

TPQA handles the following digitizers using suitable drivers as:

  • niScope drivers for control of single or multiple PXI-5922 24-bit flexible resolution digitizer whose bandwidth falls within the medium frequency (MF) of radio frequency band.
  • Synchronized HP/Agilent/Keysight3458A configured as digitizer by making DC voltage measurements, by DCV digitizing, by direct-sampling, or by sub-sampling.

The post-processing of Power and PQ parameters is performed by the QWTB toolbox. A list of supported algorithms can be found in the following report: Algorithms Description.


The project is still under development. The current version includes the guide user interfaces (GUIs) trought which the user can beging to gain experience with high performance digitizers and waveform sampling. The following actions can be performed:

  • In the present release it is possibile to perform single shot or continous acquisition with measurement system equiped with a single or two PXI-5922 boards configured for single-ended or pseudo-differential measurements of pure and distorted waveforms.
  • Sampling waveforms using two DMMs 3458A configured as Master-Slave.

  • Post-processing of sampled data (only for TPQA release under LabWindows/CVI environment) using the concept of Matlab to CVI interface similar to that developed for TWM.

  • On-line processing of recorded data and analysis in the frequency domain using the Advanced Analysis Library provided by LabWindows/CVI.


Important changes and news:

  • 2019-04-10: First public release, which inludes:
    • Improved GUIs, for control and data acquisition of NI-PXI5922 and DMMs digitizers.
    • Matlab support and GUI for post-processing of sampled data coming from NI-PXI5922 digitizers.
    • CVI support and GUI for on-line data processing of sampled data coming from NI-PXI5922 and DMMs digitizers.


Here you can download build only:


The TPQA is distributed under MIT license. Note the algorithms in the QWTB toolbox may have different licenses.


Traceable Power & Power Quality Analyzer






No releases published


No packages published