hexagon logo

How to Insert an Image Into the Report

I'm looking at implementing external calculations for some of our measurement routines. I'll have a subroutine save scan data and then call an external program that processes it. The external program will output a graph as an image file as well as a couple of values. Including the values in the report is easy using generic features; however, how can I go about including the graph?

I looked into External Objects, but even when the link to external file box is checked, the image only updates when it's marked to execute, which also pops open MS Paint and pauses PC-DMIS. This is not at all what I want; I need the current, updated image file shown in the report, but without stopping the running program. Is there any way to do this?
  • Hey, I'm completely new to PC-DMIS and I'm trying to follow your directions to complete this. What exactly do you mean by "Select the output file as the input for the label image - this is a fixed image unless you add the Event to update it". I don't know where to do that? Sorry ahead if it's a dumb question.
  • @mayala0589: When you add an image to the label, you should be prompted to select an image file to use. In my case, I selected a placeholder image, later to be overwritten by my external program.

    If you're stuck, I would recommend starting a new thread explaining what you're trying to accomplish and let the experts on this site see the whole picture. PC-DMIS is neither intuitive nor user-friendly, and the stuff I was stuck on here was pretty advanced, the sort of thing that should only be necessary for very particular applications. Quite likely it would be the "hard way" (at best) for most other needs.