Thursday, January 08, 2009     Register | Login | Search | Contact Us
     

Many of you already received communications about the move of the Cadence user community into cadence.com. And many of you have already joined, with over 4000 registrations in the first two weeks.

The new Cadence Community enhances the ability of Cadence users to connect and collaborate. In addition to moving the community into cadence.com -- enabling single sign-on for community, Sourcelink and Cadence events -- the new site is organized around nine technology segments, giving you easy access to product information, training, forums and blogs. Some of the new features include:
  • Ability to respond to posts via e-mail
  • Technology-specific blogs
  • Latest Web 2.0 social networking capabilities
  • Public profile options
  • Private messaging
  • Friends lists
Visit the new Cadence Community today at www.cadence.com/community and join the discussions!

Registration note: Due to the scope of the enhancements and the new SSO registration system, we were not able to migrate existing cdnusers.org member accounts. So new registrations are required, but this enables a broader set of functionality we think you'll enjoy.

Forum note: Under the guidance of forum moderators, we have taken the 20+ cdnusers.org forums and consolidated them into 11 forums on the new site. Posts have been brought over so you can leverage that posting history. CDNusers forums will be set to read only starting 7/30, and cdnusers.org will be redirected to the new community on 8/4.

Best regards,
Mike and Tom

Michael A. Catrambone - Steering Committee Chairman
Distinguished Engineer
PCB/Mechanical
UTStarcom, Inc.

Tom Diederich
Cadence Community Manager
Home
Forums
Subject: Hanging code with axlSingleSelectPoint
Posting to forums is available to community members only.
Login or Register
Rate this topic:
   
Author Messages
redwire
Posts: 73
Online: User is Offline
4/25/2008 4:14 PM  
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
redwire
Posts: 73
Online: User is Offline
4/25/2008 4:42 PM  
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)


Attachment: button_form.txt
Attachment: prob1.il

Dave Elder
Moderator
Posts: 150
Online: User is Offline
4/27/2008 3:14 PM  
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

Dave Elder
Tait Electronics
redwire
Posts: 73
Online: User is Offline
4/27/2008 10:15 PM  
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!
Dave Elder
Moderator
Posts: 150
Online: User is Offline
4/28/2008 1:28 PM  
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






Dave Elder
Tait Electronics
redwire
Posts: 73
Online: User is Offline
4/28/2008 2:01 PM  
Hi Dave,
Yes, that part of the screen (CIW) matches but take at my attachment.  Are you in "Skill" or "Idle"?
Thanks,
Bill





redwire
Posts: 73
Online: User is Offline
4/28/2008 2:01 PM  
Sorry, bad spelling. "Take a look at my attachment" :)
Dave Elder
Moderator
Posts: 150
Online: User is Offline
4/28/2008 2:39 PM  
Hi Bill,

OK I see what you mean.
Without all the supporting code (axlFormClose etc.), it's a bit difficult to see what causes the problem.
Try changing your form to non-blocking:
myForm = axlFormCreate('formM "xxxx.form" '("SE" "OUTER") 'MyCallBack nil)

Cheers, Dave

Dave Elder
Tait Electronics
redwire
Posts: 73
Online: User is Offline
4/28/2008 5:27 PM  
Hi again,

I think you meant to say run in 'blocking' mode as it was in non-blocking. But, ultimately blocking does not provide the intended elegance (tbd, of course) that I am looking for.

When I finish this cute little program out I should have a form dangling off to the side while I am using Allegro that allows me to do some much desired features.

If you think of other possible ways to debug this, please let me know.

Thanks for your efforts so far.
Bill
Dave Elder
Moderator
Posts: 150
Online: User is Offline
4/28/2008 6:43 PM  
I think it's a bug.
Place an axlShell("done") command after the axlSubSelectAll() statement.

Cheers, Dave

Dave Elder
Tait Electronics
redwire
Posts: 73
Online: User is Offline
4/28/2008 7:17 PM  
Thanks!!! That works for me.

Bill
redwire
Posts: 73
Online: User is Offline
5/27/2008 7:28 PM  
Cadence replied it was SOP to require a done for single select point. No bug. It kind of makes sense if you want to "oops" your select point -- you would need a way to pend to see if the user was satisfied with the selection.

OAO
Posting to forums is available to community members only.
Login or Register

Forums > Silicon-package-board > Shared code - SKILL > Hanging code with axlSingleSelectPoint


ActiveForums 3.6
     
Copyright 2006 Cadence Design Systems, Inc.