• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Custom IC SKILL
  3. Warning while using asiSelectInst

Stats

  • Replies 0
  • Subscribers 151
  • Views 54
  • Members are here 0

Warning while using asiSelectInst

SK202511261716
SK202511261716 1 day ago

I'm developing a form which at a certain point needs to allow the user to select an instance from their schematic. I then need to fetch the database object of that instance to do some further processing. I'm using asiSelectInst for this, in the following callback from a button on my form:

(procedure selectDUT(field scope)

    (sevOpenSchematic (axlGetToolSession sess testname))

    (asiSelectInst 'mydutfield ?prompt "select instance..." ?form myform ?tab (list 'mytabs 'page1))

)

"mydutfield" is an uneditable string field. I gave it a callback which fetches the database instance, so whenever asiSelectInst changes the value of the field, the callback is initiated:

(procedure fetchDUTInst(field scope)

    (let

        (

            (cv (geGetEditCellView))

            inst

        )

        (setq inst (car (exists obj cv->instances (equal obj->name (car (last (parseString scope->mydutfield->value "/")))))))

         ...

    )

)

This works like a charm....almost. Sometimes, when I open the form for the first time, asiSelectInst fails with the following warning, printed to the CIW:

*Warning* No window and/or doneProc argument passed to
"astiSelectInst", selection not started

The value in mydutfield doesn't change, and the callback is not executed. If I immediately try again, it works no problem, and continues to work all subsequent times. I've not been able to determine the exact conditions under which it fails, but it always seems to be when the form/maestro view is first opened.

Am I doing something wrong here?

I'm on version IC23.1-64b

  • Sign in to reply
  • Cancel

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2026 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information