[Emc-users] PyVCP puzzle

2012-12-23 Thread Gene Heskett
Greetings;

Never having played with very much xml, I am wondering how it might be 
possible to make a round tachometer display that has 2 needles, one in one 
color for requested speed, and one in a contrasting color to show actual 
speed as reported by the slightly filtered encoder.velocity output.

I am using the tutorial at:



down toward the bottom of that page.

Or is a dual needle display even possible in PyVCP?

I am assuming that if I can make it display the disconnected meter, then a 
halshow will discover the (halpin)(/halpin) that I can then 
'connect' in the postgui.hal to one of the hal outputs from the encoder?

Thanks.

Cheers, Gene
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
My web page:  is up!
Power corrupts.  Absolute power is kind of neat.
-- John Lehman, Secretary of the Navy, 1981-1987
I was taught to respect my elders, but its getting 
harder and harder to find any...

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] PyVCP puzzle

2012-12-23 Thread Gabriel Willen
Should be relatively easy using pycairo for the graphics. You can use gtk
drawing area and Cairo.create to make the widget.
On Dec 23, 2012 7:21 PM, "Gene Heskett"  wrote:

> Greetings;
>
> Never having played with very much xml, I am wondering how it might be
> possible to make a round tachometer display that has 2 needles, one in one
> color for requested speed, and one in a contrasting color to show actual
> speed as reported by the slightly filtered encoder.velocity output.
>
> I am using the tutorial at:
>
> 
>
> down toward the bottom of that page.
>
> Or is a dual needle display even possible in PyVCP?
>
> I am assuming that if I can make it display the disconnected meter, then a
> halshow will discover the (halpin)(/halpin) that I can then
> 'connect' in the postgui.hal to one of the hal outputs from the encoder?
>
> Thanks.
>
> Cheers, Gene
> --
> "There are four boxes to be used in defense of liberty:
>  soap, ballot, jury, and ammo. Please use in that order."
> -Ed Howdershelt (Author)
> My web page:  is up!
> Power corrupts.  Absolute power is kind of neat.
> -- John Lehman, Secretary of the Navy, 1981-1987
> I was taught to respect my elders, but its getting
> harder and harder to find any...
>
>
> --
> LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
> Remotely access PCs and mobile devices and provide instant support
> Improve your efficiency, and focus on delivering more value-add services
> Discover what IT Professionals Know. Rescue delivers
> http://p.sf.net/sfu/logmein_12329d2d
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] PyVCP puzzle

2012-12-23 Thread Gene Heskett
On Sunday 23 December 2012 22:46:04 Gabriel Willen did opine:

> Should be relatively easy using pycairo for the graphics. You can use
> gtk drawing area and Cairo.create to make the widget.
> 
Unforch, you could probably say that I'm dumber than a box of rocks on both 
subjects.

Where can I find a good tutorial?

> On Dec 23, 2012 7:21 PM, "Gene Heskett"  wrote:
> > Greetings;
> > 
> > Never having played with very much xml, I am wondering how it might be
> > possible to make a round tachometer display that has 2 needles, one in
> > one color for requested speed, and one in a contrasting color to show
> > actual speed as reported by the slightly filtered encoder.velocity
> > output.
> > 
> > I am using the tutorial at:
> > 
> > 
> > 
> > down toward the bottom of that page.
> > 
> > Or is a dual needle display even possible in PyVCP?
> > 
> > I am assuming that if I can make it display the disconnected meter,
> > then a halshow will discover the (halpin)(/halpin) that
> > I can then 'connect' in the postgui.hal to one of the hal outputs
> > from the encoder?
> > 
> > Thanks.
> > 
> > Cheers, Gene
> > --
> > 
> > "There are four boxes to be used in defense of liberty:
> >  soap, ballot, jury, and ammo. Please use in that order."
> > 
> > -Ed Howdershelt (Author)
> > My web page:  is up!
> > Power corrupts.  Absolute power is kind of neat.
> > 
> > -- John Lehman, Secretary of the Navy, 1981-1987
> > 
> > I was taught to respect my elders, but its getting
> > harder and harder to find any...
> > 
> > 
> > --
> >  LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free
> > Trial Remotely access PCs and mobile devices and provide instant
> > support Improve your efficiency, and focus on delivering more
> > value-add services Discover what IT Professionals Know. Rescue
> > delivers
> > http://p.sf.net/sfu/logmein_12329d2d
> > ___
> > Emc-users mailing list
> > Emc-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/emc-users
> 
> 
> -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free
> Trial Remotely access PCs and mobile devices and provide instant
> support Improve your efficiency, and focus on delivering more value-add
> services Discover what IT Professionals Know. Rescue delivers
> http://p.sf.net/sfu/logmein_12329d2d
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users


Cheers, Gene
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
My web page:  is up!
Receiving a million dollars tax free will make you feel better than
being flat broke and having a stomach ache.
-- Dolph Sharp, "I'm O.K., You're Not So Hot"
I was taught to respect my elders, but its getting 
harder and harder to find any...

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] PyVCP puzzle

2012-12-24 Thread Anders Wallin
> Or is a dual needle display even possible in PyVCP?
>

The attached patch (for master) adds an optional  tag that meter
understands. If supplied it will create a second blue needle, and a hal-pin
that controls that needle with the given name.
A test-panel I made for this looks like this: (will appear on my blog later
this week)
http://imagebin.org/240528

Anders


0002-dual-needle-meter-use-with-halpin2-meter2-halpin2.patch
Description: Binary data
--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] PyVCP puzzle

2012-12-24 Thread Gene Heskett
On Monday 24 December 2012 11:21:51 Anders Wallin did opine:

> > Or is a dual needle display even possible in PyVCP?
> 
> The attached patch (for master) adds an optional  tag that
> meter understands. If supplied it will create a second blue needle, and
> a hal-pin that controls that needle with the given name.
> A test-panel I made for this looks like this: (will appear on my blog
> later this week)
> http://imagebin.org/240528
> 
> Anders

Precisely the effect I am looking for, but I'd probably leave out the 
sliders below.

Thank you Anders

Cheers, Gene
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
My web page:  is up!
The aim of a joke is not to degrade the human being but to remind him that
he is already degraded.
-- George Orwell
I was taught to respect my elders, but its getting 
harder and harder to find any...

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] PyVCP puzzle

2012-12-24 Thread sam sokolik
the sliders are there just to test the meter.

Happy Holidays!

sam
On 12/24/2012 10:23 AM, Gene Heskett wrote:
> On Monday 24 December 2012 11:21:51 Anders Wallin did opine:
>
>>> Or is a dual needle display even possible in PyVCP?
>> The attached patch (for master) adds an optional  tag that
>> meter understands. If supplied it will create a second blue needle, and
>> a hal-pin that controls that needle with the given name.
>> A test-panel I made for this looks like this: (will appear on my blog
>> later this week)
>> http://imagebin.org/240528
>>
>> Anders
> Precisely the effect I am looking for, but I'd probably leave out the
> sliders below.
>
> Thank you Anders
>
> Cheers, Gene


--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users