RoboDK Forum
Display variables while the simulation is running- Printable Version

+- RoboDK Forum (//www.sinclairbody.com/forum)
+-- Forum: RoboDK (EN) (//www.sinclairbody.com/forum/Forum-RoboDK-EN)
+--- Forum: RoboDK API (//www.sinclairbody.com/forum/Forum-RoboDK-API)
+--- Thread: Display variables while the simulation is running (/Thread-Display-variables-while-the-simulation-is-running)



Display variables while the simulation is running-RoboDKUser12-07-22-2022

Hello all,

我有几个项目,我在工作moment. For some of them, sensors are included. I was wondering how I would be able to create a separate window within the RoboDK simulation environment and publish the intermediary outputs, as well as other data to said table.

If anyone could point me in the right direction, that would be great!


RE: Python API - display window whilst robot running-Albert-07-23-2022

You could create your own station parameters and map these variables with your project using setParam:
//www.sinclairbody.com/doc/en/PythonAPI/robodk.html#robodk.robolink.Robolink.setParam

Follow these steps to see your station parameters using the user interface:
  1. Right click the root of the station
  2. Select Station parameters
This is a blocking window so you can create your custom display using the API or a plugin.

You can even link station parameters with your programs in RoboDK. For example, when you set a digital output or wait for a digital input you'll be creating or reading IO station parameters.