ToigaT
Aerospace
- Jan 29, 2010
- 32
My Wire-EDM post processor suffers from a problem. When I try to post I get an error:
- - - - - - - - - - - - - - - - - - - - - - - -
***TCL_ERROR***: Event Handler: C:\Users\XX\Documents\XX\NX\Posts\CUT_30_13.tcl, Event: MOM_machine_mode, Error: can't read "sim_mtd_initialized": no such variable
while executing
"if { $sim_mtd_initialized } {
if { [llength [info commands PB_VNC_pass_tool_data] ] } {
PB_VNC_pass_tool_data
}
}"
(procedure "MOM_machine_mode" line 22)
"MOM_machine_mode"*** EXCEPTION: Error code 1770002 in line 475 of o:\ugnx75\ip32\src\camsmom\no\ind\mom_tcl_definitions.c at Tue May 18 08:35:23 2010
- - - - - - - - - - - - - - - - - - - - - - - -
To work around this problem, I have made an entry into the start of the program declaring sim_mtd_initialized as global and setting that to 0:
- - - - - - - - - - - - - - - - - - - - - - - -
global sim_mtd_initialized
set sim_mtd_initialized 0
- - - - - - - - - - - - - - - - - - - - - - - -
Please can someone advise me what is going wrong here. I am guessing there's a problem in the tcl definitions file.
- - - - - - - - - - - - - - - - - - - - - - - -
***TCL_ERROR***: Event Handler: C:\Users\XX\Documents\XX\NX\Posts\CUT_30_13.tcl, Event: MOM_machine_mode, Error: can't read "sim_mtd_initialized": no such variable
while executing
"if { $sim_mtd_initialized } {
if { [llength [info commands PB_VNC_pass_tool_data] ] } {
PB_VNC_pass_tool_data
}
}"
(procedure "MOM_machine_mode" line 22)
"MOM_machine_mode"*** EXCEPTION: Error code 1770002 in line 475 of o:\ugnx75\ip32\src\camsmom\no\ind\mom_tcl_definitions.c at Tue May 18 08:35:23 2010
- - - - - - - - - - - - - - - - - - - - - - - -
To work around this problem, I have made an entry into the start of the program declaring sim_mtd_initialized as global and setting that to 0:
- - - - - - - - - - - - - - - - - - - - - - - -
global sim_mtd_initialized
set sim_mtd_initialized 0
- - - - - - - - - - - - - - - - - - - - - - - -
Please can someone advise me what is going wrong here. I am guessing there's a problem in the tcl definitions file.