# log analog input and position during motion

**URL:** <https://tech-community.robotics.abb.com/t/log-analog-input-and-position-during-motion/2426>\
**Category:** Robot Controller\
**Created:** [January 14, 2009, 1:48pm UTC](https://tech-community.robotics.abb.com/t/log-analog-input-and-position-during-motion/2426 "2009-01-14T13:48:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kioog](https://avatars.discourse-cdn.com/v4/letter/k/e47c2d/32.png) [@kioog](https://tech-community.robotics.abb.com/u/kioog)\
**Post date:** [January 14, 2009, 1:48pm UTC](https://tech-community.robotics.abb.com/t/log-analog-input-and-position-during-motion/2426/1 "2009-01-14T13:48:03Z")

</div>

Hello,

I want to log an analog input signal during robot motion.  
So i want to have a file where there is the robot position and the value of the analog input that was present at that time.  
The robot will be moving, so i was thinking about a multitask where i use Crobt() command and read the analog input and write this to a file.

1. Is this possible and accurate enough, are the returned coordinates accurate enough  
to log them together with the analog input?
2. What maximum speed and resolution can we achieve?
3. Is there a better way to do this?
