Jump to content

Run time in simulation?


---
 Share

Recommended Posts

Hi everyone,
Quick question. I am writing a program offline and want to know how long it would take to run on a machine. When I execute the program, the monitor says it takes about six seconds, however, if I run it while using the planner simulation it can vary drastically depending on where I have the speed slider placed. Should the slider be placed roughly in the "middle" to simulate a machine running at 100% speed or is there a more accurate way to determine the run time while offline? Ultimately, I want to test the repeatability vs. run time based on point density.

Thanks in advance!
Link to comment
Share on other sites

In the past, I ran a program on the CMM for the run time.
Then open the same program offline.
Adjust the slider to the middle and run the program.
Adjust as need until you have a similar run time.
I screen shot the slider for future use.'
Its not 100% on all programs but it does a decent job of run time.
Link to comment
Share on other sites

In my opinion, simulation is not suitable for determination of run time, and it's not intended to be. You may get reasonable results with Rick's method, but depending on your PC performance, graphics card and CAD model complexity you may as well be way off.

The speed slider does not primarily control speed, but sets the distance between "simulation steps".
For example, if you simulate a circle measurement, simulation treats it more like a polygon, checking for collisions only at the "corners". The lower you set the speed slider, the more corners the polygon has, the finer is the resolution and accuracy of the simulation, but the longer it takes. "Speed" is only a side effect in this equation.

If your CAD model is quite complex, each collision check takes considerably longer, and that time even varies within the same model, depending on whether the stylus is currently deep inside the part or travels around it on the outside.
Link to comment
Share on other sites

Please sign in to view this quote.

Sometimes I will try to run at speeds that looks similar to how the cmm might run but it's only a guess.
Link to comment
Share on other sites

 Share

×
×
  • Create New...