• 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. Save issue when write DFA info in 17.2

Stats

  • Replies 5
  • Subscribers 159
  • Views 11145
  • Members are here 0
More Content

Save issue when write DFA info in 17.2

Jason Hsu
Jason Hsu over 4 years ago

Hi everybody,

  I always can get great help from here. Thanks all of youGrinning. Now, I have a question when I do allegro2valor information convert. This below is my code for writing DFA, it can run on 16.6. The Design DFA Table will show and save, close. But the Table will stop when I run it on 17.2. I guess it is "save" issue. Just like the red line in the code. If the script have some update in 17.2 environment? Please help me, thanks in advance.

  BTW, I can't debug my code in 17.4 skill window. The telskill window is blank, I can't input anything on it. If all of people like me? Anybody know how to solve it? The Form table also have some issue, the width of field is difficult to define.

    brd_name = axlCurrentDesign()
    if(axlVersion('isWindows)
    then
           dfa_script_file = strcat(getShellEnvVar("TEMP") "/dfa.scr")
     else
          dfa_script_file = "/tmp/dfa.scr")
     )
     dfa_script = axlDMOpenFile( "ALLEGRO_OUT" dfa_script_file "w" )
     sprintf( dfa_out    "dfa_%s.txt"   brd_name)
     fprintf( dfa_script "dfa_spreadsheet\n" )
     fprintf( dfa_script "setwindow dfa.dialog\n" )
     fprintf( dfa_script "dfa read_from_design\n" )
     fprintf( dfa_script "dfa save \"%s\"\n" dfa_out )
     fprintf( dfa_script "dfa cancel\n" )
     axlDMClose( dfa_script )
     axlShell(strcat("replay " dfa_script_file))
     deleteFile(dfa_script_file)

Best Regards,

Jason

  • Sign in to reply
  • Cancel
Parents
  • DavidJHutchins
    DavidJHutchins over 4 years ago

    the following script works for me in 17.4:

    dfa_spreadsheet
    QtSignal DFAMainWindow m_actionSave_As triggered
    QtFillin "BeagleBone_Black_RevB6_nologo.dfa"
    QtSignal m_sprdSheetGrp m_spcValLineEdit editingFinished "25:25:25:25"
    QtSignal DFAMainDialog m_cancelBtn clicked
    QtSignal MainCanvas DFAMainDialog closed
    generaledit

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • DavidJHutchins
    DavidJHutchins over 4 years ago

    the following script works for me in 17.4:

    dfa_spreadsheet
    QtSignal DFAMainWindow m_actionSave_As triggered
    QtFillin "BeagleBone_Black_RevB6_nologo.dfa"
    QtSignal m_sprdSheetGrp m_spcValLineEdit editingFinished "25:25:25:25"
    QtSignal DFAMainDialog m_cancelBtn clicked
    QtSignal MainCanvas DFAMainDialog closed
    generaledit

    • 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