Hello!

I am trying to create a glade vcp panel and I have several questions:

1) Does anybody else have issues with sim/gladevcp-panel sample
config? I receive an error, when I am trying it. Full text of the
error is pasted at the end of this message, but I suspect that this is
the crucial part:
X Error of failed request:  BadWindow (invalid Window parameter)
  Major opcode of failed request:  3 (X_GetWindowAttributes)
  Resource id in failed request:  0xffffffff
  Serial number of failed request:  739
  Current serial number in output stream:  740

It is just that I have completely no idea, what does it mean.

2) Is there a way to pass a text string from HAL file to be displayed as label?
I would like the label to be easy to change. Appropriate comment could
show, which is a place in HAL file,  while editing glade panel
directly seems more difficult tome me.

3) How can I place LED widgets anywhere on screen?
Currently there is a h-box with 2 columns and there is a large HAL
meter on the left.
I need to place leds right next to specific values on HAL meter
scales, so I wanted to place them by specifying something like
"address in pixels horizontally and vertically from whatever base
corner".
How can I do that?

-- 
Viesturs

If you can't fix it, you don't own it.
http://www.ifixit.com/Manifesto



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.1
Machine configuration directory is '/home/vie/linuxcnc/configs/sim/gladevcp-1'
Machine configuration file is 'gladevcp_panel.ini'
INIFILE=/home/vie/linuxcnc/configs/sim/gladevcp-1/gladevcp_panel.ini
PARAMETER_FILE=sim.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=20471
Killing task milltask, PID=20529
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
X Error of failed request:  BadWindow (invalid Window parameter)
  Major opcode of failed request:  3 (X_GetWindowAttributes)
  Resource id in failed request:  0xffffffff
  Serial number of failed request:  739
  Current serial number in output stream:  740
20471
  PID TTY      STAT   TIME COMMAND
20529
  PID TTY      STAT   TIME COMMAND
Stopping realtime threads
Unloading hal components

Kernel message information:
[ 5310.473359] I-pipe: Domain RTAI registered.
[ 5310.473366] RTAI[hal]: <3.8.1> mounted over IPIPE-NOTHREADS 2.6-03.
[ 5310.473368] RTAI[hal]: compiled with gcc version 4.4.3 (Ubuntu
4.4.3-4ubuntu5) .
[ 5310.473399] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE
(INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
[ 5310.473401] PIPELINE layers:
[ 5310.473404] fdf40e20 9ac15d93 RTAI 200
[ 5310.473406] c085cb20 0 Linux 100
[ 5310.492382] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[ 5310.492548] RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE: <with
RTAI OWN KTASKs>, kstacks pool size = 524288 bytes.
[ 5310.492554] RTAI[sched]: hard timer type/freq = APIC/12499588(Hz);
default timing: periodic; linear timed lists.
[ 5310.492557] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq
= 2599640000 hz.
[ 5310.492560] RTAI[sched]: timer setup = 999 ns, resched latency = 2943 ns.
[ 5310.492629] RTAI[usi]: enabled.
[ 5310.532694] RTAI[math]: loaded.
[ 5311.722566] RTAI[math]: unloaded.
[ 5311.746062] SCHED releases registered named ALIEN RTGLBH
[ 5311.776390] RTAI[malloc]: unloaded.
[ 5311.876037] RTAI[sched]: unloaded (forced hard/soft/hard
transitions: traps 0, syscalls 0).
[ 5311.878308] I-pipe: Domain RTAI unregistered.
[ 5311.878344] RTAI[hal]: unmounted.

------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to