if im changing the right bit of code then this is what i get
the hal file is here aswell (edited for alais pin changed for setp)
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.32-122-rtai/modules/linuxcnc
LINUXCNC_CONFIG_DIR=
LINUXCNC_LANG_DIR=/usr/share/linuxcnc/tcl/msgs
INIVAR=inivar
HALCMD=halcmd
LINUXCNC_EMCSH=/usr/bin/wish8.5
LINUXCNC - 2.5.0
Machine configuration directory is '/home/profiler/linuxcnc/configs/my_EMC_machine-1'
Machine configuration file is 'my_EMC_machine.ini'
INIFILE=/home/profiler/linuxcnc/configs/my_EMC_machine-1/my_EMC_machine.ini
PARAMETER_FILE=emc.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
Shutting down and cleaning up LinuxCNC...
Running HAL shutdown script
Killing task linuxcncsvr, PID=3841
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
my_EMC_machine.hal:20: value 'pid.x.Pgain' invalid for float
my_EMC_machine.hal:20: setp failed
3841
PID TTY STAT TIME COMMAND
Stopping realtime threads
Unloading hal components
Kernel message information:
[ 1386.720551] I-pipe: Domain RTAI registered.
[ 1386.720565] RTAI[hal]: <3.8.1> mounted over IPIPE-NOTHREADS 2.6-03.
[ 1386.720570] RTAI[hal]: compiled with gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) .
[ 1386.720650] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
[ 1386.720655] PIPELINE layers:
[ 1386.720660] fd337e20 9ac15d93 RTAI 200
[ 1386.720665] c085cb20 0 Linux 100
[ 1386.767216] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[ 1386.768077] RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE: <with RTAI OWN KTASKs>, kstacks pool size = 524288 bytes.
[ 1386.768090] RTAI[sched]: hard timer type/freq = APIC/12500408(Hz); default timing: periodic; linear timed lists.
[ 1386.768098] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 1799920000 hz.
[ 1386.768103] RTAI[sched]: timer setup = 999 ns, resched latency = 2944 ns.
[ 1386.768248] RTAI[usi]: enabled.
[ 1386.854827] RTAI[math]: loaded.
[ 1386.981769] hm2: loading Mesa HostMot2 driver version 0.15
[ 1386.987162] hm2_pci: loading Mesa AnyIO HostMot2 driver version 0.7
[ 1386.987210] hm2_pci: discovered 5i20 at 0000:05:00.0
[ 1386.987339] hm2_5i20.0: firmware: requesting hm2/5i20/SVST8_4.BIT
[ 1387.162076] hm2/hm2_5i20.0: 72 I/O Pins used:
[ 1387.162088] hm2/hm2_5i20.0: IO Pin 000 (P2-01): Encoder #1, pin B (Input)
[ 1387.162096] hm2/hm2_5i20.0: IO Pin 001 (P2-03): Encoder #1, pin A (Input)
[ 1387.162103] hm2/hm2_5i20.0: IO Pin 002 (P2-05): Encoder #0, pin B (Input)
[ 1387.162110] hm2/hm2_5i20.0: IO Pin 003 (P2-07): Encoder #0, pin A (Input)
[ 1387.162117] hm2/hm2_5i20.0: IO Pin 004 (P2-09): Encoder #1, pin Index (Input)
[ 1387.162124] hm2/hm2_5i20.0: IO Pin 005 (P2-11): Encoder #0, pin Index (Input)
[ 1387.162132] hm2/hm2_5i20.0: IO Pin 006 (P2-13): PWMGen #1, pin Out0 (PWM or Up) (Output)
[ 1387.162140] hm2/hm2_5i20.0: IO Pin 007 (P2-15): PWMGen #0, pin Out0 (PWM or Up) (Output)
[ 1387.162148] hm2/hm2_5i20.0: IO Pin 008 (P2-17): PWMGen #1, pin Out1 (Dir or Down) (Output)
[ 1387.162155] hm2/hm2_5i20.0: IO Pin 009 (P2-19): PWMGen #0, pin Out1 (Dir or Down) (Output)
[ 1387.162163] hm2/hm2_5i20.0: IO Pin 010 (P2-21): PWMGen #1, pin Not-Enable (Output)
[ 1387.162171] hm2/hm2_5i20.0: IO Pin 011 (P2-23): PWMGen #0, pin Not-Enable (Output)
[ 1387.162178] hm2/hm2_5i20.0: IO Pin 012 (P2-25): Encoder #3, pin B (Input)
[ 1387.162185] hm2/hm2_5i20.0: IO Pin 013 (P2-27): Encoder #3, pin A (Input)
[ 1387.162192] hm2/hm2_5i20.0: IO Pin 014 (P2-29): Encoder #2, pin B (Input)
[ 1387.162199] hm2/hm2_5i20.0: IO Pin 015 (P2-31): Encoder #2, pin A (Input)
[ 1387.162206] hm2/hm2_5i20.0: IO Pin 016 (P2-33): Encoder #3, pin Index (Input)
[ 1387.162214] hm2/hm2_5i20.0: IO Pin 017 (P2-35): Encoder #2, pin Index (Input)
[ 1387.162221] hm2/hm2_5i20.0: IO Pin 018 (P2-37): PWMGen #3, pin Out0 (PWM or Up) (Output)
[ 1387.162229] hm2/hm2_5i20.0: IO Pin 019 (P2-39): PWMGen #2, pin Out0 (PWM or Up) (Output)
[ 1387.162236] hm2/hm2_5i20.0: IO Pin 020 (P2-41): PWMGen #3, pin Out1 (Dir or Down) (Output)
[ 1387.162244] hm2/hm2_5i20.0: IO Pin 021 (P2-43): PWMGen #2, pin Out1 (Dir or Down) (Output)
[ 1387.162252] hm2/hm2_5i20.0: IO Pin 022 (P2-45): PWMGen #3, pin Not-Enable (Output)
[ 1387.162259] hm2/hm2_5i20.0: IO Pin 023 (P2-47): PWMGen #2, pin Not-Enable (Output)
[ 1387.162266] hm2/hm2_5i20.0: IO Pin 024 (P3-01): IOPort
[ 1387.162272] hm2/hm2_5i20.0: IO Pin 025 (P3-03): IOPort
[ 1387.162278] hm2/hm2_5i20.0: IO Pin 026 (P3-05): IOPort
[ 1387.162283] hm2/hm2_5i20.0: IO Pin 027 (P3-07): IOPort
[ 1387.162289] hm2/hm2_5i20.0: IO Pin 028 (P3-09): IOPort
[ 1387.162295] hm2/hm2_5i20.0: IO Pin 029 (P3-11): IOPort
[ 1387.162301] hm2/hm2_5i20.0: IO Pin 030 (P3-13): IOPort
[ 1387.162307] hm2/hm2_5i20.0: IO Pin 031 (P3-15): IOPort
[ 1387.162313] hm2/hm2_5i20.0: IO Pin 032 (P3-17): IOPort
[ 1387.162319] hm2/hm2_5i20.0: IO Pin 033 (P3-19): IOPort
[ 1387.162324] hm2/hm2_5i20.0: IO Pin 034 (P3-21): IOPort
[ 1387.162330] hm2/hm2_5i20.0: IO Pin 035 (P3-23): IOPort
[ 1387.162336] hm2/hm2_5i20.0: IO Pin 036 (P3-25): IOPort
[ 1387.162342] hm2/hm2_5i20.0: IO Pin 037 (P3-27): IOPort
[ 1387.162348] hm2/hm2_5i20.0: IO Pin 038 (P3-29): IOPort
[ 1387.162354] hm2/hm2_5i20.0: IO Pin 039 (P3-31): IOPort
[ 1387.162359] hm2/hm2_5i20.0: IO Pin 040 (P3-33): IOPort
[ 1387.162365] hm2/hm2_5i20.0: IO Pin 041 (P3-35): IOPort
[ 1387.162371] hm2/hm2_5i20.0: IO Pin 042 (P3-37): IOPort
[ 1387.162377] hm2/hm2_5i20.0: IO Pin 043 (P3-39): IOPort
[ 1387.162383] hm2/hm2_5i20.0: IO Pin 044 (P3-41): IOPort
[ 1387.162389] hm2/hm2_5i20.0: IO Pin 045 (P3-43): IOPort
[ 1387.162395] hm2/hm2_5i20.0: IO Pin 046 (P3-45): IOPort
[ 1387.162401] hm2/hm2_5i20.0: IO Pin 047 (P3-47): IOPort
[ 1387.162406] hm2/hm2_5i20.0: IO Pin 048 (P4-01): IOPort
[ 1387.162412] hm2/hm2_5i20.0: IO Pin 049 (P4-03): IOPort
[ 1387.162418] hm2/hm2_5i20.0: IO Pin 050 (P4-05): IOPort
[ 1387.162424] hm2/hm2_5i20.0: IO Pin 051 (P4-07): IOPort
[ 1387.162430] hm2/hm2_5i20.0: IO Pin 052 (P4-09): IOPort
[ 1387.162436] hm2/hm2_5i20.0: IO Pin 053 (P4-11): IOPort
[ 1387.162441] hm2/hm2_5i20.0: IO Pin 054 (P4-13): IOPort
[ 1387.162447] hm2/hm2_5i20.0: IO Pin 055 (P4-15): IOPort
[ 1387.162453] hm2/hm2_5i20.0: IO Pin 056 (P4-17): IOPort
[ 1387.162459] hm2/hm2_5i20.0: IO Pin 057 (P4-19): IOPort
[ 1387.162465] hm2/hm2_5i20.0: IO Pin 058 (P4-21): IOPort
[ 1387.162471] hm2/hm2_5i20.0: IO Pin 059 (P4-23): IOPort
[ 1387.162476] hm2/hm2_5i20.0: IO Pin 060 (P4-25): IOPort
[ 1387.162482] hm2/hm2_5i20.0: IO Pin 061 (P4-27): IOPort
[ 1387.162488] hm2/hm2_5i20.0: IO Pin 062 (P4-29): IOPort
[ 1387.162494] hm2/hm2_5i20.0: IO Pin 063 (P4-31): IOPort
[ 1387.162500] hm2/hm2_5i20.0: IO Pin 064 (P4-33): IOPort
[ 1387.162506] hm2/hm2_5i20.0: IO Pin 065 (P4-35): IOPort
[ 1387.162512] hm2/hm2_5i20.0: IO Pin 066 (P4-37): IOPort
[ 1387.162517] hm2/hm2_5i20.0: IO Pin 067 (P4-39): IOPort
[ 1387.162523] hm2/hm2_5i20.0: IO Pin 068 (P4-41): IOPort
[ 1387.162529] hm2/hm2_5i20.0: IO Pin 069 (P4-43): IOPort
[ 1387.162535] hm2/hm2_5i20.0: IO Pin 070 (P4-45): IOPort
[ 1387.162541] hm2/hm2_5i20.0: IO Pin 071 (P4-47): IOPort
[ 1387.162766] hm2/hm2_5i20.0: registered
[ 1387.162771] hm2_5i20.0: initialized AnyIO board at 0000:05:00.0
[ 1387.714016] hm2_5i20.0: dropping AnyIO board at 0000:05:00.0
[ 1387.714029] hm2/hm2_5i20.0: unregistered
[ 1387.714104] hm2_pci: driver unloaded
[ 1387.718524] hm2: unloading
[ 1387.786855] RTAI[math]: unloaded.
[ 1387.828664] SCHED releases registered named ALIEN RTGLBH
[ 1387.863367] RTAI[malloc]: unloaded.
[ 1387.960032] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0).
[ 1387.964065] I-pipe: Domain RTAI unregistered.
[ 1387.964164] RTAI[hal]: unmounted. This attachment is hidden for guests. Please log in or register to see it.