×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

UDE problem

UDE problem

UDE problem

(OP)
I've written my UDE but NX shows me an error. I've tried to put "MOM_abort" to a different places, but it was useless because of the one and only place when MOM_abort proc worked it was before the "proc MOM_my_proc {} { ..."

I add 2 files with my UDE and proc (zipped archive).


Thanks in advance

P.S. I am very sorry for my bad English.

RE: UDE problem

Could it be your using mom_increament_r4 without setting it?
What is the error? Be sure to look at the syslog for more clues, Attach it if you can.

RE: UDE problem

First error
        if{[string match "Stencil Gothic" $mom_font} {
Should be
        if {[string match "Stencil Gothic" $mom_font]} {

Second error
Make sure all if have a space after them.

Third error
        MOM_output_literal "G00 Z H$mom_engrave_tool_number D$engrave_tool_number M0"
should be
        MOM_output_literal "G00 Z H$mom_engrave_tool_number D$mom_engrave_tool_number M0"

Fourth error
Handle mom_increament not being set

 

RE: UDE problem

(OP)
Thanks a lot. I found a lot of mistakes, corrected them and now it works well.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources