• 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. autoupdating text files using skill

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 143
  • Views 13339
  • 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

autoupdating text files using skill

skilluser132
skilluser132 over 8 years ago

Hi,

 I have a file which gets updated periodically. I use view(file) to open the file.

 I want this file to autoupdate.

I found a "view" function having that argument, but somehow it is not working for me.

command I am using: view(file "t")

g_autoUpdate: is an optional argument I want to use to enable autoupdate.

Please let me know if I am missing anything.

Thanks for the help in advance.

  • Cancel
  • skillUser
    skillUser over 8 years ago

    Hi,

    Assuming 'file' is a variable with the file name/path as a string then the second argument would typically be a 't' or 'nil' (without the quotes), for example:

    view(file t)

    If this still does not work then I'm not sure what your problem might be - is 'file' a fully qualified path to the file?  If not the SKILL search path is used to find the file, and if you have a non-unique file name the system could be picking a different one than the one that you are updating.

    Hope this helps.

    Regards,

    Lawrence.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • skilluser132
    skilluser132 over 8 years ago

    Lawrence ,

     Thanks for the inputs. Yes, file : full path of the file.

      If I use  view(file) ;it displays the file.

     But if I use view(file t) I am getting following error: *Error* Invalid window specifier

      Is it like, it is not able to get which window to update?

     

    Regards,

    skilluser132

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • skillUser
    skillUser over 8 years ago

    Hi,

    Ok, my bad, I didn't look at the documentation.  Here's the brief synopsis for the view() function:

    view(
      t_file
      [ g_boxSpec ]
      [ g_title ]
      [ g_autoUpdate ]
      [ l_iconPosition ]
      [ g_deviceMode ]
    )
        => w_windowId / nil

    The autoupdate argument is not the second argument, or even the third, it is the fourth argument to the view() function. I think that you can give 'nil' for the boxSpec and Title arguments if you don't wish to supply them so that you can then supply the next argument for autoUpdate.

    Best regards,

    Lawrence.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • skilluser132
    skilluser132 over 8 years ago
    Thank you Lawrence. This works for me.
    I appreciate your help.

    Regards,
    skilluser132
    • 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