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: Finish current command before starting new command
Posting to forums is available to community members only.
Login or Register
Rate this topic:
   
Author Messages
willbi
Posts: 63
Online: User is Offline
7/05/2006 4:22 AM  
I wrote a little skill routine. It works but when it is finished, I have to end each other commands with done before being able to call the next one ("Finish current command before starting new command")

If I run other skill routines, when I finish it, this strange behaviour disappears.
So, something in these other routines si needed in the new one to avoid this behaviour.

But in my stop/cancel I have a axlCancel(Finish)EnterFun, an axlClearSelSet but nothing put Allegro back to normal.

I saw that my stop routine set some variables to nil but if I go to skill mode in allegro and display these variables, some are not set like they should be after a stop....

Any help would be greatly appreciated...
Thanks. 
tschirmer
Posts: 15
Online: User is Offline
7/06/2006 9:08 PM  
axlShell("done") should do the trick. It ends the active command similar like the ESC key
or entering done in the command window.

another way would be to enclose your skill code in this if:

if( axlOKToProceed(t) then
.. your code

else
printf( "E- finish current command first!\n")
);end-if


Tobias
willbi
Posts: 63
Online: User is Offline
7/13/2006 3:48 AM  
thanks for this. that helps me not to crash Allegro while forgetting to finish the active command by launching my routine.
But I still have the problem that at the end of my routine, I hhave to "done" all commands to be able to get next one.
natebizu
Posts: 7
Online: User is Offline
9/21/2006 12:59 PM  
How are you starting the command?

If you put a procedure that calls axlShell("done") into a command register, then the command is called automatically when starting a new command.

procedure(MYFinishCommand()
   axlShell("done")
)

axlCmdRegister("mycommand" 'MYCommandStart ?doneCmd 'MYFinishCommand ?cancelCmd 'MYFinishCommand)

This also automatically makes a context menu (Right mouse click) with "Done" and "Cancel" in it.
Posting to forums is available to community members only.
Login or Register

Forums > Silicon-package-board > Shared code - SKILL > Finish current command before starting new command


ActiveForums 3.6
     
Copyright 2006 Cadence Design Systems, Inc.