Questions tagged [thingworx]

ThingWorx is an IoT (Internet of Things) platform owned by PTC designed for contextualizing and analyzing data.

PTC's ThingWorx main page: https://www.ptc.com/en/products/iot/thingworx-platform

ThingWorx Help Page: http://support.ptc.com/cs/help/thingworx_hc/thingworx_7.0_hc/

ThingWorx Development Community: https://community.thingworx.com/welcome

70 questions
11
votes
2 answers

ThingWorx Horizontal Scalability

What architecture and application development best practices must be followed in order to scale a TWX application? The majority of applications start with few devices but with time they quickly build up to thousands of devices. Once the amount of…
Mgccon
  • 425
  • 3
  • 11
5
votes
1 answer

Postgresql: Max connections: set application name eating connections

many connections in PostgreSQL that eating connections limit, many of them named: PostgreSQL JDBC Driver, with a query: SET application_name = 'PostgreSQL JDBC Driver', please find attached image. causing: FATAL: sorry, too many clients already. max…
Bilal_Alnima
  • 51
  • 1
  • 4
4
votes
1 answer

Custom widget in thingworx

Could any body let me know how to create custom widget in thingworx. I don't have any idea how to create custom widget. Please help me. I have to build drag drop custom widget and we can use that custom widget with other widget. e.g with tree…
dheerendra
  • 41
  • 1
  • 4
4
votes
0 answers

Tomcat can't write to the filesystem on aws EB

I'm deploying a war file (Thingworx Iot Software) on tomcat with elastic beanstalk. The software is trying to create some folders/files under Several folders (at server root) I've given tomcat permissions to write to. drwxrwxr-x 3 tomcat tomcat …
3
votes
2 answers

Show only some JSON arrays as output in ThingWorx

I was trying to fetch the details when a PIN code is given and by executing it, I got an output like this: { "headers": { "Content-Type": "application/json" }, "results": [ { "formatted_address": "Karnataka…
2
votes
1 answer

Access to XMLHttpRequest at due to CORS in complex server situation

I've got two servers, both of which I control. One is a thingworx server that talks to the other, a windchill server, and displays my web page. I've got a thingworx mashup that talks to the windchill server. It pulls images and pdf from the…
2
votes
2 answers

Thingworx client for windows 10

I want to gather some information from a windows 10 machine over the internet using the thingworx platform. Here's a scenario: Admin logs into thingworx app Exisiting or new computer (windows 10 ) is added (serial number computer) Thingworx…
mmm
  • 51
  • 8
2
votes
2 answers

Uniquely identify Thingworx things

I've set up an application key, shape, service, and thing, and am ready to update the thing using REST calls. However, I will have potentially thousands of things of the exact same type, though each with a unique serial number. What I'm unclear on…
Dan
  • 1,215
  • 1
  • 10
  • 22
1
vote
0 answers

Error: loading module 'periphery' : undefined symbol: lua_gettop (RaspberryPi-ThingWorx)

I am using ThingWorx to reach out to my Raspberry Pi and try to retrieve motion data from a PIR Sensor connected to the Raspberry Pi. It communicates via Lua Script. To test it out I created a Lua Script separate from the ThingWorx server and used…
DuhMunk
  • 21
  • 2
1
vote
4 answers

How to cast string input into "where in"

I have a Thingworx Service (SQL Query) in my Database Thing, eg. GetCookiesByIds I have a parameter ids (STRING) with value 1,2,3 I would like to make a query: SELECT * FROM Cookies WHERE id IN ([[ids]])` But I have an exception. How to cast my…
aki123
  • 47
  • 5
1
vote
1 answer

Azure Maps renders tile only in a corner

I'm using Azure Maps S0 in one of my side projects, and I'm trying to get it to render correctly. The example works fine, but I'm embedding the library as a widget in ThingWorx (side project). Problem: The tile themselves render only in the upper…
Katakana
  • 73
  • 5
1
vote
1 answer

How to set HTTP status code for custom Thingworx service

Not able to set HTTP Status code for a custom ThingWorx service. I need to send appropriate HTTP status code for error conditions in my Thingworx service. When I use GenericHTTPException, it sets the right code, but it prepends "Unable to Invoke…
Jyothi
  • 97
  • 5
1
vote
0 answers

Fetch the data table with out primary key in thingworx

I want to fetch the table without using primary key
EKNATH KULKARNI
  • 394
  • 1
  • 5
  • 13
1
vote
1 answer

Read a property value of a thing from java extension

I'm trying to read a property value of a thing in java extension, I'm always getting the Exception "Not authorized for PropertyRead on ss in PSIM_AlarmManagementServices_Thing" my code is Thing AlarmManagementServices_Thing = (Thing)…
1
vote
2 answers

Error Connecting Azure Database from Thingworx

I am trying to connect my thingworx to azure postgres database. I have two azure accounts. When I am creating my postgresql database in one of the accounts and connecting then it is working fine. But when I am trying to connect to the azure postgres…
Tarun
  • 271
  • 1
  • 6
  • 18
1
2 3 4 5