QualityInformationFramework / qif-community

The online hub for the QIF community
Boost Software License 1.0
23 stars 17 forks source link

DMIS output to QIF results demo? #25

Closed WeiKin007 closed 2 years ago

WeiKin007 commented 2 years ago

Hi,

I have seen that there is a demo of converting a QIF results file to the DMIS output file, but is it possible to achieve the reverse?

I have seen the sample files that produce a QIF results file along with the QIF plan inside, but this sample has the measurement results hard coded and is not something that can be easily converted from any CMM output.

daniel-campbell commented 2 years ago

Hello, yes this is certainly possible.

In this video, for example: https://www.youtube.com/watch?v=NFxgvuviSs8, there is a demo created by Bob Stone of Origin International on how to write a QIF file. This uses the QIF bindings available here.

In this case, the source of data from the QIF file is hard-coded in the demo, but the source of the data could definitely be a DMO file. I'm not aware of a library for reading DMO files automatically, but DMIS is a ISO standard and it should be fairly easy to implement support for reading basic results from DMO.

I can say that DMIS data structures map quite well to QIF data structures, so in this sense it is a good fit.

I'll close this ticket, but please feel free to re-open with other questions