Hi John;

Not atm. Straight out of the sample in section 6.4, with the label count 
trimmed to 2 quoted strings, it only generates a single pyvcp.label0, 
which without a net connection is stuck true and displays both quoted 
labels merged into one string.

I an assuming the strings "string1" "string2" are just the labels to be
displayed when the match halpin is true and can be anything printable.

Lemme add it back into the .xml and see if I can figure it out again.
Here is what 6.4 says:
<multilabel>
    <legends>["Label1" "Label2" "Label3" "Label4" "Label5" "Label6"]</legends>
    <font>("Helvetica",20)</font>
    <disable>False</disable>
</multilabel>

And attempt to use that example, returns this error message as lcnc bails out.
Error constructing multilabel({'font': ('Helvetica', 20), 'legends': 
['Label1Label2Label3Label4Label5Label6'], 'disable': False}):
unknown color name "0"
Shutting down and cleaning up LinuxCNC...

So I can't tell if it generates any pyvcp.pin#'s or not.
What I have is a vbox containing 3 hbox's, the label, a color changing 
<rectled>, and a <number> as the bottom hbox. And I did have it running,
but my attempts to add it back into the xml this time are 100% fail. 
I'll build another .xml with nothing in it but that. And with this:
<?xml version='1.0' encoding='UTF-8'?>

<pyvcp>
<!--
Include your PyVCP panel here.
The contents of this file will not be overwritten when you run stepconf
again. FWIW, its not been run yet.

This is the tachometer and the three status buttons for overall motor
power,  and the spindles direction, if running.  The hal file is going
to be reconfigured so that when the machine is enabled, signals will be
sent to turn on 2 SSR's, enabling the 127 volts for the xy motors and
one side of the vfd, 254 feed with one of them, and the other leg of the
254 volt to the vfd with the 2nd one.  Yet to be wired up, but might as
well have it ready when the SSR's are ready to be put to work. Wired up
and controlling all motor power now.  This must be executed before the
postgui.hal that hooks these hal-pins up.
-->
  <hbox>
    <vbox>
      <multilabel>
        <legends>["Label1" "Label2" "Label3" "Label4" "Label5" 
"Label6"]</legends>
        <font>("Helvetica",20)</font>
        <disable>False</disable>
       </multilabel>
    </vbox>
 </hbox>
</pyvcp>

Fails exactly as quoted above. I gotta go check dinner, back in an hour 
or so when I've fed us.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to