Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations IDS on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Output error message after adding User Defined Event...

Status
Not open for further replies.

Thunderbird336

Mechanical
May 16, 2013
30
I followed this article on Siemens PLM website:


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.
 
Replies continue below

Recommended for you

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.
 
Thanks, I will look at the syslog now that I know where to look.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor