Git Product home page Git Product logo

convert-eds-xdd's Introduction

NAME

Convert::EDS::XDD - Convert CANopen EDS to POWERLINK XDD

SYNOPSIS

$ cpan Convert::EDS::XDD # install from CPAN
$ eds2xdd profile.eds > profile.xdd # Convert with the eds2xdd script

DESCRIPTION

EDS is an ini based format specified by the CiA e.V. in order to describe CANopen devices. The Ethernet POWERLINK Standardization Group specifies an EDS-based XML format for EPL devices.

This module takes in an EDS file or a string with its content and returns a XDD string. An eds2xdd wrapper script is also installed into the PATH.

eds2xdd is also available as a self-contained (fatpacked) script at the Github releases page.

LIMITATIONS

May not handle all details of the EDS. Pull requests and reports (issues on Github) are welcome.

METHODS AND ARGUMENTS

eds2xdd($filename, [$encoding])

Here, the [] indicate an optional parameter.

Returns the EDS' content as XML string on success or undef on error in file contents.

Function croaks if opening file fails.

$encoding may be used to indicate the encoding of the file, e.g. 'utf8' or 'encoding(iso-8859-1)'.

Do not add a prefix to $encoding, such as '<' or '<:'.

eds2xdd_string($string)

Returns the EDS string as XML string

GIT REPOSITORY

http://github.com/epl-viz/Convert-EDS-XDD

SEE ALSO

EPL-Viz - Visualization for Ethernet POWERLINK

AUTHOR

Ahmad Fatoum <[email protected]>, http://a3f.at

COPYRIGHT AND LICENSE

Copyright (C) 2017-2018 Ahmad Fatoum

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

convert-eds-xdd's People

Contributors

a3f avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

jackyshiy

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.