RobotStudio event

log analog input and position during motion

Options
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?