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
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
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
_____________________________________________________________
Alfred,
Vielen Dank! Das hat geklappt, aber mit mehrer Mühe als angedeutet wurde.
(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
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.
pinnames.ulp.zip |
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.
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.