Jump to content

Prompt User for a numeric value


Recommended Posts

I am not sure what you are attempting to do.

I was able to get it to prompt me for a position for a theoretical feature but it seemed to get stuck in a loop.

If you just want a value to use on the report you can use a result element and for the value put the formula as follows:
inquireNumber("Enter a value")

The value will be used as the result of the result element and will show up on the report.
Yeah, that should pull the actual from the theoretical feature, but it would not prompt the user to input a value.

I was under the impression from the original post that the goal was to allow a user to enter a value - although as I stated I am not entirely sure what the goal is based on the original question.
The goal
Pre-inspect a small hole with Gage Pins for size.
Use a theoretical Circle that can prompt a user for the measured value and enter in the diameter field.
I prefer to have the user prompted after the CMM run is complete (We run from Feature elements).
THe Size values are used for MMC in true position characteristics.
Derek Stedman
Using your first suggestion
Result Element named "Ref #76.01"
inquireNumber("Enter a value")
And recalling it as a diameter in a Theoretical circle
getActual("Ref #76.01").actual
and cycling thru the program (Planar) simulating a run did prompt the user for the value.

Thanks for the help!

I measure a threaded feature with a tru-pos locator, the tolerance is minimal for the true position and the diameter is ±.005
I created a theoretical circle, recalled my axis values for the true position and thne recalled the "User Input" for the diameter as measured with Gage Pins.
Now I am able to utilize the modifier for the tolerance.
×
×
  • Create New...