Recently active
Hi, I have a thing which is used to connect to an oracle database. It has configuration as connection string username and password. If I have 3 instances of Thingworx i.e Dev/Test/Prod. for each environment I have different connection string to connect to db and different credentials as the database is different. With this setup, if I have to port my thing from Dev to Test and Test to Prod . I have to always manually modify the configuration of the thing with connection string, username and password. Is there any way with which I can persist the configuration of change after every port ? Thanks in advance.
Hello Everyone, I'm following this Guide about Analytics in ThingWorx, and when i try to publish the model i get the error message shown in the linked image "ThingPredictorConnectionError.png". In the troubleshooting section provided with the guide, they told that in order to restart the thing predictor we need to run the command shown in the linked image "TroubleshootingCommand.png" via a Command Line Interface. I tried to execute the command by trying to SSH into the server hostname provided in the trial version by PTC as shown in the linked image "ServerInformations.png" but the connection times out every time. Does anyone know how can i log into the server provided and execute the command provided in the troubleshooting section ? Best Regards.
I am setting the temperature property on a Thing, and intermittently getting 500 Internal Errors. curl -v -X PUT -H 'appKey: 119710c2-d13f-4986-9bde-dfe359327a26' -d '{ "temperature": 55 }' -H 'Accept: application/json' -H "Content-Type: application/json" "http://localhost:8080/Thingworx/Things/MyThing/Properties/temperature About 10% of the time I get 200 OK result and the property gets set properly, but mostly I get 500 Internal Error. I think this must be a TW bug? Running ThingWorx 8.1.2-b51 at the moment. The log complains about [context: com.thingworx.webservices.context.HttpExecutionContext@722b9f2d] in the http-nio-8080-exec-5 thread. I don't see any stack traces, even in catalina.out in Tomcat. Aside from this, the Thingworx installation is working just fine in terms of Composer and so on. However this problem is keeping us from actually using our IoT assets to set the property values. So we urgently need help with this. Application
I have a ESP8266 NodeMCU module making POST request to a Service connected to a Thing but the properties aren't getting refreshed. The properties are updated only when the module is first plugged in. Here is the code to send trigger the service from the NodeMCU. #include <DHT.h>#define DHTTYPE DHT11#include <ESP8266WiFi.h>#include <WiFiClient.h>#define dht_dpin 0DHT dht(dht_dpin, DHTTYPE); const char* ssid = "Cl";const char* password = "xxx";const char* host = "PP-1804050928FD.devportal.ptc.io";const int httpsPort = 8080;WiFiClient client;void setup() { dht.begin(); // put your setup code here, to run once: Serial.begin(115200); Serial.println(); Serial.print("connecting to "); Serial.println(ssid); WiFi.begin(ssid, password); while (WiFi.status() != WL_CONNECTED) { delay(500); Serial.print("."); } Serial.println(""); Serial.println("WiFi connected
Hello, I am currently working in ThingWorx Analytics and have categorical data as input. In order to try to enhance the accuracy it is common/recommended to try One-Hot Encoding(OHE) of the data. However, i don't think any of the opTypes are suitible for OHE, as this would require a vector as input. Has anyone tried to use OHE in ThingWorx analytics? Best regards
Hello everyone, when trying to create a signal trough the Analytics Builder like described in the analytics-builder-quickstart tutorial i get the following Error: GetAverageGoalAMS: Error ... Connection refused. i already read the Thread Create Signals, Connection Refused but the provided solution link does not work anymore. Also my setup is a little bit different, since i have my foundation server running locally and the analytics Server in a docker container (apparently). Any suggestions how i can connect with the analytics server from outside the container? The communication in the other direction seems to work, since my AnalyticsServerThing in the Composer has the ConnectedStatus == true. Let me know if you need any additional information. Regards, Dominik
Hi. I am having a doubt regarding, How thingworx Log and Store the Property value?. Please explain about this. Thanks. Sathishkumar C
Hello,I used before the FileUpload widget to upload single file. On the widget I could not find any settings to allow to seletec and upload more than one file.Any idea how to select and upload multiple files to Thingworx repository?Thank you, Ravil
Hi All,I need information about the following problem :I used MQTT extention in Thingworx (I have impoted the MQTT estention) and I created a Thing using Thing Template MQTT.I have configured the connection Mqtt to Broker mosquitto using serverName test.mosquitto.orgI have developed a Mqtt published publisher.exe using C#.I checked the system and Thingworx has received the values published from publisher.exe.The property value on Thingworx was defined as STRING with persistent and logged enabled.The property values published from publisher.exe are visible on Thing property (by refresh) or in mashup that used GetData service (GetProperty + convert string value to number) that refresh the value every every 5 second.When I want to look the property value using a widget Time Series Chart by QueryPropertyHistory I’m not found value in value stream.The property value was received from the MQTT broker but they are not stored in value strea
Hello, i have a problem installing Thingworx Trial edition. First i downloaded and installed Docker. After that i started the TW Installer. After a few seconds the following failure appears. Please help me!
I'm trying to install TWX8.1 accoring to manual The tomcat service dosen't work. when I am in the step of '$ sudo systemctl enable tomcat.service', it has an error message : 'badmessage' 'tomcat.service' has [Unit] Description=Apache Tomcat Web Application Container After=network.target [Service] Type=forking PIDFile=/var/run/tomcat.pid Environment=CATALINA_PID=/var/run/tomcat.pid Environment=JAVA_HOME=/usr/lib/jvm/jdk1.8.0_131 Environment=CATALINA_HOME=/usr/share/tomcat8.5/8.5.13 Environment=CATALINA_BASE=/usr/share/tomcat8.5/8.5.13 Environment=CATALINA_OPTS= ExecStart=/usr/share/tomcat8.5/8.5.13/bin/jsvc \ -Dcatalina.home=${CATALINA_HOME} \ &
Hello, I am creating a ValueStream programatically in a service using createThing function and assigning the same to a thing using setValueStream() function. [Reference: https://community.ptc.com/t5/ThingWorx-Developers/How-to-create-Valuestream-with-script/td-p/515958] I have taken the necessary precautions while assigning the value stream, such as verify that the thing is created and then performing enable and restart thing [Reference: https://community.ptc.com/t5/ThingWorx-Developers/JavaScript-CreateThing-Thing-is-not-running/td-p/508232] But some how when I see that thing in composer, I do not see the value stream attached to it, how ever when I call 'getValueStream' for that thing it returns me the valid value stream. I can see this on "Entity Depends on" for the thing to which value stream is assigned and also on "Uses this Entity" for the created value stream. So I assume that value stream is successfully assigned, but I cannot see it when I view that thing in Co
Hello, is it possible to test a time series model by passing the input data row values with a file (test values/file with test data)? Is my understanding correctly, that the upload input file button is only used to provide the possibility to pass an file by url in the input data row values?
Is there a way to change the browser tab icon shown?Right now it shows the blue Thingworx Icon and uses the mashup name. I would like to customize this.
I am trying to create a Menu to open different mashups in a contained mashup widget. Menu link has been assigned to different mashups and I have passed mashup name to "mashup widget".But whenever I click a menu link it does not open anything. One observation that came across was a mashup name was not passed in the URL which was supposed to be added at the end. when added a mashup name at the end, that specific mashup was loaded in "contained mashup widget".Please find attached files containing 1.menu definition 2. menu Name bound to contained mashup
Hi, I want to assign the mashup loaded event to the service after invoking it. Is there any possibility to do like this. Thanks in advance.
Dear all, this Topic is already well know here, but I haven't found a solution, so I'll post the problem here: I want to install TW 8.1.3 (on a Microsoft 2012R2 OS), installed PostgreSQL 9.4.17 and Tomcat 8.5.29. When deploying the thingworx.war, Tomcat crashes and doens't start anymore. From the log files I could't extract: 2018-03-16 17:53:23.764+0100 [L: ERROR] [O: c.t.s.s.l.LicensingSubsystem] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] Failed to load FlxCore library. Ensure it's in PATH (Windows) or LD_LIBRARY_PATH(other platforms) or set with the VM arg, -Djava.library.path. Error message : com.flexnet.licensing.DllEntryPoint.entry([B)I Regarding another post mentioning the -Djava.library.path - mine is set to: -Djava.library.path=D:\Apache Software Foundation\Tomcat 8.5\webapps\Thingworx\WEB-INF\extensions From the Tomcat logs I found the following: 6-Mar-2018 17:53:14.670 INFO [localhost-startStop-1] org.apache.catalina.core.App
I am following the Thingworx Extension Development User Guide.pdf. This guide suggest to use STS Gradle but I couldn't find that plugin. (Customer security doesn't allow to browse net marketplace in eclipse) also my Eclipse(version Oxygen.3) has Build.gradle plugin and this plugin doesn't work properly (It needed to be set up configuration). please guide me to set up gradle. ( where I could download STS Gradle plugin.zip) or how to use Build.gradle
Hi All,Can i use a curl command inside js service? Also I have an URL as ~ http://win-hkdrt6do2m5:8080/historian-rest-api/v1/tags?nameMask=* ~Can I get the json from there by using the content load functions? Thanks!Anselmo.
Hi all, I am trying to get login user's group name in costumed extension button widget to decide enabled or disabled. please advise how to retrieve the logged user info in runtime.js.
I have installed tx 8.2 and Industrial connectivity 8. I have configured all pertain to tx in Industrial connectvity project properties but still Im getting some issues with WS connection. Can anyone face the similar issue? Pl help me to sort this out.
Hi, As I am new to Thingworx I don't know how to get time difference from two datetime widget in a textbox widget. Do I need to create service for this? Thanks in advance
Hello How do I request a url for a mashup?I showed mashups using an iframe in html. This seems unstable. Can I request url via parameters? How do I do this? thank
In the MFG AssetMonitor Mashup, I use the autocomplete widget to search the AssetMonitorPerporty. But a lot of Assets has the similar name as the image. Can i limit the list in 10 rows ? I should customization the widget?
Any example lua scripts and template files for a similar setup would be greatly appreciated. Although I doubt its the only problem with my setup, how do I get rid of the following error? [ERROR] 2018-04-09 14:38:30,517 luaScriptProxy::app_unlock: [-854903040] Attempt to unlock app_mutex while not holding it.L= 0x1cab4c0 I have my config files and a word document explaining my setup in more detail in the attached zip. Thanks!
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.