Hi,

            on the stepper_mm.ini or your ini config file, on [display]
section add the line PYVCP=led_vcp.xml

1. create a file named led_vcp.xml and on it write the pyvcp code, on
your case write:

<pyvcp>

<label>

      <text>"testo dell'etichetta"</text>

</label>

<led>

      <halpin>"button_led"</halpin>

      <size>50</size>

      <on_color>"blue"</on_color>

      <off_color>"black"</off_color>

</led></pyvcp>

 

2. on [hal] section of config.ini file add line :

 

POSTGUI_HALFILE =led_to_pyvcp.hal

 

3. And create led_to_pyvcp.hal

The led_to_pyvcp.hal content the led to signal link:

For example:

newsig but_led bit

linksp but_led => pyvcp.button_led 

 

if you don't write anythink on this file the led was show on axis but it
don't work.

It's all.

Sorry for English.

 

 

-----Messaggio originale-----
Da: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Per conto di Olusegun
A.
Inviato: sabato 16 agosto 2008 20.43
A: emc-users@lists.sourceforge.net
Oggetto: [Emc-users] I NEED HELP,ON WHAT PAGE IN UBUNTU SHOULD CAN I RUN
MY PYVCP TEST FOR LABEL

 


I'm new hear, I need help on this topic above: I intend to create a
label on the axis environment, i have read through the integrators
manual but I dont know how to get to run the program. I need a step by
step guide. what I wanted to run is:

<pyvcp>

<label text="This is a LED indicator"/>

<led/>

</pyvcp>

I wanted to see ow this program will create the label and showing the
LED.

 

Please help


Olusegun Abode 
+234 8037045535 
Email:[EMAIL PROTECTED]

 

-------------------------------------------------------------------------
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

Reply via email to