Jump to content
Private Messaging is activated - check "How to" on how to disable it ×

GetProbe Radius


---
 Share

Recommended Posts

I have two variables setup as follows: (Underscores are used to show I want the text as shown).

Stylus_System_2="2"
Datum_B_tip2="2_+Y"

Then I use the following PCM:

getProbe(Stylus_System_2, Datum_B_tip2).radius which results in the typical 393.xxxx value instead of the radius value.

When I check the result of Stylus_System_2 I get:

'2' instead of "2"

and when I check the result of Datum_B_tip2 I get:

'2_+Y' instead of "2_+Y"

What do I have wrong for the getProbe to function? Are the symbols " ' " just place holders for viewing?

I use the same variables within the feature to set the Probe name and the stylus tip in my strategy settings with no issues, except now I am setting a value for a Circle path in Strategy.

parameters_Eaton_R2.png

Edited
Link to comment
Share on other sites

Now that I'm paying attention, the suffix ".radius" is not a valid parameter when checked in PCM Editor mode.

getProbe("2", "2_+Y").radius

The above is how the formatting is in PCM Editor. Typically, "black" is not a useable value.

Link to comment
Share on other sites

Why does this work: getProbe().radius to display the active probe radius

and the aforementioned doesn't when I provide the stylus system and name?

Link to comment
Share on other sites

Please sign in to view this quote.

It's a little confusing due to your probe names... but I'm pretty sure you're getting the syntax backwards.?

 

getProbe(STYLUS_NAME, STYLUS_SYSTEM_NAME).radius

 

So on my systems I would use 

getProbe("Right", "Star Port 3").radius

 

Link to comment
Share on other sites

Please sign in to view this quote.

This also applies to reading Jeff's post, too.  And now Michael's post.   lol

Edited
Link to comment
Share on other sites

like Michael and Jeffrey told, your syntax doesn´t fit

Stylus_System_2="2"
Datum_B_tip2="2_+Y"
getProbe(Datum_B_tip2, Stylus_System_2).radius

instead

getProbe(Stylus_System_2, Datum_B_tip2).radius

.radius works, I use that in my calibration program, too

Link to comment
Share on other sites

Please sign in to view this quote.

I have used the syntax both ways.

Stylus system = 2

Stylus name = 2_+Y

Link to comment
Share on other sites

 Share

×
×
  • Create New...