how to export the data of a sensor from solid works?

I need to export the measure data from a sensor placed on a solid Works Model.
The best format for my necessary is the txt format.