Anup G Prasad , Have you got this implemented or you still need help with this.
I can help you get this done. And if you are looking for code to collect data from different sensors, you would need to look out for support site from that sensors. Code for majority of sensors are available online and can be used to get data to RPI.
Besides , here we have team and experts to help you , in case you are facing issues in Sending data from RPI to Thingworx Server. And other Thingwors , Edge , Extension issues related to Thingworx .
However , in case you still need help with this , I can provide some quick links to get you going with Sensors and their code for PI and Adriuno.