RobotStudio event

Sensor readings

Hi..
 I am new to robot studio,.,but i have "played" with this software for quite sometime
actually i wanted to implement a machine learning algorithm in manipulator.
so i have some force sensors..and all.
i have a crude socket model already coded with me.
But i am not able to decide how to transmit the sensor readings from controller to my computer..can u please guide me how to do this?
thanks