axlPutDisabledCorner
axlPutDisabledCorner(x_testHandlet_cornerName) =>x_disabledcorner/ nil
Description
Adds a new corner by the given name and returns a handle to that corner. If a corner already exists with the same name, the function returns the handle to that corner. In addition, the corner is disabled for the specified test name, but enabled for other tests in the session.
You can also use this function to disable a specific corner for a particular test.
Arguments
Value Returned
Examples
The following example gets the list of all the corners in the setup database. It then disables corner C2 for the opamplib:ampTest:2 test:
s1 = axlGetWindowSession()
=>"session0"
x_mainSDB=axlGetMainSetupDB( s1 )
=>1001
axlGetCorners(x_mainSDB)
=> (1003
("C0" "C1" "C2" "C2_0_1" "C2_0_2")
)
x_testHandle2 = axlGetTest( x_mainSDB "opamplib:ampTest:2")
=>2028
axlPutDisabledCorner(x_testHandle2 "C2")
=>2186
The following example adds a new corner, testC2, and disables it for the opamplib:ampTest:1 test:
s1 = axlGetWindowSession()
=>"session0"
x_mainSDB=axlGetMainSetupDB( s1 )
=>1001
x_testHandle = axlGetTest( x_mainSDB "opamplib:ampTest:1")
=>1015
axlPutDisabledCorner(1015 "testC2")
=>2186
Related Topics
Return to top