Recently active
We have two OPC UA Clients (PC) and want to communicate between them using KepServerEx. There i no PLC involved!!! Is this possible? if it is, which driver should I use? The clients are Pi System and a customer specific program.
Is it possible to connect a Thingworx agent( made by the c sdk) to send messages to Azure IoT hub. If we have to connect Thingworx agent based devices with Azure then how it should be done ?
This post is a couple of years old, and is now locked. Does anyone know if there has been update on the aability to use OKTA with PTC ThingWorx in the interim?
Hi, We are using Creo Product Insight for ThingWorx extension on top of the ThingWorx Analytics extension. How can I configure predictive analytics and also use it. Also, Can anyone please share the documents for the same with examples, so that I can go through it. Best regards, Aditya
Hi, I have failed to import a database Thing, that is exported from a DEV system, into a QA system. That was failed because of password fields in the XML exported file. What is the best way to migrate changes in a database Thing from a system to another system? Both systems are running the same version 7.4.19-b262 Any suggestion would be greatly appreciated! My Bests, Hung Tran
Hello everybody, I am using a Thing with MSSqlServer template to connect the system to a SQL database. The goal is to log PLC tag (binded to a Remote Thing) values, and store each under its relative database column. I am using a simple SQL command to write these values into the database: Spoiler (Highlight to read) INSERT INTO *TableName* (Column1,Column2, ..., Column15) VALUES ([[input1]],[[input2]], ..., [[input15]]) INSERT INTO *TableName* (Column1,Column2, ..., Column15) VALUES ([[input1]],[[input2]], ..., [[input15]]) Together with another service linking each input parameter to my remote thing properties: Spoiler (Highlight to read) var params= { input1: prop1, input2: prop2, ... input15: prop15 }; SQLcommand(params); var params= { input1: prop1, input2: prop2, ... input15: prop15 }; SQLcommand(params); With this, I am able to ALMOST get what I want. In fact, when looking at what I am actually logging in the SQL database, it look
Hi I Could not able to download SSH File Transfer Protocol (SFTP) extension from PTC Market Place, Please send me extension file if anybody already have that file.
Anomaly Detection (also known as Outlier Detection) is a set of techniques that identify unusual occurrences in data. The premise is that such occurrences may be early indicators of future negative events (e.g. failure of assets or production lines). Data Science algorithms for Anomaly Detection include both Supervised and Unsupervised methods. In Unsupervised Anomaly Detection, the algorithms make the assumption that most of the data points are "normal" (e.g. normal operation of the asset) and are looking for data points that are most dissimilar to the remainder of the dataset. Supervised Anomaly Detection requires a labeled set of Anomalies, in which case predictive algorithms can be applied directly on this data. Thingworx employs a number of algorithms in support of Anomaly Detection: Simple threshold alerts. These are easy to setup on Thing properties but require a domain expert to provide such thresholds. Then, the alert will automatically fire when the value of the
I have two issues when I tried to develop the UI for the exercise in the workbook . When adding entities through the data source pane 1) In the Select Entity field Serviceable TS is not available/displayed 2) From the GetPropertyValues service when Returned Data is expanded OverallStatus property is not displayed kindly guide me Anitha
Hi all, I would like know if there is some way to create search fields through of date, hour... For example: I have a bar chart and I wanna show the data between 09/08/2019 and 09/15/2019. If there is, does someone know some guide that it can help me? Regards, Leonardo
Hey Guys I was struggling for a very long time to use a custom font in Thingworx that will be used by all the widgets, texts and labels and have finally gotten it right, and thought I would share. The first step would be to add your custom fonts to a repository in on the thingworx server. 1. Add a fileupload widget to a mashup. 2. Set the RepositoryName property to SystemRepository 3. Set the Path property to /Fonts/ 4. Now run the Mashup and choose your font file on your computer and click the "Upload" button to save the file in the repository. (I have done it with both ttf and woff files" 5. In thingworx composer, select the mashup or master mashup of your project. Navigate to the "Custom CSS" tab. 6. In the CSS, paste the following CSS and click save @font-face {font-family: THENAMEOFYOURFONT;src: url(/Thingworx/FileRepositories/SystemRepository/Fonts/THEFONTFILE.ttf) format('truetype');} *{font-family: 'THENAMEOFYOURFONT', sans-serif; font-size:18p
May I know how to put value which is from aggregate function in data table services, and what is the output?
Hi, The system complaints that "This entity does not support property permissions" Exception: Wrapped java.lang.Exception: This entity does not support property permissions Cause: This entity does not support property permissions Here under is a code to simulate the case var EntityServices = Resources['EntityServices'] var newTemplateName = 'TestThingTemplate' if (ThingTemplates[newTemplateName]) EntityServices.DeleteThingTemplate({ name: newTemplateName }) EntityServices.CreateThingTemplate({name: newTemplateName, thingTemplateName: 'RemoteThing' }) ThingTemplates[newTemplateName].AddRunTimePermission({ principalType : "Group", principal : "Users", allow : true, type : "PropertyRead", resource : "*" }) My Bests, Hung Tran
Hi, In my production server event queue size is keep on increasing. I have extracted the stacktrace file with help of Support Tools Extension. How to analyse or find out the root cause of event queue size. Thanks & Regards, Sathishkumar C.
Dear community, I would like to retrieve the last x (e. g. 10) records (by id) from a DataTable. This post nearly covers my problem but Streams do not suite my data and the second solution does not work because I have an additional filter. Here is what I thought should work: var query = { "sorts": [ { "fieldName": "MessageId", "isAscending": false } ], "filters": { "type": "EQ", "fieldName": "Direction", "value": 2 } }; var entries = Things["MESMessageLogDT"].QueryDataTableEntries({ maxItems: 10, query: query }); MESMessageLogDT is the DataTable entity and I would like to get the last 10 records matching my filter criteria (Direction = 2), this is why I cannot simply take length - x. However, the actual result is: The first 10 records but in descending order. So apparently the sequence of data processing is filter maxitems sort while I need (and expected) filter sort maxitems A workaround is this but the performance is poor and gets wo
Hello, I had a infotable with values separated by "," , I should split that data and insert in to a location basetype where using that location we should make a geofence on the map. Please let me know how to split that data and insert into location base type. find attached image for clarity. Regards, Bhargav.
I'm querying a datatable, and passing this query (below). If I run the QueryDataTable entries with this query, it returns no results. If I just change the Station parameter to be "EQ" and just add the machine name as a string, the query works as expected (returning 40+ results). What gives? What am I doing wrong? var machineArray = ['my_machine_name']; var query = {"filters": {"type": "And","filters": [{"type": "IN","fieldName": "Station","value": machineArray},{"type": "EQ","fieldName": "Program","value": Transmission},{"type": "EQ","fieldName": "Operation","value": Operation}]}}; var myQueryResults = Things["Ford.PFS.GM.Historian.Repository"].QueryDataTableEntries({maxItems: 200000 /* NUMBER */,values: undefined /* INFOTABLE */,query: query /* QUERY */,source: undefined /* STRING */,tags: undefined /* TAGS */});
Hi, I wanted to send an email notification to users on a particular event occurrence and for that I created a Notification and then a Trigger but the problem is the trigger is not getting fired and no users are getting the email. When the same I tried to do using a Subscription then It's working but not With the Notifications and Triggers. Just check the attached images for further details. If anyone knows about the resolution for this, please help me out. Thank You.
Hello Everyone, I tried to retrieve the device id from my application.log at twxFoundationH2Trial-8.3.2\tomcat\apache-tomcat-8.5.23\ThingworxStorage\logs on my machine. Howvere I can't find the device id as stated here in ThingWorx fails to start up or starts up in limited mode due to license expiration. My free 90 day trial license for ThingWorx foundation server expired on 4th July. I have followed the above tutorial to get device_id as no licenseRequestFile.txt exists on my machine. Also I am usinh ThingWorx version 8.3.2 Kindly suggest how should I proceed. Regards, Aarushi
I am trying Prescriptive analytics on Thingworx with the analytics manager. The data set that i am using is a example data set with Temperature and Vibration values. I selected the values for levers and was able to generate the above prescriptive scores. However i am confused with the above results. The goal field i select was Goal and it has 3 values: good normal and bad. 1. How does the model understand the string ('good', 'normal' and 'bad')? 2. What does it mean by the value of the scores? eg what is the meaning of 0.22221755904502294? This value seems low so does it mean it is not optimized?
Hi, The error is 406 Not Acceptable. 2019-09-08 18:28:17.766-0500 [L: ERROR] [O: E.c.t.w.Importer] [I: ] [U: thingworxRead] [S: ] [T: http-nio-192.168.230.139-443-exec-44] [message: Import Failed: java.lang.NullPointerException] com.thingworx.contentmanagement.ImportProcessor.processImport(ImportProcessor.java:1764) ... Wrapped by: com.thingworx.common.exceptions.ModelAccessException: [2,006] Unknown error occurred. Contact the administrator if this re-occurs. The detail error in Error log is 2019-09-08 18:28:17.766-0500 [L: ERROR] [O: E.c.t.w.Importer] [I: ] [U: thingworxRead] [S: ] [T: http-nio-192.168.230.139-443-exec-44] [message: Import Failed: java.lang.NullPointerException] java.lang.NullPointerException: null Wrapped by: java.lang.Exception: Import Failed: java.lang.NullPointerException at com.thingworx.contentmanagement.ImportProcessor.processImport(ImportProcessor.java:1764) at com.thingworx.webservices.Importer.processImport(Importer.java:342) at
We use collection widget to show menu style row in main mashup. This essentially renders n number of icons in the footer. This main mashup also contains contained mashup in often we have to drive the contained mashup based on some action within those contained mashups. This works fine. However, the challenge we face is for instance if a user clicks on Menu A which loads Mashup A in contained mashup and based on some action on contained mashup A user is automatically directed to Contained mashups B. Since switch between mashup wasn't the result of manual click on the icon in the footer the selection on the collection widget falls out of sync. Which would mean in above e.g. as user was navigated programatically to Contained mashup B from Contained Mashup A, the footer with collection widget still shows icon A as selected when actually the user is viewing mashup B which corresponds to Icon B. I hope i didn't make it too confusing 🙂 Is there anyway we
Hi all, I want customize my gauge as the image below: I have the extesion "Progress Gauge" and "Gauge". Is possible do it?
Hi, I've added a new til in DataTable and it shows in Mfg, after following the guide in hingworx Apps Customization Guide 8.4.1 page 102. 1. TileIcon: I've made an icon for my tile under Media. It's supposed to be 80pixel high, but it filles the tile when viewed in runtime. It's a png-file. What file formats are supported? 2. TileLabel: For the Mfg Apps the tile label is a resource set in double square brackets [[PTC.SCA.SCA.....]]. I'm not able to source this resource in Twx to duplicate it. How is this handled? Please advice. I've tried to add a ToolTip text instead, but this does not show on the Tile 3. TileDescription: as TileLabel
I am looking to make a call from within an extension widget to a service on the platform. Namely, I am looking to get the current user identity and some other tasks (which are handled by MyService) and use that internally in the widget to control certain parts of the html (such as hiding or showing buttons). So far I have referenced these two posts as well some of the SDK. I have had minor success with the ThingworxInvoker at least returning a table as opposed to the second method of using processServiceRequest (causes the widget to fail). The difficulty I am having is accessing the data in the table. https://community.ptc.com/t5/ThingWorx-Developers/Thingworx-UI-Widget-development-calling-standard-thingworx/m-p/587862#M33332 https://community.ptc.com/t5/ThingWorx-Developers/Calling-Thingworx-Service-Using-Java-Extension-SDK/m-p/592096#M34028 My current call is like so var invoker; var success = function (invoker) { var dataFromInvoke = invoker.result; var ro
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.