Anders Wallin <[EMAIL PROTECTED]> wrote: > > Oops, found a typo: > > there's at least one more, the line where pyvcp is called should read: > loadusr -W pyvcp pyvcp-dro.xml > > (original had underscore in the filename)
Thanks for testing those files. > John's xml has highlighted a feature/bug of pyvcp. The file starts > with an empty line(or just 'enter'), and xml.dom.minidom.parse does > not seem to like that: > pyVCP: Error: could not open pyvcp-dro.xml ! > > as soon as I remove the empty line at the beginning of the xml file, it > works: > pyVCP: Creating widgets from pyvcp-dro.xml ... Done. > > Is that a feature of XML/parsing, or a bug in vcpparse.py? No idea, I don't know much (anything) about XML. > > > net YphaseA parport.0.pin-04-in => encoder.1.phase-A > > with this new syntax, is there ever a named signal that gets created? > Or does 'net' just link two pins together ? It creates a named signal. The first arg (YphaseA) is the name of the new signal. The second arg (parport.0.pin-04-in) is a pin that is linked to the signal, and also determines the type of the signal, so you don't have to specify the type manually. All subsequent args are additional pins that are linked to the signal (and must match the type of the first pin). As with link, "=>" amd "<=" are for human readibility only and are ignored. So, if you write "net foo bar blech plop", that is the equivalent of: newsig foo typeof(bar) linksp foo bar linksp foo blech linksp foo plop Regards, John Kasunich ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users