×
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

Output error message after adding User Defined Event...

Output error message after adding User Defined Event...

Output error message after adding User Defined Event...

(OP)
I followed this article on Siemens PLM website:

http://community.plm.automation.siemens.com/t5/Tec...

I had good success right up to the end when the presenter has you post it out and got this error...

CODE -->

Received an error 1770002
File name: O:\ugnx80\ip25\src\camsmom\no\ind\mom_tcl_definitions.c, line number: 505
Error Message: Error received in do_event. Event Handler: C:\Users\gary\Documents\NX8\PostProcessor\test.tcl, Event name: MOM_first_tool, See syslog for more details 

unfortunately, I don't know the location of syslog to see more details... I have tried several examples today and had good success for the most part but ran into this (or a really similar error) on several occasions. On one example, a really simple one, I felt sure I had it right so I just closed the part, reopened it and it posted out fine. This one, however will not.

Here is the code from the cdl file for the relevant Custom Command:

CODE -->

MACHINE FANUC


EVENT ChooseNCProgrammer
{
   POST_EVENT "pickNCProgrammer"
   UI_LABEL "SelectNCProgrammer"
   CATEGORY MILL
   PARAM command_status
   {
      TYPE o
      DEFVAL "Active"
      OPTIONS "Active","Inactive","User Defined"
      UI_LABEL "Status"
   }
   PARAM nc_programmer
   {
      TYPE o
      DEFVAL "Gary"
      OPTIONS "Gary","Don","Tom"
      UI_LABEL "Pick a Programmer"
   }
} 

My first question is about the Error Message itself, it shows O:\ugnx80 as the start of the path, or at least, what seems to be a path, but there is no O:\ drive on my system at all.

I've triple checked the spelling of the one variable that I created and it seems right.

RE: Output error message after adding User Defined Event...

The first part of the error message is from the system not your file, the second part has your file listed. This error message does not tell you much about what is causing your error you either need to look at the syslog which you get by selecting from the main menu in NX Help... NX Log File. The other thing you can do to make this message more meaningful is in postbuilder select the output settings tab... other options subtab... Display verbose error messages. I prefer to just look in the syslog.

RE: Output error message after adding User Defined Event...

(OP)
Thanks, I will look at the syslog now that I know where to look.

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