hexagon logo

PC-DMIS 2017 (interop.pcdlrn.dll) issue on profile of a surface measurements

Hi,

i am software programer so i dont really know about inspection and CMM.

i am having issue using the library interop.pcdlrn.dll for the command "perimeter scan" for a "profile of surface".


when i'm using the librairy it shows a measurement value of 0 like if the machine is offline. but when i use the software PC-DMIS, i have the good results.


but when i do a "constructed set" for a "profile of surface" i have good results either if im using the library or the software.

i dont't understand how the library can act differently from the software. this strange behavior prevents us to use the custom software on the prod environnment.

because im a software programmer i dont really know how to express myself in this forum so i'm sorry if i dont give enough details

Parents
  • OK, I need to think about your original problem but the temporary files are backup copies of the PRG made on opening and then closing the PRG. I don't remember right now how to disable those.

    I don't immediately see anything wrong with the code, but there are more questions now -

    I just now saw your detail "it shows a measurement value of 0 like if the machine is offline". Are you aware that offline ALWAYS shows perfect results. There is no real data coming from the CMM.


    Yes Don, i know about the machine offline. That's the problem, for this specific command, even if the machine is online and physically running, perfect results are outputed: 0.0000 and normal results are outputed for others points of the report.

    But when I run my program with the machine offline, deviation sometimes shows a not perfect result like describe in the follow topic:

    https://www.pcdmisforum.com/forum/pc...line-deviation



    here is the results "Offline" trough c#:



    here is the results "Online" trough c#:




    here is a random report of another part with a "scan operation" "Online" trough C#:




Reply
  • OK, I need to think about your original problem but the temporary files are backup copies of the PRG made on opening and then closing the PRG. I don't remember right now how to disable those.

    I don't immediately see anything wrong with the code, but there are more questions now -

    I just now saw your detail "it shows a measurement value of 0 like if the machine is offline". Are you aware that offline ALWAYS shows perfect results. There is no real data coming from the CMM.


    Yes Don, i know about the machine offline. That's the problem, for this specific command, even if the machine is online and physically running, perfect results are outputed: 0.0000 and normal results are outputed for others points of the report.

    But when I run my program with the machine offline, deviation sometimes shows a not perfect result like describe in the follow topic:

    https://www.pcdmisforum.com/forum/pc...line-deviation



    here is the results "Offline" trough c#:



    here is the results "Online" trough c#:




    here is a random report of another part with a "scan operation" "Online" trough C#:




Children
No Data