• 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. Get ipcReadProcess() return message in real time and update...

Stats

  • Locked Locked
  • Replies 3
  • Subscribers 143
  • Views 5957
  • 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

Get ipcReadProcess() return message in real time and update form field

Martinsh
Martinsh over 2 years ago

If we run an ipc process use with cid1 = ipcBeginProcess() function and get feedback message with ipcReadProcess(cid1) function, can we get the feedback and update a milti-line string form field in real time?

Regards,

Martin

  • Cancel
  • AurelBuche
    AurelBuche over 2 years ago

    Hi Martin,

    You should check the arguments of ipcBeginProcess, it takes a function as third and fourth argument exactly for these kind of purpose

    ipcBeginProcess( "your_shell_command" ""

      (lambda (pid data) your_form_name->field_name->value = strcat( your_form_name->field_name->value data))

      (lambda (pid data) your_form_name->field_name->value = strcat( your_form_name->field_name->value data))

      )

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Martinsh
    Martinsh over 2 years ago in reply to AurelBuche

    Hi Aurel,

    Thanks, it works. Now the feedback message can be updated in the form field in real time.

    Another question, I want to realize a function like this,

    1. Start a child process with ipcBeginProcess() function.
    2. Receive data from the child process and update it in a form field in realtime.
    3. When the child process is competed, update the final result in another form field.

    If we use an ipcWait() function follwing the ipcBegainProcess() command, even we use the dataHandler function to receive data from the child process, the data received can't be updated in the form field in real time, because the main skill program will be blocked by the ipcWait() function.

    If we don't put an ipcWait() function following the ipcBeginProcess() command,  the main skill programm will run to complele before the child process and can't get the proper final result of the child process. 

    How to solve this problem?

    Regards,

    Martin

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • AurelBuche
    AurelBuche over 2 years ago in reply to Martinsh

    Hi Martin,

    Most of the questions you ask are already answered in the documentation of ipcBeginProcess

    Read it carefully, you'll find what you need

    From my point of view it seems you ask many questions without even looking at the documentation nor trying by yourself before...

    Cheers,

    Aurélien

    • 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