Product Documentation
Virtuoso ADE SKILL Reference
Product Version IC23.1, November 2023

axlGetTest

axlGetTest( 
x_hsdb 
t_test 
) 
=> x_test / nil 

Description

Finds a test in the setup database and returns its handle.

Arguments

x_hsdb

Setup database handle.

t_test

Test name.

Value Returned

x_test

Test handle.

nil

Unsuccessful operation.

Examples

The following example finds a test in the data_sdb setup database.

data_session = axlGetWindowSession(hiGetCurrentWindow())
data_sdb=axlGetMainSetupDB(data_session)
;; Enable a test
data_dead_band = axlGetTest( data_sdb "data_dead_band" )
axlSetEnabled( data_dead_band t )
;; Disable tests
foreach( test cadr( axlGetTests( data_sdb ) )
axlSetEnabled( axlGetTest( data_sdb test ) nil )
3

Related Topics

axlCreateSession

axlSetMainSetupDB

axlGetTests

axlSetEnabled


Return to top
 ⠀
X