Jump to content

PCM message, not skipping cncBreak


---
 Share

Recommended Posts

---
Run=inquire("Is the Block Fixture moved out of the way?"+cr()+"You can move the fixture now."+cr()+"User must answer YES to continue."+cr()+"CMM will stop if wrong answer.")
if Run=="YES"
else 
cncBreak()
endif

Two things, I would like the answer to not be case sensitive and why is cncBreak activated when the user types "YES"?

 

Any help is appreciated.

Link to comment
Share on other sites

---

I think this would work - i have no pcm, but result element is not complaining

Run=inquireText(...).toLower()

Edit: should use inquireText

Edited
Link to comment
Share on other sites

---

Geez, looked at inquire a hundred times and didn't realize it was missing "Text".

Thanks.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In
 Share

×
×
  • Create New...