hexagon logo

Change the active machine for a part program.

Hey all,

here's what i'm trying to do. Many of our machines are dedicated to one part/one operation. In our UI, we would like to open all of the part programs that will run for a selected operation, when the operation is selected for the first time of the day. When the operator hits "Measure", the program will loop through all of the open programs, and measure the part. The problem i'm running into is that when you open more than one part program, every program except for the first one is set to "OFFLINE". Is there any way to change the active machine of an open Part Program or is some sort of safety feature built into PC-DMIS. Here's another thought, if i can't get around changing the ActiveMachine, would it be possible to use the "SpawnNewInstance" command and have multiple instances of PC-DMIS running, and loop through the instances of PC-DMIS?

Thanks in advance,

-Cappy
Parents
  • Yes it does. It checks and if the check fails, it calibrates and checks again. If it fails 3 checks then the operator is notified to alert us that there is a deeper problem and not to continue using the machine. I will post the code tomorrow.


    Sent from my iPhone using Tapatalk


    how are you going about checking if the calibration failed? are you using a script or just pc-dmis itself? just curious because we'd like to do this too
Reply
  • Yes it does. It checks and if the check fails, it calibrates and checks again. If it fails 3 checks then the operator is notified to alert us that there is a deeper problem and not to continue using the machine. I will post the code tomorrow.


    Sent from my iPhone using Tapatalk


    how are you going about checking if the calibration failed? are you using a script or just pc-dmis itself? just curious because we'd like to do this too
Children
No Data