EAGLE Central Forums
Where the EAGLE community meets. Sponsored by Stratford Digital.

Home » CadSoft Support Forums » eagle.userchat.eng » Is there a better search ULP
Is there a better search ULP [message #147609] Sat, 22 September 2012 16:22 Go to next message
fred[2]
Messages: 27
Registered: September 2012
Junior Member
I've been using eagle for about 2 weeks now and am very impressed.
I have been able to create my own component (package) first time with
very little difficulty and am finding the interface very usable
(contrary to advice I was given elsewhere)

My biggest problem however seems to be in component selection from
the extensive libraries.

Whilst I'm familiar with the obvious ones (3M Amphenol microchip etc)
when I come to select say a volatge regulator but dont
have the big names available locally - how can I search the entire
libraries for say "voltage regulator" to pull up makes I may never have
heard of?

Some libraries are named of course and can be searched after "USE [x}"
but others are not so obvious as to their content. Doing "use *" helps
but does mean confusing the in-use list.

Is there a better way to do this (if I have explained clearly enough)

It did occur to me to export the libraries to mySQL or similar somehow
but I dont know if there are license issues involved there.
Re: Is there a better search ULP [message #147611 is a reply to message #147609] Sat, 22 September 2012 20:14 Go to previous messageGo to next message
Richard Herman
Messages: 186
Registered: October 2005
Senior Member
Op Sat, 22 Sep 2012 18:27:23 +0200 schreef fred <email@address.com>:

>
>
> I've been using eagle for about 2 weeks now and am very impressed.
> I have been able to create my own component (package) first time with
> very little difficulty and am finding the interface very usable
> (contrary to advice I was given elsewhere)
>
> My biggest problem however seems to be in component selection from
> the extensive libraries.
>
> Whilst I'm familiar with the obvious ones (3M Amphenol microchip etc)
> when I come to select say a volatge regulator but dont
> have the big names available locally - how can I search the entire
> libraries for say "voltage regulator" to pull up makes I may never have
> heard of?
>
> Some libraries are named of course and can be searched after "USE [x}"
> but others are not so obvious as to their content. Doing "use *" helps
> but does mean confusing the in-use list.
>
> Is there a better way to do this (if I have explained clearly enough)
>
> It did occur to me to export the libraries to mySQL or similar somehow
> but I dont know if there are license issues involved there.
>
>


Hello,

you don't always need an ULP for this. When you "ADD" an component to the
schematic, you can use the search area near the bottom, to type in (part
of) a component name. You can use wilcards and/or placeholders here.
So if you type: *lm3?7*, you get lm317, lm337, lm307, lm387. If you type
78*, you'll get every part that starts with 78. You get the idea. Ticking
off the box to search in the description, usually helps to shorten the
list to something more meaningful.

HTH,

Richard
Re: Is there a better search ULP [message #147613 is a reply to message #147611] Sun, 23 September 2012 11:00 Go to previous messageGo to next message
fred[2]
Messages: 27
Registered: September 2012
Junior Member
SorryRichard - perhaps I was being too verbose.

I'm looking for a way to search through all libraries for a component
BEFORE the the library has been "use[d]"

ie. do exactly what you suggest but on all libraries that are NOT in
use. A full text search on all libraries on the system in other words.

I cant see a way to do that.
Re: Is there a better search ULP [message #147615 is a reply to message #147613] Sun, 23 September 2012 11:54 Go to previous messageGo to next message
Richard Herman
Messages: 186
Registered: October 2005
Senior Member
Op Sun, 23 Sep 2012 13:06:08 +0200 schreef fred <email@address.com>:

>
>
> SorryRichard - perhaps I was being too verbose.
>
> I'm looking for a way to search through all libraries for a component
> BEFORE the the library has been "use[d]"
>
> ie. do exactly what you suggest but on all libraries that are NOT in
> use. A full text search on all libraries on the system in other words.
>
> I cant see a way to do that.
>

Hello Fred,

Ok. But then I have to ask: Why?
What's the problem with having libraries in USE? It all comes down to
beeing able to (quickly) find the component you want. Why does it matter
if you have 10 or 100 libraries in use?
After you use Eagle longer you'll probably develop your own libraries with
often used and *tested* components and searching the 'system' lib's will
only happen once in a while, usually as an starting point to develop your
own devices.

So, while searching the lib's may be important now, it will become less
important. Up till that point I think that 'USE *' and using the search
within Eagle will do the job.

Or am I still missing something?

Richard
Re: Is there a better search ULP [message #147617 is a reply to message #147615] Sun, 23 September 2012 12:18 Go to previous messageGo to next message
fred[2]
Messages: 27
Registered: September 2012
Junior Member
> ...Or am I still missing something?


Yes - I think so.
As I think I mentioned originally - if you "use *" you can ineed do the
search as you describe.
But that messes up the current in use list. I dont want to keep losing
that list just to search for something I might not even find.

(I have already developed my own libraries and am slowly populating them
by the way - it seems pretty easy in eagle)
Re: Is there a better search ULP [message #149556 is a reply to message #147617] Sun, 10 February 2013 22:39 Go to previous messageGo to next message
Bill Martin
Messages: 26
Registered: March 2012
Junior Member
On 09/23/2012 05:24 AM, fred wrote:
>
>> ...Or am I still missing something?
>
>
> Yes - I think so.
> As I think I mentioned originally - if you "use *" you can ineed do the
> search as you describe.
> But that messes up the current in use list. I dont want to keep losing
> that list just to search for something I might not even find.
>
> (I have already developed my own libraries and am slowly populating them
> by the way - it seems pretty easy in eagle)
>
>
You might write a small parser that for example, works like this:
cd ~/eagle-6.4.0/lbr; ls | lbr_parse <regx> >>my_sub_lbr

where <regx> is your regular expression for the string you wish to find.

lbr_parse would read all the *.lbr files in the lbr directory and
extract whatever section of the xml contained your regular expression
string. For example, <symbol name="Z8038FIO"> would match *80??FIO, just
an arbitrary choice, match whatever regx is appropriate for your search.
Obviously, all the other xml sections relating to the symbol name match
would be extracted as well. Then my_sub_lbr would have your matched
search item appended to the file.

This assumes, of course, that you are using an os that doesn't cripple
your access to the filesystem in some perverse way...Linux or Unix in
this example. Cygwin if you "must" run Windows.
-bill
Re: Is there a better search ULP [message #170099 is a reply to message #147615] Sun, 19 March 2017 03:19 Go to previous messageGo to next message
Paul Cavanagh
Messages: 4
Registered: February 2017
Junior Member
For those that come across this thred.

To search for a specific component
Open up the eagle control panel right click on the library folder, an option to search will be available select it and a search box will appear at the bottom. Type in your parameters and it will display under the search box the status and result.

--
To view any images and attachments in this post, visit:
https://www.element14.com/community/message/218879
Re: Is there a better search ULP [message #170102 is a reply to message #147609] Sun, 19 March 2017 06:00 Go to previous messageGo to next message
COMPACT
Messages: 54
Registered: May 2013
Member
I find it much quicker and more satisfying to make my own components, symbols and footprints.
Especially in the mud and snow! :)

--
To view any images and attachments in this post, visit:
https://www.element14.com/community/message/218895
Re: Is there a better search ULP [message #170103 is a reply to message #170102] Sun, 19 March 2017 07:42 Go to previous messageGo to next message
Paul Cavanagh
Messages: 4
Registered: February 2017
Junior Member
yes it is more satisfying to create your own just need to make sure you have the right dimensions as per the datasheet wether it be imperial or metric, but it would be good to have a template system where you just pick the package and all you do is put in the pin assignments.

--
To view any images and attachments in this post, visit:
https://www.element14.com/community/message/218884
Re: Is there a better search ULP [message #170104 is a reply to message #170103] Sun, 19 March 2017 07:56 Go to previous messageGo to next message
COMPACT
Messages: 54
Registered: May 2013
Member
Yep, that's one of the things what the IPC association does.
You can get a calculator for PCB footprints on the Net.

--
To view any images and attachments in this post, visit:
https://www.element14.com/community/message/218901
Re: Is there a better search ULP [message #170105 is a reply to message #170104] Sun, 19 March 2017 08:19 Go to previous message
Paul Cavanagh
Messages: 4
Registered: February 2017
Junior Member
For those playing at home here is the site IPC--Association Connecting Electronics Industries (http://www.ipc.org/)

you can also look at eevblog for Engineering and pcb manufacturing.

--
To view any images and attachments in this post, visit:
https://www.element14.com/community/message/218886
Previous Topic: Hobbyist upgrade from v7.7 to v8
Next Topic: Anyone want to buy eaglescripting.com? Should I let it die?
Goto Forum:
  


Current Time: Tue Oct 17 01:48:19 GMT 2017