Forum Migration Notice
We're transitioning to a more modern community platform by the end of this year. Learn about the upcoming changes and what to expect.
Synchronize data sample at fixed frequency
Hi everyone!
I'm very new about this forum and for sure I'm an entry-level in using RobotStudio and ABB products, so forgive in advance for the (maybe) naive question!
My program consists of two tasks: the first one manages the EGM controller and the other one has the only task to dump some data that I previously defined as Signal I/O (jointTorque, motorTorque, jointPos, motorPos of the robot, an ABB IRB 2600) and that I can see from the Signal Visualizer pretty well.
By the way, by observing the output exported in .xlsx file, I noticed that the samples (the "time" column that I'm not managing on my own in some way) are not equally spaced so, the sampling is not occurring at a fixed frequency, apparently. This is a very main requirement for our application so I want to gently ask you if there is a way to set a fixed sampling time (for example every 4 ms) among each data.
Thanks in advance for your time and consideration!
0
Comments
-
You probably will not get 4 ms., too short a time. What I would recommend though, is to use a timed interrupt. Look up ITimer in the reference manual.Lee Justice0
Categories
- All Categories
- 5.6K RobotStudio
- 401 UpFeed
- 21 Tutorials
- 16 RobotApps
- 306 PowerPacs
- 407 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.9K Robot Controller
- 365 IRC5
- 86 OmniCore
- 8 RCS (Realistic Controller Simulation)
- 854 RAPID Programming
- 37 AppStudio
- 4 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 111 Collaborative Robots
- 5 Job listings
