Calibration no launch from Gscreen
23 Aug 2013 22:23 #38006
by ROG
Calibration no launch from Gscreen was created by ROG
Try as i might, when I click the calibration button in gscreen industrial, nothing happens.
Halshow and the rest of the buttons work fine.
Calibration worked in axis.
Any ideas anyone?
# opens halshow
def on_halshow(self,*args):
print "halshow",TCLPATH
p = os.popen("tclsh %s/bin/halshow.tcl -- -ini %s &" % (TCLPATH,self.inipath))
# opens the calibration program
def on_calibration(self,*args):
print "calibration --%s"% self.inipath
p = os.popen("tclsh %s/bin/emccalib.tcl -- -ini %s > /dev/null &" % (TCLPATH,self.inipath),"w")
Halshow and the rest of the buttons work fine.
Calibration worked in axis.
Any ideas anyone?
# opens halshow
def on_halshow(self,*args):
print "halshow",TCLPATH
p = os.popen("tclsh %s/bin/halshow.tcl -- -ini %s &" % (TCLPATH,self.inipath))
# opens the calibration program
def on_calibration(self,*args):
print "calibration --%s"% self.inipath
p = os.popen("tclsh %s/bin/emccalib.tcl -- -ini %s > /dev/null &" % (TCLPATH,self.inipath),"w")
Please Log in or Create an account to join the conversation.
25 Aug 2013 10:56 #38048
by cmorley
Replied by cmorley on topic Calibration no launch from Gscreen
If you run from a terminal does the text 'calibration - bla bla bla' show up?
Chris M
Chris M
Please Log in or Create an account to join the conversation.
25 Aug 2013 14:55 #38051
by ROG
Replied by ROG on topic Calibration no launch from Gscreen
Hi Chris
I found the problem.
My config folder name had spaces in it, which gscreen didnt like.
changed folder name with underscores, now it works fine.
Its always the simple ones that get ya!
FYI ..the error .....
calibration --/home/roger/linuxcnc/configs/AP C axis test/rog_test_1.ini
couldn't open "/home/roger/linuxcnc/configs/AP": no such file or directory
while executing
"open $thisinifile"
invoked from within
"set programin [open $thisinifile]"
(file "/usr/lib/tcltk/linuxcnc/bin/emccalib.tcl" line 118)
halshow /usr/lib/tcltk/linuxcnc
I found the problem.
My config folder name had spaces in it, which gscreen didnt like.
changed folder name with underscores, now it works fine.
Its always the simple ones that get ya!
FYI ..the error .....
calibration --/home/roger/linuxcnc/configs/AP C axis test/rog_test_1.ini
couldn't open "/home/roger/linuxcnc/configs/AP": no such file or directory
while executing
"open $thisinifile"
invoked from within
"set programin [open $thisinifile]"
(file "/usr/lib/tcltk/linuxcnc/bin/emccalib.tcl" line 118)
halshow /usr/lib/tcltk/linuxcnc
Please Log in or Create an account to join the conversation.
Time to create page: 0.064 seconds