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 & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
    About the element14 Community
  • 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
      •  Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      •  Vietnam
      • 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) find.ulp (7.5.0) bug
  • 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
  • Replies 4 replies
  • Subscribers 187 subscribers
  • Views 668 views
  • Users 0 members are here
Related

find.ulp (7.5.0) bug

autodeskguest
autodeskguest over 10 years ago

Im typing "run find pad ff9" and I get the error "Multiple contacts on

pin, use contacts() instead" and cursor points to line 1138 containing

"if (P.contact) {"

 

ULP info:

// Version 2.8 2014.03.21   - corrected option -S

 

  • Sign in to reply
  • Cancel
Parents
  • autodeskguest
    autodeskguest over 10 years ago

    On 09.12.2015 18:30, Jorge Garcia wrote:

    On 12/8/2015 8:32 AM, Morten Leikvoll wrote:

    Im typing "run find pad ff9" and I get the error "Multiple contacts on

    pin, use contacts() instead" and cursor points to line 1138 containing

    "if (P.contact) {"

     

    ULP info:

    // Version 2.8 2014.03.21   - corrected option -S

     

    Hello Morten,

     

    I hope you're doing well. I can't reproduce this on one of EAGLE's demo

    files.

     

    Would you be able to send me a test file? That way I(or another cadsoft

    employee) can update the code in the ULP. Send it to

    support@cadsoftusa.com.

     

    Let me know if there's anything else I can do for you.

     

    Thanks Jorge. I would think the error and the code alone would explain

    what my design does. The ulp says the gate has several contact, but the

    code expects one. This looks like something leftover from old versions,

    before a pin could could have several contacts.

     

     

    Ref help on UL_PIN0:

     

    "UL_CONTACT (deprecated, see note)"

    ...

    "The contacts() loop member loops through the contacts that have been

    assigned to the pin through a CONNECT command. This is the case in a

    UL_DEVICE context or coming via UL_PINREF, but not via

    UL_LIBRARY.symbols(). If this is not the case the list is empty.

    The contact data member returns the contact that has been assigned to

    the pin through a CONNECT command. This member is deprecated! It will

    work for backwards compatibility and as long as only one pad has been

    connected to the pin, but will cause a runtime error when used with a

    pin that is connected to more than one pad. "

     

    So its obvious, my symbol has a pin with several pads.

     

     

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • autodeskguest
    autodeskguest over 10 years ago in reply to autodeskguest

    Since this is a very easy fix and hasnt been fixed on 7.5.3 beta, I will

    help you:

     

     

    On line 1138,1139 of the original find.ulp:

    1138:if (P.contact) {

    1139:if (P.contact.name == Find) {

     

    Replace this with:

    1138:P.contacts(C) {

    1139:if (C.name == Find) {

     

     

    And this will work also with symbols having multiple pads assigned to a pin.

     

     

     

     

    On 10.12.2015 09:28, Morten Leikvoll wrote:

    On 09.12.2015 18:30, Jorge Garcia wrote:

    On 12/8/2015 8:32 AM, Morten Leikvoll wrote:

    Im typing "run find pad ff9" and I get the error "Multiple contacts on

    pin, use contacts() instead" and cursor points to line 1138 containing

    "if (P.contact) {"

     

    ULP info:

    // Version 2.8 2014.03.21   - corrected option -S

     

    Hello Morten,

     

    I hope you're doing well. I can't reproduce this on one of EAGLE's demo

    files.

     

    Would you be able to send me a test file? That way I(or another cadsoft

    employee) can update the code in the ULP. Send it to

    support@cadsoftusa.com.

     

    Let me know if there's anything else I can do for you.

     

    Thanks Jorge. I would think the error and the code alone would explain

    what my design does. The ulp says the gate has several contact, but the

    code expects one. This looks like something leftover from old versions,

    before a pin could could have several contacts.

     

     

    Ref help on UL_PIN0:

     

    "UL_CONTACT (deprecated, see note)"

    ...

    "The contacts() loop member loops through the contacts that have been

    assigned to the pin through a CONNECT command. This is the case in a

    UL_DEVICE context or coming via UL_PINREF, but not via

    UL_LIBRARY.symbols(). If this is not the case the list is empty.

    The contact data member returns the contact that has been assigned to

    the pin through a CONNECT command. This member is deprecated! It will

    work for backwards compatibility and as long as only one pad has been

    connected to the pin, but will cause a runtime error when used with a

    pin that is connected to more than one pad. "

     

    So its obvious, my symbol has a pin with several pads.

     

     

     

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • autodeskguest
    autodeskguest over 10 years ago in reply to autodeskguest

    Hi Morten,

     

    just corrected the ULP and added it for the next release.

    Thank you for bringing this up again and your included solution.  image

     

     

    --

    Mit freundlichen Gruessen / Best regards

    Richard Hammerl

      CadSoft Support -- hotline@cadsoft.de

      FAQ: http://www.cadsoft.de/training/faq/

     

     

     

    Am 04.04.2016 um 12:10 schrieb Morten Leikvoll:

    Since this is a very easy fix and hasnt been fixed on 7.5.3 beta, I will

    help you:

     

     

    On line 1138,1139 of the original find.ulp:

    1138:if (P.contact) {

    1139:if (P.contact.name == Find) {

     

    Replace this with:

    1138:P.contacts(C) {

    1139:if (C.name == Find) {

     

     

    And this will work also with symbols having multiple pads assigned to a

    pin.

     

     

     

     

    On 10.12.2015 09:28, Morten Leikvoll wrote:

    On 09.12.2015 18:30, Jorge Garcia wrote:

    On 12/8/2015 8:32 AM, Morten Leikvoll wrote:

    Im typing "run find pad ff9" and I get the error "Multiple contacts on

    pin, use contacts() instead" and cursor points to line 1138 containing

    "if (P.contact) {"

     

    ULP info:

    // Version 2.8 2014.03.21   - corrected option -S

     

    Hello Morten,

     

    I hope you're doing well. I can't reproduce this on one of EAGLE's demo

    files.

     

    Would you be able to send me a test file? That way I(or another cadsoft

    employee) can update the code in the ULP. Send it to

    support@cadsoftusa.com.

     

    Let me know if there's anything else I can do for you.

     

    Thanks Jorge. I would think the error and the code alone would explain

    what my design does. The ulp says the gate has several contact, but the

    code expects one. This looks like something leftover from old versions,

    before a pin could could have several contacts.

     

     

    Ref help on UL_PIN0:

     

    "UL_CONTACT (deprecated, see note)"

    ...

    "The contacts() loop member loops through the contacts that have been

    assigned to the pin through a CONNECT command. This is the case in a

    UL_DEVICE context or coming via UL_PINREF, but not via

    UL_LIBRARY.symbols(). If this is not the case the list is empty.

    The contact data member returns the contact that has been assigned to

    the pin through a CONNECT command. This member is deprecated! It will

    work for backwards compatibility and as long as only one pad has been

    connected to the pin, but will cause a runtime error when used with a

    pin that is connected to more than one pad. "

     

    So its obvious, my symbol has a pin with several pads.

     

     

     

     

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • autodeskguest
    autodeskguest over 10 years ago in reply to autodeskguest

    Hi Morten,

     

    just corrected the ULP and added it for the next release.

    Thank you for bringing this up again and your included solution.  image

     

     

    --

    Mit freundlichen Gruessen / Best regards

    Richard Hammerl

      CadSoft Support -- hotline@cadsoft.de

      FAQ: http://www.cadsoft.de/training/faq/

     

     

     

    Am 04.04.2016 um 12:10 schrieb Morten Leikvoll:

    Since this is a very easy fix and hasnt been fixed on 7.5.3 beta, I will

    help you:

     

     

    On line 1138,1139 of the original find.ulp:

    1138:if (P.contact) {

    1139:if (P.contact.name == Find) {

     

    Replace this with:

    1138:P.contacts(C) {

    1139:if (C.name == Find) {

     

     

    And this will work also with symbols having multiple pads assigned to a

    pin.

     

     

     

     

    On 10.12.2015 09:28, Morten Leikvoll wrote:

    On 09.12.2015 18:30, Jorge Garcia wrote:

    On 12/8/2015 8:32 AM, Morten Leikvoll wrote:

    Im typing "run find pad ff9" and I get the error "Multiple contacts on

    pin, use contacts() instead" and cursor points to line 1138 containing

    "if (P.contact) {"

     

    ULP info:

    // Version 2.8 2014.03.21   - corrected option -S

     

    Hello Morten,

     

    I hope you're doing well. I can't reproduce this on one of EAGLE's demo

    files.

     

    Would you be able to send me a test file? That way I(or another cadsoft

    employee) can update the code in the ULP. Send it to

    support@cadsoftusa.com.

     

    Let me know if there's anything else I can do for you.

     

    Thanks Jorge. I would think the error and the code alone would explain

    what my design does. The ulp says the gate has several contact, but the

    code expects one. This looks like something leftover from old versions,

    before a pin could could have several contacts.

     

     

    Ref help on UL_PIN0:

     

    "UL_CONTACT (deprecated, see note)"

    ...

    "The contacts() loop member loops through the contacts that have been

    assigned to the pin through a CONNECT command. This is the case in a

    UL_DEVICE context or coming via UL_PINREF, but not via

    UL_LIBRARY.symbols(). If this is not the case the list is empty.

    The contact data member returns the contact that has been assigned to

    the pin through a CONNECT command. This member is deprecated! It will

    work for backwards compatibility and as long as only one pad has been

    connected to the pin, but will cause a runtime error when used with a

    pin that is connected to more than one pad. "

     

    So its obvious, my symbol has a pin with several pads.

     

     

     

     

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
No Data
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 © 2026 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.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube