axlAddSpecToOutput
axlAddSpecToOutput(
x_hsdb
t_testName
t_resultName
[ ?min g_minValue ]
[ ?max g_maxValue ]
[ ?gt g_greaterThanValue ]
[ ?lt g_lessThanValue ]
[ ?range g_rangeValues ]
[ ?tol g_toleranceValue ]
[ ?info g_info ]
[ ?weight g_weightingFactor ]
[ ?corner g_cornerName ]
)
=> t / t_error
Description
Adds a specification to an output defined for a test. You can also use this function to modify an existing specification for an output.
Arguments
|
x_hsdb
|
Setup database handle
|
|
t_testName
|
Name of the test.
|
|
t_resultName
|
Name of the result.
|
|
?min g_minValue
|
Value for the minimum specification.
|
|
?max g_maxValue
|
Value for the maximum specification.
|
|
?gt g_greaterThanValue
|
|
|
Value for the greater than specification.
|
|
?lt g_lessThanValue
|
|
|
Value for the less than specification.
|
|
?range g_rangeValues
|
|
|
A range of values for the range specification.
|
|
?tol g_toleranceValue
|
|
|
Value for the tolerance specification.
|
|
?info g_info
|
Any information string for information specification.
|
|
?weight g_weightingFactor
|
|
|
A weighting factor for this specification.
|
|
?corner g_cornerName
|
|
|
Name of the corner for which the specification is to be enabled. This argument helps to override a specification for a particular corner.
By default, a specification defined for a measurement applies to all the corners enabled for the test. To change the specification for a particular corner, specify the name of that corner in this argument. In the ADE XL GUI, you can view the overridden corner name in the Override Specifications form.
|
Value Returned
|
t
|
A specification is added to the output.
|
|
t_error
|
The command is unsuccessful. An error message is displayed.
|
Examples
The following example shows how to add different types of specification to an existing output for a test:
session = (axlGetWindowSession)
sdb = (axlGetMainSetupDB session)
axlAddSpecToOutput(sdb "TRAN" "" ?gt "1")
=> t
axlAddSpecToOutput(sdb "TRAN" "" ?lt "1" ?weight "1" ?corner "CC_1")
=> t
axlAddSpecToOutput(sdb "TRAN" "" ?range 1:3 )
=> t
; The above statement removes the existing lt spec from the output and
; assigns the range spec.
axlAddSpecToOutput(sdb "TRAN" "" ?info "info spec")
=> t
axlAddSpecToOutput(sdb "TRAN" "gain" ?tol 1:2 ?corner "CC_2")
=> t
Related Topics
axlGetSpecs
axlGetSpec
axlGetSpecData
axlGetSpecWeight
Return to top