[Ri...] Posted January 21 Share Posted January 21 (edited) 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. Edited January 21 Link to comment Share on other sites More sharing options...
[Je...] Posted January 21 Share Posted January 21 getProbe([stylus,stylus system]) Link to comment Share on other sites More sharing options...
[Ri...] Posted January 21 Author Share Posted January 21 Even swapping the variable order results in the same 393.xxxx value. Link to comment Share on other sites More sharing options...
[Ri...] Posted January 21 Author Share Posted January 21 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 More sharing options...
[Ri...] Posted January 22 Author Share Posted January 22 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 More sharing options...
[Mi...] Posted January 22 Share Posted January 22 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 More sharing options...
[To...] Posted January 22 Share Posted January 22 (edited) Please sign in to view this quote. This also applies to reading Jeff's post, too. And now Michael's post. lol Edited January 22 Link to comment Share on other sites More sharing options...
[Je...] Posted January 23 Share Posted January 23 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 More sharing options...
[Ri...] Posted January 23 Author Share Posted January 23 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 More sharing options...
[Ri...] Posted January 23 Author Share Posted January 23 I rebooted the laptop, re-started Calypso and now it works fine. 🤨 Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in