cancel
Showing results for 
Search instead for 
Did you mean: 

NX10 to NX 11 CAM post processor migrate ( Parse Error)

Creator
Creator

Hi Guys,

 

Anyone success migrate NX 10 cam Post processor to NX 11,

im did some test by copy NX11 default resources file and  modify UGII_CAM_POST_DIR to other directory will get me parse error. Any solution? same error i get for nx 10 files.

Capture.PNG

10 REPLIES

Re: NX10 to NX 11 CAM post processor migrate ( Parse Error)

Esteemed Contributor
Esteemed Contributor

Have you checked the mentioned DEF file at the mentioned line number?

Stefan Pendl, Systemmanager CAx, HAIDLMAIR GmbH
Production: NX10.0.3, VERICUT 8.0, FBM, MRL 3.1.4 | TcUA 10.1 MP7 Patch 0 (10.1.7.0) | TcVis 10.1
Development: VB.NET, Tcl/Tk    Testing: NX12.0

How to Get the Most from Your Signature in the Community

Re: NX10 to NX 11 CAM post processor migrate ( Parse Error)

Creator
Creator

Hi Stefan,

 

I did placed nx10 post into default installation directory will not having this error. The error only shown up after i modify UGII_CAM_POST_DIR. Additionally, i did copy the default NX11 resources file to share drive by modify UGII_CAM_POST_DIR with the default def files come with installation which is copy out to share drive for testing purpose. Surprisingly the default def did show the same error.

 

Re: NX10 to NX 11 CAM post processor migrate ( Parse Error)

Esteemed Contributor
Esteemed Contributor

I would always copy the entire MACH\resource folder to a testing location, this way you only have to change the UGII_CAM_RESOURCE_DIR, or so, variable.

If you need a test environment, create one that is the same as your productive environment using the NX_custom blue-print (available through a community search).

Stefan Pendl, Systemmanager CAx, HAIDLMAIR GmbH
Production: NX10.0.3, VERICUT 8.0, FBM, MRL 3.1.4 | TcUA 10.1 MP7 Patch 0 (10.1.7.0) | TcVis 10.1
Development: VB.NET, Tcl/Tk    Testing: NX12.0

How to Get the Most from Your Signature in the Community

Re: NX10 to NX 11 CAM post processor migrate ( Parse Error)

Creator
Creator

Stefan,

I did the same for UGII_CAM_RESOURCE_DIR , same error i received after clicking post-process capture post.PNG

Capture.PNG

 

 

Re: NX10 to NX 11 CAM post processor migrate ( Parse Error)

Esteemed Contributor
Esteemed Contributor

I think your copy of the WEDM.DEF file is corrupt, since it only contains about 328 lines not 2512.

Have you changed any CDL or DEF file?

Have you already checked the WEDM.DEF file as I asked before?

Have you checked the NX syslog too, since sometimes the displayed error is a resulting one of a previous error and the real problem is somewhere else.

Stefan Pendl, Systemmanager CAx, HAIDLMAIR GmbH
Production: NX10.0.3, VERICUT 8.0, FBM, MRL 3.1.4 | TcUA 10.1 MP7 Patch 0 (10.1.7.0) | TcVis 10.1
Development: VB.NET, Tcl/Tk    Testing: NX12.0

How to Get the Most from Your Signature in the Community

Re: NX10 to NX 11 CAM post processor migrate ( Parse Error)

Creator
Creator

WEDM.DEF are the OOTB file and no changes is made.

 

Im not sure what to check for OOTB file which working well in default directory.

Capture.PNG

 

NX syslog show the same error.

 

 

NX Load Options Are :-
Load Options : Load as saved
Load Latest : Find exact version of partnames
Load Components : Load all the component parts
Failure Option : Do not abort load on failure
Load Fully : Do not fully load the component parts
Representations : Do not use lightweight
Load Substitution : Allow Substitution
Reference Sets : As Saved, Use Model, Entire Part, Empty
: Do not apply to all levels
Load Wave Data : Fully load WAVE data
Load Wave Parents : All parents, and their parents, etc.
Part family members : Regenerate missing members automatically
D:\resource\template_part\english\mill_planar.prt is on a ntfs filing system
 
Read in all for part "D:\resource\template_part\english\mill_planar.prt", cpu 0.000, real 0.005
Loaded and updated part "D:\resource\template_part\english\mill_planar.prt" cpu 0.000, real 0.006
 
NX Load Options Are :-
Load Options : Load as saved
Load Latest : Find exact version of partnames
Load Components : Load all the component parts
Failure Option : Do not abort load on failure
Load Fully : Do not fully load the component parts
Representations : Do not use lightweight
Load Substitution : Allow Substitution
Reference Sets : As Saved, Use Model, Entire Part, Empty
: Do not apply to all levels
Load Wave Data : Fully load WAVE data
Load Wave Parents : All parents, and their parents, etc.
Part family members : Regenerate missing members automatically
D:\ugnx11\mach\updates\template_part\english\library_dialogs.prt is on a ntfs filing system
 
Read in all for part "D:\ugnx11\mach\updates\template_part\english\library_dialogs.prt", cpu 0.000, real 0.005
Loaded and updated part "D:\ugnx11\mach\updates\template_part\english\library_dialogs.prt" cpu 0.000, real 0.005
Operation Navigator Column Headers NAME,On,200:TOOLCHANGE,On,100:PATH,On,50:IPW,Off,50:CHANNEL,Off,100:TOOL,On,100:TOOL_DESC,Off,100:DESCRIPTION,Off,100:NOTES,Off,100:HOLDER_DESC,Off,100:TOOLNUM,On,100:TIME,On,100:PATH LENGTH,Off,100:GEOMETRY,On,100:MCS,Off,100:METHOD,On,100:PART_STOCK,Off,100:FLOOR_STOCK,Off,100:DEPTHOFCUT,Off,100:STEPOVER,Off,100:MIN TOOL LENGTH,Off,100:FEED,Off,100:SPINDLE SPEED,Off,100:FEED RATE OPTIMIZED,Off,100:GROUP,Off,100:EDIT_STATUS,Off,100:GOUGE CHECK,Off,100:START UDE,Off,100:END UDE,Off,100:DEPENDENCIES,Off,100:WORK INSTRUCTIONS,Off,100
Operation Navigator Column Headers NAME,On,200:PATH,On,50:IPW,Off,50:CHANNEL,Off,100:TOOL,On,100:TOOL_DESC,Off,100:DESCRIPTION,Off,100:NOTES,Off,100:HOLDER_DESC,Off,100:TIME,Off,100:PATH LENGTH,Off,100:GEOMETRY,On,100:MCS,Off,100:METHOD,Off,100:PART_STOCK,Off,100:FLOOR_STOCK,Off,100:DEPTHOFCUT,Off,100:STEPOVER,Off,100:MIN TOOL LENGTH,Off,100:FEED,Off,100:SPINDLE SPEED,Off,100:FEED RATE OPTIMIZED,Off,100:GROUP,On,100:EDIT_STATUS,Off,100:GOUGE CHECK,Off,100:START UDE,Off,100:END UDE,Off,100:DEPENDENCIES,Off,100:WORK INSTRUCTIONS,Off,100
Operation Navigator Column Headers NAME,On,200:PATH,On,50:IPW,Off,50:CHANNEL,Off,100:TOOL,On,100:TOOL_DESC,Off,100:DESCRIPTION,Off,100:NOTES,Off,100:HOLDER_DESC,Off,100:TOOLNUM,Off,100:TIME,Off,100:PATH LENGTH,Off,100:GEOMETRY,On,100:MCS,Off,100:METHOD,On,100:PART_STOCK,Off,100:FLOOR_STOCK,Off,100:DEPTHOFCUT,Off,100:STEPOVER,Off,100:MIN TOOL LENGTH,Off,100:FEED,Off,100:SPINDLE SPEED,Off,100:FEED RATE OPTIMIZED,Off,100:GROUP,Off,100:EDIT_STATUS,Off,100:GOUGE CHECK,Off,100:START UDE,Off,100:END UDE,Off,100:DEPENDENCIES,Off,100:WORK INSTRUCTIONS,Off,100
Operation Navigator Column Headers NAME,On,332:CHANNEL,Off,100:PATH,On,50:IPW,Off,50:TOOL,On,100:DESCRIPTION,On,150:NOTES,Off,100:HOLDER_DESC,Off,100:TOOLNUM,On,100:TIME,Off,100:PATH LENGTH,Off,100:GEOMETRY,On,100:MCS,Off,100:METHOD,On,100:PART_STOCK,Off,100:FLOOR_STOCK,Off,100:DEPTHOFCUT,Off,100:STEPOVER,Off,100:MIN TOOL LENGTH,Off,100:FEED,Off,100:SPINDLE SPEED,Off,100:FEED RATE OPTIMIZED,Off,100:GROUP,On,100:EDIT_STATUS,Off,100:CARRIER,Off,100:POCKET,Off,100:GOUGE CHECK,Off,100:START UDE,Off,100:END UDE,Off,100:DEPENDENCIES,Off,100:WORK INSTRUCTIONS,Off,100
&MACRO DIALOG_BEGIN "Persistent Dialog" 4711 ! Persistent
&MACRO BEG_ITEM 0 (1 BOOL 4711) = 0 ! Detailed View
&MACRO DIALOG_PERSISTENT_END 4711
&MACRO DIALOG_BEGIN "Persistent Dialog" 4712 ! Persistent
&MACRO DIALOG_PERSISTENT_END 4712
&MACRO DIALOG_BEGIN "Persistent Dialog" 6789 ! Persistent
&MACRO DIALOG_PERSISTENT_END 6789
MTB Navigator Column Headers NAME,On,200:CLASSIFICATION,On,150:CHANNELS,Off,80:JUNCTIONS,On,250:AXIS_NAME,On,100:AXIS_NUMBER,Off,80:AXIS_INITIAL_VALUE,On,80:AXIS_NC_FLAG,On,80:AXIS_TYPE,Off,100:AXIS_LIMITS,Off,150:AXIS_SOFT_LIMITS,Off,150:TURRET_ID,Off,100:POCKET_ID,Off,100:HOLDING_SYSTEMS,Off,150:CHAINS,On,250
&MACRO CUSTOM HEADER 25 "UGTL_macro" 0
&MACRO CUSTOM 25 ONT * TL_PICKED_ITEM * (1) * 0 ! NC_PROGRAM
&MACRO CUSTOM 25 ONT * TL_SELECT * (1) * 0 * 1 ! NC_PROGRAM
Successfully loaded dynamic module D:\ugnx11\NXBIN\libanalysisobjects.dll
Loaded module d:\ugnx11\nxbin\libanalysisobjects.dll 7fe8d740000 17000 e96bd09-44c0ca34-fa1707a8-3f54fb91-1=libanalysisobjects___149027047064 version = 11.0.1.11
Successfully loaded dynamic module D:\ugnx11\NXBIN\libfreeformsurfaces.dll
Loaded module d:\ugnx11\nxbin\libfreeformsurfaces.dll 7fe8d690000 a7000 15df1c26-4b8a1577-a31a558e-744ece9d-1=libfreeformsurfaces___149027036064 version = 11.0.1.11
&MACRO MENU, 0, UG_CAM_ONT_OUT_MACHINE_DATA UG_GATEWAY_MAIN_MENUBAR <rbn_manufacturing_home.rtb->rbn_manufacturing_operations.grb> ## !
&MACRO ASK_ITEM 1 (1 LIST 0) = "WIRE_EDM_4_AXIS" !
&MACRO ASK_ITEM 1 (1 LIST 0) = 0 !
PARSE ERROR: <parse error>. File D:\resource\postprocessor\wedm.def, In or Near Line Number 2512, Line .
*** EXCEPTION: Error code 1740002 in line 314 of o:\ugnx1101\ip11\src\cams\no\ind\mom_post_definitions.c at Wed May 24 16:58:59 2017 Malay Peninsula Standard Time
+++ PARSE ERROR: <parse error>. File D:\resource\postprocessor\wedm.def, In or Near Line Number 2512, Line .
[ 1] 07FED9544EA4 (libsyss)
[ 2] 07FED9544B2B (libsyss)
[ 3] 07FED9545C61 (libsyss)
[ 4] 07FED9546012 (libsyss)
[ 5] 07FED94F964E (libsyss)
[ 6] 07FED94F7762 (libsyss)
[ 7] 07FE9D06A27A (libcams)
[ 8] 07FE9D06A22E (libcams)
[ 9] 07FE9D06A740 (libcams)
[10] 07FE9D06B606 (libcams)
[11] 07FED49B6534 (libcamsmom)
[12] 07FE9D06B4D9 (libcams)
[13] 07FE9D3A6814 (libcams)
[14] 07FE9D06214B (libcams)
[15] 07FE936E3447 (libcamsutilint)
[16] 07FE936E3790 (libcamsutilint)
[17] 000000666EDA (windowsui)
[18] 07FED8B0E94C (libugui)
[19] 07FED8B1B03D (libugui)
[20] 07FED8B1A0A7 (libugui)
[21] 07FED8B1B133 (libugui)
[22] 07FED8B1958E (libugui)
[23] 07FED8C39D0B (libugui)
[24] 07FED8C3A48F (libugui)
[25] 07FE936E06BB (libcamsutilint)
[26] 07FE93B2B84A (libcamsint)
[27] 07FE93B2B18C (libcamsint)
[28] 07FE935A5995 (libcamsutilint)
[29] 07FE935A6270 (libcamsutilint)
[30] 07FE93AD3C3A (libcamsint)
[31] 07FED8C1201B (libugui)
[32] 07FED8C12852 (libugui)
[33] 07FED8C14EEC (libugui)
[34] 07FED8C13FFF (libugui)
[35] 07FED8C13F5E (libugui)
[36] 07FED8C21675 (libugui)
[37] 000000600B89 (windowsui)
[38] 0000005F97B0 (windowsui)
[39] 00000045902D (ugtbxm)
[40] 000000440F0D (ugtbxm)
[41] 000000440405 (ugtbxm)
[42] 07FEBAEC9026 (mfc120u)
[43] 07FEBAEC8A68 (mfc120u)
[44] 07FEBAEC6422 (mfc120u)
[45] 07FEBAEC67A4 (mfc120u)
[46] 07FEBAD80A75 (mfc120u)
[47] 0000773C9BBD (USER32)
[48] 0000773C98C2 (USER32)
[49] 07FEBAEB0FB6 (mfc120u)
[50] 00000066B590 (windowsui)
[51] 00000066BBA1 (windowsui)
[52] 00000066E303 (windowsui)
[53] 07FED8B41A10 (libugui)
[54] 07FED8DF4947 (libugui)
[55] 07FED8D6CA71 (libugui)
[56] 07FED8D6C8FC (libugui)
[57] 07FE93AAA6AD (libcamsint)
[58] 07FE93ADD16B (libcamsint)
[59] 07FE93ADDAEB (libcamsint)
[60] 07FE93AD668A (libcamsint)
[61] 07FED8DF3A73 (libugui)
[62] 07FED8DF131F (libugui)
[63] 07FED8DF49F0 (libugui)
[64] 07FED8B40CB6 (libugui)
[65] 00000066B617 (windowsui)
[66] 00000066BBA1 (windowsui)
[67] 00000066E303 (windowsui)
[68] 07FED8B41A10 (libugui)
[69] 07FED8DF4947 (libugui)
[70] 07FED8D6CA71 (libugui)
[71] 07FEBAACC2C3 (libuginitint)
[72] 00014000838F (ugraf)
[73] 000140005897 (ugraf)
[74] 00014000BF6E (ugraf)
[75] 0000772A59CD (kernel32)
[76] 0000774DA561 (ntdll)
>>>> Error code 1740002 caught in file "o:\ugnx1101\ip11\src\cams\no\ind\mom_post_definitions.c" at line number 508
>>>> Error code 1740002 caught in file "o:\ugnx1101\ip11\src\cams\no\ind\mom_post_definitions.c" at line number 1087
>>>> Error code 1740002 caught in file "DLGManager.cpp" at line number 505
>>>> Error code 1740002 caught in file "o:\ugnx1101\ip11\src\ugui\no\ind\dlg_callbacks.c" at line number 225
>>>> Error code 1740002 caught in file "o:\ugnx1101\ip11\src\ugui\no\ind\dlg_main.c" at line number 1727
>>>> Error code 1740002 caught in file "D:\workdir\reference\NX1101_11\src\ugui\no\ind\mtlib.c" at line number 2947
>>>> Error code 1740002 caught in file "D:\workdir\reference\NX1101_11\src\camsutilint\no\ind\ui_mom.c" at line number 1822
>>>> Error code 1740002 caught in file "D:\workdir\reference\NX1101_11\src\camsint\no\ind\ui_setup_cmd_output.c" at line number 544
&MACRO FOCUS CHANGE IN 1
&MACRO MESSAGE_BOX -2, Received an error 1740002
&MACRO MESSAGE_TEXT File name: o:\ugnx1101\ip11\src\cams\no\ind\mom_post_definitions.c, line number: 314
&MACRO MESSAGE_TEXT Error Message: PARSE ERROR: <parse error>. File D:\resource\postprocessor\wedm.def, In or Near Line Number 2512, Line .
&MACRO MENU, 0, UG_HELP_SYSTEM_LOG UG_GATEWAY_MAIN_MENUBAR <RibbonTopBar->MenuBar->UG_HELP> ## !
Successfully loaded dynamic module D:\ugnx11\NXBIN\libhelpint.dll
Loaded module d:\ugnx11\nxbin\libflat.dll 7fe8d1f0000 5c000 d4efdc00-42b02dba-412903a2-d3280387-1=libflat___149027273764 version = 11.0.1.11
Loaded module d:\ugnx11\nxbin\libsmdint.dll 7fe8d250000 27c000 60ead3ef-46534a38-fc438ba9-e85028bb-1=libsmdint___149026909464 version = 11.0.1.11
Loaded module d:\ugnx11\nxbin\libhelpint.dll 7fe8d4d0000 1a1000 44335f71-415805b2-a85d90a8-1fdbbba7-1=libhelpint___149027078564 version = 11.0.1.11
 

 

 

Re: NX10 to NX 11 CAM post processor migrate ( Parse Error)

Esteemed Contributor
Esteemed Contributor

What is UGII_CAM_USER_DEF_EVENT_DIR set to, since the wedm.def file is sourcing the ude.cdl file from there.

Could you comment out the WEDM post in the post template file to check if it is a general issue.

There can be file corruption, if you copy files from one location to the other due to AV software and network issues.

Stefan Pendl, Systemmanager CAx, HAIDLMAIR GmbH
Production: NX10.0.3, VERICUT 8.0, FBM, MRL 3.1.4 | TcUA 10.1 MP7 Patch 0 (10.1.7.0) | TcVis 10.1
Development: VB.NET, Tcl/Tk    Testing: NX12.0

How to Get the Most from Your Signature in the Community

Re: NX10 to NX 11 CAM post processor migrate ( Parse Error)

I'm a little lost here...

Have you tried opening the NX 10 post in NX 11 Postbuilder (or PC), and saving it to the NX 11 location?

Mark Rief
Retired Siemens

Re: NX10 to NX 11 CAM post processor migrate ( Parse Error)

Creator
Creator

Hi Mark, Stefan,

 

Few test i tried out

1. Changes NX 11 UGII_CAM_POST_DIR to productive NX10folder ( NX10 post) show the same error for nx10post. ( same error code for our post)

2. Copy entire OOTB Resource file to productive NX11folder , copy nx10post into NX11folder, map UGII_CAM_POST_DIR and update template_post.dat .( same error code for nx10post)

3. Copy entire OOTB Resource file to productive NX11folder , copy nx10post into NX11folder, map UGII_CAM_RESOURCE_DIR and update template_post.dat 

4. Copy entire OOTB Resource file into productive NX11folder and map UGII_CAM_RESOURCE_DIR with OOTB post.( same error code for wedm.def)

5. Copy Nx10post into OOTB directory, modify template_post.dat and it work well. ( shown in list).

6. Use OOTB Directory and browse function to select nx10post and successfully post output with nx10post processor.

7. Commend out post ( regardless of OOTB post or NX10post), it show next post to be error..( same error code)

8. Open NX10 in NX11 post builder and save it, same error code.

 

I was testing out this update for months since NX 11.0.0 to NX 11.0.1.11 MP2