maeLoadCorners
maeLoadCorners(
t_fileName
[?operation t_operation]
[?session t_session]
)
=> t / nil
Description
Loads corners from the given file into the corner setup of the current session or the specified session.
Arguments
|
t_fileName
|
Name of the .sdb or .csv file from which the corners are to be loaded.
|
|
?operation t_operation
|
|
|
Operation to be performed while loading the corners.
-
"deleteallncreatenew": Deletes all existing corners and loads new corners. -
"overwrite": If the name of the corner being loaded is the same as that of an existing corner, the existing corner is removed and the new one is added. This is the default. -
"rename": If the name of the corner being loaded is the same as that of an existing corner, retains the existing corner and renames the new corner being loaded. -
"cancel": If the name of the corner being loaded is the same as that of an existing corner, cancels the loading process. No corner is loaded.
|
|
?session t_session
|
Name of the session.
|
Value Returned
|
t
|
The corners are successfully loaded from the source file.
|
|
nil
|
The corners are not loaded.
|
Examples
Loads corners from two files, corners.sdb and ffCorners.csv. If the corner names in the two files are conflicting, they are renamed.
sess=maeOpenSetup("opamp090" "full_diff_opamp_AC" "maestro11" ?mode "a")
=> "session0"
maeLoadCorners("corners.sdb" ?operation "overwrite")
=> t
maeLoadCorners("ffCorners.csv" ?operation "rename")
=> t
Return to top