Need to connect pin problem

More
02 Jun 2012 18:51 #20609 by cwebs
cwebs wrote:

BigJohnT wrote:

In your main ini file uncomment the last line by removing the # in front of loadusr.

Test run that.

John

This line is not in the .ini. It is in the .hal

Removed the comment and no change. Program runs and pin 16-out works the relay. Joypad dead.


This removel of comments kills Linuxcnc with error reports

Print file information:
RUN_IN_PLACE=no
LINUXCNC_DIR=
LINUXCNC_BIN_DIR=/usr/bin
LINUXCNC_TCL_DIR=/usr/lib/tcltk/linuxcnc
LINUXCNC_SCRIPT_DIR=
LINUXCNC_RTLIB_DIR=/usr/realtime-2.6.24-16-rtai/modules/linuxcnc
LINUXCNC_CONFIG_DIR=
LINUXCNC_LANG_DIR=/usr/share/linuxcnc/tcl/msgs
INIVAR=inivar
HALCMD=halcmd
LINUXCNC_EMCSH=/usr/bin/wish8.4
LINUXCNC - 2.5.0-62-g2e08696
Machine configuration directory is '/home/carl/linuxcnc/configs/Carl_CNC'
Machine configuration file is 'carl.ini'
INIFILE=/home/carl/linuxcnc/configs/Carl_CNC/carl.ini
PARAMETER_FILE=carl.var
TASK=milltask
HALUI=halui
DISPLAY=axis
Starting LinuxCNC...
Starting LinuxCNC server program: linuxcncsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting LinuxCNC IO program: io
Starting HAL User Interface program: halui
Starting TASK program: milltask
Starting DISPLAY program: axis
Shutting down and cleaning up LinuxCNC...
Killing task linuxcncsvr, PID=5589
Killing task milltask, PID=5723
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments
Cleanup done

Debug file information:
Can not find -sec MOT -var MOT -num 1
Can not find -sec IO -var IO -num 1
Can not find -sec LINUXCNC -var NML_FILE -num 1
Can not find -sec EMC -var NML_FILE -num 1
do_wait: drmWaitVBlank returned -1, IRQs don't seem to be working correctly.
Try running with LIBGL_THROTTLE_REFRESH and LIBL_SYNC_REFRESH unset.
Could not open command file 'postgui.hal'
5589
PID TTY STAT TIME COMMAND
5723
PID TTY STAT TIME COMMAND
5723 ? Z 0:00 [milltask] <defunct>
PID TTY STAT TIME COMMAND
Stopping realtime threads
Unloading hal components

Kernel message information:
[ 922.262281] I-pipe: Domain RTAI registered.
[ 922.262294] RTAI[hal]: <3.6.1> mounted over IPIPE-NOTHREADS 2.0-04.
[ 922.262297] RTAI[hal]: compiled with gcc version 4.2.4 (Ubuntu 4.2.4-1ubuntu3).
[ 922.262302] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
[ 922.262305] PIPELINE layers:
[ 922.262307] dcce5000 9ac15d93 RTAI 200
[ 922.262309] c0383180 0 Linux 100
[ 922.275775] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[ 922.276382] RTAI[sched]: loaded (IMMEDIATE, UP, USER/KERNEL SPACE: <with RTAI OWN KTASKs>, kstacks pool size = 524288 bytes.
[ 922.276388] RTAI[sched]: hard timer type/freq = 8254-PIT/1193180(Hz); default timing: periodic; linear timed lists.
[ 922.276418] RTAI[sched]: Linux timer freq = 250 (Hz), CPU freq = 2165053000 hz.
[ 922.276421] RTAI[sched]: timer setup = 2010 ns, resched latency = 2689 ns.
[ 922.351715] RTAI[math]: loaded.
[ 922.487512] config string '0x378 out '
[ 925.903226] RTAI[math]: unloaded.
[ 925.961431] SCHED releases registered named ALIEN RTGLBH
[ 925.976219] RTAI[malloc]: unloaded.
[ 926.075717] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0).
[ 926.077642] I-pipe: Domain RTAI unregistered.
[ 926.077650] RTAI[hal]: unmounted.

Please Log in or Create an account to join the conversation.

More
02 Jun 2012 18:56 - 02 Jun 2012 19:03 #20610 by BigJohnT
cwebs wrote:

BigJohnT wrote:

In your main ini file uncomment the last line by removing the # in front of loadusr.

Test run that.

John

This line is not in the .ini. It is in the .hal

Removed the comment and no change. Program runs and pin 16-out works the relay. Joypad dead.


Sorry about the ini/hal typo, trying to run parts on the VMC...

Back to this step, does the joypad show up in show hal configuration? if so it is not dead, just not connected.

John
Last edit: 02 Jun 2012 19:03 by BigJohnT.

Please Log in or Create an account to join the conversation.

More
02 Jun 2012 18:59 #20611 by BigJohnT

Could not open command file 'postgui.hal'


Did you rename your custom_postgui.hal to postgui.hal?

John

Please Log in or Create an account to join the conversation.

More
02 Jun 2012 19:11 #20613 by cwebs
BigJohnT wrote:

Could not open command file 'postgui.hal'


Did you rename your custom_postgui.hal to postgui.hal?

John


I must of missed the file rename!!! Everything seems to work after I renamed the custom_postgui to postgui.
Thank you, Thank you, and Thank you for the time to help me. I now have to make a wig out of the hair on the floor. Carl

PS, I still ain't gut a clue what we did. LOL

Please Log in or Create an account to join the conversation.

More
02 Jun 2012 19:17 #20615 by BigJohnT
cwebs wrote:

BigJohnT wrote:

Could not open command file 'postgui.hal'


Did you rename your custom_postgui.hal to postgui.hal?

John


I must of missed the file rename!!! Everything seems to work after I renamed the custom_postgui to postgui.
Thank you, Thank you, and Thank you for the time to help me. I now have to make a wig out of the hair on the floor. Carl

PS, I still ain't gut a clue what we did. LOL


I think we just got all of the T's crossed and the I's dotted... try superglue on your hair.

John

Please Log in or Create an account to join the conversation.

More
02 Jun 2012 19:22 #20616 by BigJohnT
I did notice something strange in show hal configuration when the signal name had a period in it. the name was displayed under machine instead of by itself... dunno if that has anything to do with the price of tea in China or not but that was the only thing I really changed.

John

Please Log in or Create an account to join the conversation.

More
02 Jun 2012 22:16 #20619 by cwebs
BigJohnT wrote:

I did notice something strange in show hal configuration when the signal name had a period in it. the name was displayed under machine instead of by itself... dunno if that has anything to do with the price of tea in China or not but that was the only thing I really changed.

John


I was wundering if you would pick up on that. Very good job, John

Please Log in or Create an account to join the conversation.

Time to create page: 0.136 seconds
Powered by Kunena Forum