element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Autodesk EAGLE
  • Products
  • More
Autodesk EAGLE
EAGLE User Support (English) Is there a ULP script for exporting pin names?
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Autodesk EAGLE to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 6 replies
  • Subscribers 172 subscribers
  • Views 709 views
  • Users 0 members are here
  • ulp
Related

Is there a ULP script for exporting pin names?

Former Member
Former Member over 14 years ago

Hi,

 

I have a 48-pin microprocessor, and I'd like to make a bus for it in my schematic. Is there a way to export the pin names of the device from the library in a comma-delimited fashion?

 

Regards,

Tele

  • Sign in to reply
  • Cancel
  • Former Member
    0 Former Member over 14 years ago

    Am 16.03.2011 17:32, schrieb Telemachus:

    Hi,

     

    I have a 48-pin microprocessor, and I'd like to make a bus for it in my schematic. Is there a way to export the pin names of the device from the library in a comma-delimited fashion?

     

    Regards,

    Tele

     

    EXPORT script ...

     

    HELP EXPORT (enter)

     

     

    Mit freundlichen Grüßen / Best regards

     

    Alfred Zaffran

    --

    _____________________________________________________________

    Alfred Zaffran              Support

    CadSoft Computer GmbH       Hotline:   08635-698930

    Pleidolfweg 15              FAX:       08635-698940

    84568 Pleiskirchen          eMail: <alf@cadsoft.de>

                                 Web:   <www.cadsoft.de>

    Registergericht: Amtsgericht Traunstein HRB 5573

    Geschäftsführer: Dipl.-Ing. Klaus Schmidinger, Bodo Badnowitz

    _____________________________________________________________

     

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • WestfW
    0 WestfW over 14 years ago in reply to Former Member

    I think the idea is that given a schematic that contains a BUS called "D0..15" and also a device that contains a symbol that has pins called "D0", "D1", ..., "D15", to somehow aid the connection of all those pins to that bus, rather than having to connect them one at a time.  Or at least get the names of all of the pins for use in a BUS command (so you can generate "bus A[0..31],B[0..31],RESET,CLOCK,IOSEL[0..1]"...

     

    That would be nice...

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 14 years ago in reply to Former Member

    Alfred,

     

    Vielen Dank! Das hat geklappt, aber mit mehrer Mühe als angedeutet wurde. image

     

    (1) Open library, File ==> Export ==> Script ==> Save as file with ".scr" extension

    (2) Open file as text file (need to change extension to ".txt") and search for symbol (line = "Edit '[symbol name].sym';")

    (3) Select and copy pin data, and paste into Excel spreadsheet (or equivalent)

    (4) In Excel, "Data" ==> "Text to Colums", and delimit by spaces and single quotes, which will separate the actual pin names from all of the extra stuff on the same lines

    (5) If any of your pin names had single quotes before delimiting, add them back again

    (6) Copy entire column of pin names, and paste them TRANSPOSED into another column; delete original column of pin names

    (7) Save as ".csv" file, and open up saved file in a basic text editor

     

    Voilá! Now there is a string of pin names, comma-delimited. If anybody has a quicker way to obtain a comma-delimited pin-list, please post.

     

    -Tele

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 14 years ago

    Telemachus wrote:

    >I have a 48-pin microprocessor, and I'd like to make a bus for it in my schematic. Is there a

    >way to export the pin names of the device from the library in a comma-delimited fashion?

     

    run the attached ulp in the schematic like "run makeBusFromPins IC1"

    then draw your bus.

     

    warning: that ulp is quick and dirty work. It may do what you want,

    but ...

    --

     

    Lorenz

     

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • WestfW
    0 WestfW over 14 years ago in reply to Former Member

    How about the following ULP.

    Run it like "run pinnames U1" in a schematic and it'll pop up a dialog box containing the list of pin names for that part.

    This is sort of just a start, since it ought to do things like dealing with pins that have a common prefix, and individual gates on a particular sheet (which I can't do much with, having only the free version, but it IS a start, and a lot easier than dealing with export and a bunch of external programs.

     

    Have I ever mentioned how much I love having this sort of ULP capability?  It's certainly a strong selling point that if EAGLE doesn't do quite what I want it do do "out of the box", there's a pretty good chance that it can be "easily" extended with new capabilities.  It's a bit of a shame that the intersection of "PCB designers who use EAGLE" and "Programmers who like programming in somewhat obscure languages" isn't a larger number of people.

    Attachments:
    pinnames.ulp.zip
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • WestfW
    0 WestfW over 14 years ago in reply to WestfW

    On 3/18/11 1:08 AM, WestfW wrote:

    How about the following ULP.

     

    Here's the actual ULP.  Apparently posting at the element14 site causes

    attachments to be lost before they get to the newsgroup, while

    attachments posted to the newsgroup get lost before they reach element14.

     

     

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube