• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Allegro X PCB Editor
  3. Hanging code with axlSingleSelectPoint

Stats

  • Replies 11
  • Subscribers 158
  • Views 17012
  • Members are here 0
More Content

Hanging code with axlSingleSelectPoint

archive
archive over 17 years ago

Hi All,
First skill program...and it almost works.

Initiallly I wrote inline code that did not use a form but prompted the user to enter a point.  It worked, I did a calculation and the code exited cleanly.

Then I added a form (with buttons) but had a dummy callback and again forced the code to run once inline and it worked.

Now I have added a button callback which is working except for the fact that when the code is done executing the status light in the bottom right corner is green but says "Skill" whereas inline it would be "Idle" as expected.

By elimination I can get clean operation (but useless) by eliminating my call to axlSingleSelectPoint.  The code goes merrily on its way and alerts me that I failed to select a valid object and waits for a new button press.  All the while after each button press the indicator goes back to "Idle".

As soon as I re-enable the selectPoint call that piece of code grabs a point, determines what to do and executes with good results but the status is "Skill" at the end of the code execution.  It works repeatably for each button press.

So...what is it about axlSingleSelectPoint that might be causing a callback to hang?

Thanks,
Bill


Originally posted in cdnusers.org by redwire
  • Sign in to reply
  • Cancel
  • archive
    archive over 17 years ago

    This is a trimmed down version but it demonstrates the problem I am having.  Button TWO goes back to idle.  Button ONE stays in "skill"
    (Note: for some reason Cadence doesn't accept .form files!!!  Hello Cadence?
    Change the button_form.txt to button.form for it to work)


    Originally posted in cdnusers.org by redwire
    • button_form.txt
    • View
    • Hide
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • archive
    archive over 17 years ago

    Hi Bill, That's not a bad first effort. I loaded your code and it works fine for me in 16.01. Are you running the latest Hotfix? Cheers, Dave


    Originally posted in cdnusers.org by Dave Elder
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • archive
    archive over 17 years ago

    Yes, and I see the 'Skill' status displayed in 15.5.1 and 16.0.1 w/Hfix. On multiple machines as well. Can you double-check button one for me? Thx!


    Originally posted in cdnusers.org by redwire
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • archive
    archive over 17 years ago

    Hi Bill, See attached screen capture image. Button one works as I would expect. If you have the Skill panel open, the messages will appear there. Cheers, Dave


    Originally posted in cdnusers.org by Dave Elder
    • prob1.jpg
    • View
    • Hide
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • archive
    archive over 17 years ago

    Hi Dave,
    Yes, that part of the screen (CIW) matches but take at my attachment.  Are you in "Skill" or "Idle"?
    Thanks,
    Bill


    Originally posted in cdnusers.org by redwire
    • stuck.JPG
    • View
    • Hide
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
>
Cadence Guidelines

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information