OK, I've tried a few things since I started writing this so I'll present my latest question first. I'm leaving the history as it might help somebody along the way. The function in the title axlWriteOceanScriptLCV("my_file.ocn" "my_lib" "my_cell" "adexl") only seems to work when there is no ADE XL GUI session open on the same cellview. Why that? I take it to be a kind of "lock" problem, however saving the OCEAN script should not require any "lock" on the view...At least I do not see why, when other functions like "save-the-results" or "save-the-outputs" work absolutely fine while referring to a session open in a GUI. Besides knowing the reason behind this, I'd really like to be able to save the OCEAN script relative to a certain ADE XL view while working in that view from the GUI. The "plan" is to call a small SKILL script which saves the netlist of active test(s), output results (.csv) of last history point (or any other for that matter), and the OCEAN script which originated those data I'm saving. Everything is working fine up to the last bit :( Any hints? HISTORY Hi, I am writing a small SKILL code in order to save few elements of an ADE XL view, including its OCEAN script. To this extent, I am referring to the documented function: axlWriteOceanScriptLCV( t_fileName t_libraryName t_cellName t_viewName => t / nil The code I am writing should be used while there is an ADE XL session running. I use axlGetWindowSession() and all related stuff for my other purposes, with no issues. However when I call axlWriteOceanScriptLCV("my_file.ocn" "my_lib" "my_cell" "adexl") I get the following error: ERROR (ADEXL-1606): Cannot create session _tempSession. A session by that name already exists. Try using the command to find an existing session or specify a different name. I am not sure what that means.. [a series of trials follows...] I've tried to close the session _tmpSession by writing axlCloseSession("_tempSession") in the CIW I don't know why I'm doing this, but it gets rid of the error Another one pops up, though: INFO (ADEXL-1642): The cell view "Library: my_lib Cell: my_view View: adexl" is already open. It will not be opened in a new window. ERROR (ADEXL-2404): Cannot find a setup database entry for handle 0. Provide a valid database handle and try again. ..This is where you can go back to the top of the post, as this error only disappears if one closes the GUI ADE XL session and calls the function again.
↧