There are a few standard paths to connect a sensor/device or system to Thingworx
1. Device cloud - Thingworx reads information or receives information from the device cloud
2. Kepware - there is a compatible kepware driver that connects to the device
3. REST API - the Device can do REST POST or has a rest api that can be called externally
4. Hosting of a Thingworx agent - Device can be communicated to via the Thingworx agent (either wsems/lua or other or SDK) directly residing on the device or on some gateway device.