[etherlab-dev] Xml output of ethercat (tool)

Florian Pose fp at igh-essen.com
Fri Apr 24 14:27:33 CEST 2009


On Fri, Apr 24, 2009 at 12:26:35PM +0200, Erwin Burgstaller wrote:
> The name could be EtherCATInfoList for example, any better names?
> 
> And attached there's a little patch for the file
> ''tool/CommandXml.cpp'', which would solve that. The patch works from
> Version 1.4 up to devel-r1713.
> 
> What do you think about?

The generated XML documents shall conform to the XML device description
schema. Generally adding a new top-level element will break this.

I think there are two solutions:

- Retrieving the XMLs one-by-one with the --alias and --position
  options, or

- Adding a --list option that adds the <EtherCATInfoList> tag
  optionally.

-- 
Best regards,
Florian Pose

http://etherlab.org



More information about the Etherlab-dev mailing list