Recently active
Hello guys, I've been having trouble understanding how services work and how I should program them, I understand the concept of them being the functions of the thing but when it comes to create them, I don't have enough knowledge. The problem I have now is that I have a Data Table with some locations and I want to create Geofences around each one of them. The purpose is to track a vehicle and check if he made into the next Geofence in time. I searched some documents in support but none of it was helpful, this article https://www.ptc.com/en/support/article?n=CS225480&source=snippet shows how to show a Geofence by region but my purpose is to create it for multiple points. Remember that I have the locations in a Data Table but I don't know how to create a Geofence in each one of these points relating it to the vehicle I am tracking. I also saw a function createCircularGeoFence in service Snippets but I don't know where I would use them to create the Geofences around
In this Blog, we will share some light about Gradient boost, which is a default algorithm in our Analytics platform. We will touch on:1) The main purpose of Gradient boost and how the technique works.2) We will look at advantages and constraint.3) Last some “nice to know” tips when working with Gradient.Gradient boost is a machine learning technique which main purpose is to help weak prediction models become stronger. Gradient boost works by building one tree at a time, and correct errors made by previously tree. The theory support reweights of edges which allows badly weight edges to get reweighted. For example the misclassified gain weight and those weights which are classified correctly, lose weight. It is kind of the same strategy when dealing with stocks; you balance the investment between bonds and share. An analog could also be done to illnesses; If a doctor informs that you have a rare disease, you want to make sure to get a few more opinions from other doctors, You will evalua
Hi, I created a new persistent provider called "PostgreSQL" , I've set it to be active and set it as default persistence provider. I can find it in Monitoring->Subsystems->Stream Processing. But after calling Things["xxx"].AddStreamEntry, I didn't find the value "number of stream entries that have been queued" changed, it seems the persistent provider doesn't take effect . How to enable it ? Regards, Sean
I am using Thingworx database to store one week data from manufacturing plants and use Azure Datalake to store older data. Is there a way to use Mashup to view historical data from Azure Datalake? I know I can use PowerBI to view historical data. But I want to use the same tool to see both real time and historical data.
I have a SOAP input in postXML snippet and get output as XML. How to pass the input in XML format? Is there any usecase you share. When I pass the input as XML I am getting error as "DOCTYPE is disallowed when the feature "http://apache.org/xml/features/disallow-doctype-decl" set to true.
Hi, My customer has 5 factories , he has purchased one ThingWorx SCO and deployed it in factory A1. Now the customer wants to use the ThingWorx in the other 4 factories(A2 ~ A4), the options could be : 1. Reuse the single ThingWorx Server Buy more licensed users for the current ThingWorx SCO , deploy the SDK agent in the 4 factories to collect data and all of the factories share the single ThingWorx server in factory A1. The data of the 5 factories are visible to each other . 2. Deploy separated ThingWorx Servers w/o Federation Buy more licensed users for the current ThingWorx SCO , deploy the SDK agent and ThingWorx server in the 4 factories as well. The data of the 5 factories are separated . 3. Deploy separated ThingWorx Servers with Federation Buy more licensed users for the current ThingWorx SCO , deploy the SDK agent and ThingWorx
Hi, I have an infotable that is being passed to Service-A, that service is adding additional fields to that infotable, and returning that infotable. This infotable is being passed to the Grid-Advanced widget to populate its data. When a row is selected from this grid, I will populate a particular column in that row with a string. I'm not sure how to accomplish this goal. I currently have Service-A going into an event router along with the result of another service, Service-B (this service takes the infotable from Service-A and populates the value, then returns the entire infotable). Service-B is called when the SelectedRowsChanged event from Service-A is triggered. However, for some reason that event is not being triggered. Any help would be greatly appreciated!
Hello forum, I'm trying to install Foundation and keep getting this error soon after the PTC logo appears on the screen: "There has been an error. Could not verify java, please install the required Java version." This is on windows 7, so I tried on my other machine on windows 10, with same result. Using the latest version of Java - 1.8.0_191. Am I meant to roll back the Java installation?
Hi all, I am facing this issue where I am not able to push more(85 to be exact) entries into a stream. I have write a service which will calculate and then push the value to stream. I run the service 85 times and feed the same to stream.to check the working/performance of the service i have fed 85 output to result. i can see 85 values in result, but when i go to the stream and check the same i see only 40-50 are present.
Hi, I'm using the Java SDK to send event to Thingworx platform. Checking the application log I found the error : "Could NOT send response for request 12 on /Things/DeviceTestThing/Services/ProcessRemoteEvents/ [java.lang.Exception: No open connections were available on endpoint 11]" How to avoid such error ? Regards, Sean
I can't understand because this SQL query doesn't work: COUNT Department,IF(Department = 'toys', COUNT(), 0) AS numberOfToys,IF(Department = 'health', COUNT(), 0) AS numberOfHealthFROM TABLE; TABLE Department - Valuetoys - Atoys - Btoys - Chealth - Khealth - Ftoys - Gtoys - Rtoys - Wtoys - Q I'd like to count number of occurrences about both toys record and health ones into 2 columns. department numberOfToys numberOfHealth toys 7 0health 0 2 WHY ?!
Hi, How/Where can I get these keystore and truststore? Thanks, Janakiraman P
Is there a standard list of jar files that are required for new extension development that you can provide? I can't seem to get my IDE to function properly. I have the annotations and menus all working. But I continue to get errors for missing or improper jar files.
Hi All, We are facing issue with Tree Widget UI rendering when used with networks. Explanation: We are trying to display below sample network structure in tree widget. ABC XYZ Animal Cat Fruit Apple Watermelon Location India
Hi, I have a couple of issues with the collection widget which I'm hoping someone may have an answer to. I have a collection widget in a sidebar (RHS), which is populated via a service on a SelecetedRowsChanged event from another service. What I notice is that if the sidebar is collapsed at the start (when service originally called) but then expanded manually the collection widget never draws no matter how many times the SelecetedRowsChanged fires. However, if the sidebar was expanded to start with then it works correctly. Seems like I need a widget 'refresh' but can't find a way to do this. The second issue is similar in that to the left of the sidebar mentioned above I have a second collection widget. The sidebar has the 'Overlay' property set to false. What I see is that when I expand/collapse the right sidebar the collection widget to the left does not resize itself to take advantage of the new space, but retains its original size. Again it feels like I need a refresh somehow
Hello, Is there a way to get the time series chart or the value stream feeding into it to auto adjust the number of data points to be shown? When I used the data querry in the composer, I have the option of setting max number of data points. I set it too high, mashup takes forever to load. Set it too low, the chart only draws a small portion of the line and then gives up. I also noticed that the graphs in manufacturing apps work perfectly in that they auto adjust the amount of data points based on the date range. How can I do that in thingwrox composer? Thanks
Session should only be logged out from the single IP where user want to logout. Logout extension is asking user authentication for a second before getting logged out. Can I get rid of that with any work around?
Hi, I get a strange error today, I could not see any clue to find what was wrong. Wrapped by: com.thingworx.common.exceptions.InvalidRequestException: Execution error in service script [FileRepoThingName] : Wrapped java.lang.Exception: File Already Exists Cause: File Already Exists at com.thingworx.dsl.engine.DSLProcessor.executeService(DSLProcessor.java:311) ~[thingworx-platform-common-7.4.1-b62.jar:na] at com.thingworx.dsl.DSLServiceHandler.processService(DSLServiceHandler.java:37) ~[thingworx-platform-common-7.4.1-b62.jar:na] at com.thingworx.things.Thing.processServiceRequestDirect(Thing.java:7183) ~[thingworx-platform-common-7.4.1-b62.jar:na] at com.thingworx.things.Thing.processAPIServiceRequest(Thing.java:7121) ~[thingworx-platform-common-7.4.1-b62.jar:na] at com.thingworx.webservices.BaseService.handleInvoke(BaseService.java:2954) ~[thingworx-platform-common-7.4.1-b62.jar:na] at com.thingworx.webservices.BaseService.service(BaseService.java:332) ~[thingworx-
Can anyone share any document or example of use of dashboard widget in mashup building?
Hi Community, I`ve followed the Thingworx Raspberry Pi tutorial but I`m currently stuck at step 5, launching the EMS. When I try to run it with the command sudo ./wsems I`m getting the following errors: [FORCE] 2019-05-09 08:46:47,382 ./wsems: Initializing EMS .... [FORCE] 2019-05-09 08:46:47,382 main: Using config file /home/pi/Desktop/microserver/etc/config.json [INFO ] 2019-05-09 08:46:47,382 ./wsems: Creating the WsEms proxy. [INFO ] 2019-05-09 08:46:47,383 ./wsems: Starting HTTP Server. [WARN ] 2019-05-09 08:46:47,383 Main: Encryption is disabled on HTTP Server. [WARN ] 2019-05-09 08:46:47,384 Main: Authentication is disabled on the HTTP Server. [INFO ] 2019-05-09 08:46:47,384 ./wsems: Initializing the ThingWorx8080 [FORCE] 2019-05-09 08:46:47,384 httpServer: Initializing the ThingWorx8080 [INFO ] 2019-05-09 08:46:47,385 wsEmsProxy::initialize: FIPS is disabled. [INFO ] 2019-05-09 08:46:47,386 wsEmsProxy::initialize: Encryption is enabled on Web Socket connection.
Hi, I have a test case as following var testfile = 'test.txt' me.CreateTextFile({ path: testfile, data: 'Hello, world!', overwrite: true }) // WORKING me.CreateTextFile({ path: testfile, data: 'Good morning!', overwrite: true }) // WORKING me.LoadText({ path: testfile }) // WORKINGme.DeleteFile({ path: testfile }) // NO ERROR, but the file isn't deleted me.CreateTextFile({ path: testfile, data: 'Bye bye!', overwrite: true }) // ERROR ERROR: Wrapped java.lang.Exception: Unable to Create File [test.txt] Cause: Unable to Create File [test.txt] My Bests, Hung Tran
Since the marketplace extension is no longer supported and the drivers may be outdated, you may build your own jdbc package/extension: Download the Extension Metadata file Here Download the appropriate JDBC driver Build the extension structure by creating the directory lib/common Place the JAR file in this directory location: lib/common/<JDBC driver jar file> Modify the name attribute of the ExtensionPackage entity in the metadata.xml file as needed Point the file attribute of the FileResource entity to the name of the JDBC JAR file The metadata also contains a ThingTemplate the name is set to MySqlServer, but can be modified as needed Select the lib folder and metadata.xml file and send to a zip archive Tip: The name of the zip archive should match the name given in the name attribute of the ExtensionPackage entity in the metadata.xml file Import the newly cr
Hello! Perhaps there was already such a question, but still. A service of SQL-query type produces the following error when I try to test it: There is a connection to the database itself, there is a data in it too. As I understand, the problem is that my service is perceived as empty. But I don't understand what could be wrong.
Why does PTC create extensions and not provide any documentation with them, not even an example of usage? I could write a service with named parameters, hide the code and not tell anyone how to use the parameters or what limits they may have. It might not be very useful to anyone but myself. This isn't best practice is it?
Hi, Does Thingworx supports TimescaledDB ? Regards, Sean
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.