Universal Robots Forum

Draw value of AnalogIO into Diagram

Hey Guys, I’m new to the topic of app development for UR. I want to show the course of an analog input over time in a diagram. How do I get the values ​​of an analog input over a certain period of time?

Hello @j.widmann,

There isn’t any built in functionality to capture the data in this format, you’ll probably have to set some triggers over the period of time you want to log the data and handle the timescale/plotting on your end.

You can check out the manipulate IO example for access the IO: https://github.com/BomMadsen/URCap-ManipulateIO

Then depending on where you want to plot this data, you can check out this example that covers using Variable, VariableFactory and ExpressionBuilder: https://github.com/UniversalRobots/CycleCounterSwing