• 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. Simple Skill script made Allegro frozen

Stats

  • Replies 2
  • Subscribers 159
  • Views 13439
  • Members are here 0
More Content

Simple Skill script made Allegro frozen

JGONG
JGONG over 11 years ago

Hi, I got a very strange issue: my skill script made the Allegro "busy" and frozen. Please refer to the attached picture:

 When I typed in the function name "sp",  the script seems not even started, because it didn't print the "start:" at line 5.  If I click on "X" on up-right corner of Allegro editor windows to close it, Win7 would pop "Application is not responding..." message. 

Any help or clue would be appreciated.   Thanks in advance.

Jun Gong

BTW:

 I am thinking whether SKILL has certain limitations that not publish and easy trap a new skill programmer. ex, a string length may have maxim limit, maximum total script length, function length? etc.  Does any one know which document has this information? 

 

 

  • SKILL_BusyCapture.GIF
  • View
  • Hide
  • Sign in to reply
  • Cancel
Parents
  • oldmouldy
    oldmouldy over 11 years ago
    SKILL is interpreted and, as such, it's quite easy to upset the interpreter and not get an answer. Outputs from "printf"s are buffered so you may not see the output until the script completes, if the script never completes... As a preference, use the axlMsgPut to output messages. Start off with something simple, like output a message and then go from there so that you can identify the "break" easily. Refer to the algroskill.pdf, in the doc\algroskill directory of the installation, for PCB Editor specific SKILL functions and the sklangref.pdf, in the doc\sklangref directory for "generic" SKILL functions. Refer to other working examples that have been contributed, like the PCB SKILL forum and the Allegro SKILL Code Library from the Cadence Online Support site, there are also examples in the product installation at share\pcb\examples\skill to illustrate specific SKILL principles.
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • oldmouldy
    oldmouldy over 11 years ago
    SKILL is interpreted and, as such, it's quite easy to upset the interpreter and not get an answer. Outputs from "printf"s are buffered so you may not see the output until the script completes, if the script never completes... As a preference, use the axlMsgPut to output messages. Start off with something simple, like output a message and then go from there so that you can identify the "break" easily. Refer to the algroskill.pdf, in the doc\algroskill directory of the installation, for PCB Editor specific SKILL functions and the sklangref.pdf, in the doc\sklangref directory for "generic" SKILL functions. Refer to other working examples that have been contributed, like the PCB SKILL forum and the Allegro SKILL Code Library from the Cadence Online Support site, there are also examples in the product installation at share\pcb\examples\skill to illustrate specific SKILL principles.
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
No Data
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