Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Display variables while the simulation is running

#1
Hello all,

I have several projects that I'm working on at the 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!
#2
You could create your own station parameters and map these variables with your project using setParam:
//www.sinclairbody.com/doc/en/PythonAPI/robo...k.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.




Users browsing this thread:
1 Guest(s)