Hi everybody,
I always can get great help from here. Thanks all of you . 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