acondit wrote: > I am running EMC2_2.2.7 and Axis. I am trying to add another widget to my > pyvcp. > I added this to panel.xml: > <labelframe text="Jog Speed"> > <scale> > <halpin>"jog-speed-set"</halpin> > <resolution>0.1</resolution> > <orient>HORIZONTAL</orient> > <min_>0</min_> > <max_>120</max_> > </scale> > </labelframe> > > I added this to custom_postgui.hal: > net jog-speed-final halui.jog-speed <= pyvcp.jog-speed-set > > The problem is that now EMC2 fails to load. > It reports that pyvcp.jog-speed-set does not exist in custom_postgui.hal. > > If I comment out the line in custom_postgui.hal EMC2 loads. > It shows the slider bar but of course it is not connected to anything. > > Does anyone have an idea what is wrong?
This is why "halcmd show" exists - so you can look at the pins in your system and see what is present or missing. Comment the line that causes the error, then start EMC2. Then in a shell, do "halcmd show pin" and scan the list to find the pin that belongs to your slider. My guess is that you don't need the pyvcp. prefix, but I'm not sure. You can also load _just_ your pyvcp panel. Then a hal show will show you all the pins it exports, and nothing else. Regards, John Kasunich ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users