• 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. Real-Time Updating View Window

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 143
  • Views 13283
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Real-Time Updating View Window

ksek
ksek over 7 years ago

Hi,

While i executed my SKILL function as below:

logFileName=getResultPath(cvId ISSDCONT_en ALL_en "_check.log")
logFilePort = outfile(logFileName "w")

printJobStart_checkSDCont(ISSDCONT_en logFilePort)
close(logFilePort)

winId=view(logFileName nil nil t)

;=============Main Function=============

;=====================================

The first 5 lines of the code is used to prompt user the setting or the status of the checking function, while the main function is the checking function which might take 10 seconds or more.

While the user is waiting the check to be complete, i would like to show the user the status of the checking function which is the first 5 lines of above code.

The view function able to open the view file window, but unfortunately, the view file window did not update the contents of the file immediately.

Rather, the view file window only update the contents of the file after the main function have been completed which is not what i wanted.

Is there anyway to overcome this problem? Or are there any other function which is capable of doing this?

Thanks,

KS Chong

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 7 years ago

    See this article on Cadence Online Support. The hiFlush mentioned in that article strictly speaking should be after the hiSetViewfile() call.

    So put another way you'd have to call hiSetViewfile() regularly (and hiFlush) during your code which is updating the log file.

    Regards,

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • 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.

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

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