Recently active
Using simulated device(Java SDK running in Eclipse), I am connecting to a remote thing and trying to update a property which is defined on Thingworx platform as a remote property, but not able to see the update reflect on the Thingworx platform. I am invoking UpdatePropertySubscriptions method on the Agent. I have tried configuring PushType Always also at the simulator side. Thingworx platform is able to read the property from simulated device, but it looks like that value is not getting pushed from the remote device to the platform. I am using Thingworx 8.5. If I gave the cache method as "Fetch from remote every read", it will update the value in thingworx platform but this will cause huge performance issue. Cache method as "Read from Server Cache" is not working . It should work if the value is getting pushed from remote.
Hi, I want to use connectors like Gmail/Office365 in Thingworx Flow. I am following with the article to create Oauth authorization. After I created the OAuth configuration JSON file, I need services to upload it to the ThingWorx Flow server. The article indicates that there three services (LoadOAuthConfiguration/DeleteOAuthConfiguration/GetOAuthConfiguration) that can be utilized, but I can't find them under Composer/System/Subsystems/WorkflowSubsystem/Services, could somebody tell me why? The Thingworx version is 8.5
In ThingWorx 8.5.2-b90, variables declared with let are block-scoped, however, variables declared with const are not block-scoped. Related section of the specification: https://tc39.es/ecma262/#sec-let-and-const-declarations The let and const constructs were introduced in ES6. This article states that ThingWorx 8.5 supports ES6: https://community.ptc.com/t5/IoT-Tech-Tips/Arrow-functions-filter-map-amp-reduce-ThingWorx-8-5-supports-ES6/td-p/630164 Related post: https://community.ptc.com/t5/ThingWorx-Developers/Incorrect-work-of-const-inside-while-loop/m-p/663884 Related open issue on github: https://github.com/mozilla/rhino/issues/326 The following code snippet can be used to reproduce the issue: test1a - no error using let test1b - error thrown using const test2a - no error using let test2b is commented because it fails syntax checking (function test1a() { var seen = {}; var arr
I think this question has been asked before. Wondering if pagination with Grid is available now. Thanks in advance. Preeti
Is it possible to download a file inside Thingworx service? I wrote a service to archive a zip file, I want to after the file is archived it also downloads inside the service called Note that this service will return Nothing.
Hi , I went through the document "connection server installation and operations guide" , but still couldn't get point of this component , my questions are : Connection server is supposed to be used when there're lots devices, but why can it mitigate the load of Thingworx server ? by something like aggregating the device requests then resend ? I didn't find the information in the document Can I implementation certain custom logic in connection server ? like transform/convert the device data ? Does the connection server the closest component to the Thingworx server ? If I use mulitple edge components/techniques to connect device data, including : virtual thing of Java SDK, protocal adapter tookkit, EMS and Kepware , when the connection server take part in, should / can have all of these edge components connected to the connection server and then the connection server's responsible for t
I have created the alert subscription which finds the logged-in user's group and gets the list of users from the same group, in order to send email to all of them. The subscription is working fine in development i.e. with the admin user. When I log in using custom user and triggers the alert, the subscription is not getting run by the user. I have provided permission to all the necessary entities for the particular user. Can anyone help why the subscription does not get run by the custom user?
Hello everyone! I try to connect to my SQL server with instance name. So standard (and working) connection string looks like that: jdbc:jtds:sqlserver://serverAdress/DBname;useNTLMv2=true;domain=EU And now I try to use something like this: jdbc:jtds:sqlserver://serverAdress/DBname;instancename=myInstanceName;useNTLMv2=true;domain=EU When I use local Database account for connection - it works. But when I try to use LDAP account for that, it doesn't work. Maybe someone did have the same problem? Maybe I should change somehow connection string? Thank you in advance!
Hi, I have a remote thing bound to Kepware in Thingworx. The data type is String in Kepware , it works well if I write number or english alphabet, however , if write chinese character then it become garbled in Kepware , please check the attached picture . If I set chinese character in Kepware directly, then Thingworx can read it and display correctly. Only write has problem. Any idea about it ? Thingworx 8.5.2 Kepware: KEPServerEX 6 Regards, Sean
Hi, I have a Thingworx 8.4 installation running in a Docker on AWS, I tried to use my user/password to license it but it is not working. Is there any way or command to check the license server connection? Thanks!
Hello, I need some help with the timeline widget. The DataSource is a JSONData but in String format. I can't find the name of the attributes that the JSONData must have. On the web I found this help { "ending_time": 1355761900000, "starting_time": 1355759910000, "label": "person b"}but I can't graph anything. I would appreciate it if you could provide me with some documentation of that widget. I am sending a snapshot of the widget properties
Hello, We are using Manufacturing Apps 8.5.2. We have configured an anomaly alert on a property of an asset and it is working properly, we test it with the Anomaly_Dashboard mashup and we also get the alert with the service QueryAlertHistory. The problem is that the anomaly alert is not shown in the Alert Monitoring mashup when it is active. In the help center of Thingworx Apps 8.5 is written: "The following types of alerts can be created and edited on equipment or equipment templates only in ThingWorx Composer: In Range, Out Of Range, Deviation Above, Deviation Below, and Anomaly. These alerts display in ThingWorx Apps, and can be deleted from the Alerts tab or the Alerts page for an individual piece of equipment." Reading the paragraph we understood that Anomalies can't be configured directly from apps but can be configured in the composer and use them in apps. Is there anything that we have understood incorre
When I put runtime mashup link in create pdf() service I am getting empty pdf as output.Please check the code below. var params = {FileRepository: 'FileRepo_Krishnakomal' /* THINGNAME */,Rotated90Deg: false /* BOOLEAN */,AppKey: "31ffa8ab-e5d4-416e-960c-2bc40f0c36ba" /* STRING */,ServerAddress: "http://amrvwp000002634.amer.pfizer.com:8080/Thingworx/Runtime/index.html#mashup=ALLAhusBottomRows_IMU&forceClose=true&__fromNextGen=928e024c-e016-4122-8b8d-d80512da1f40" /* STRING */,OutputFileName: "MashupReport.PDF" /* STRING */,Resolution: "1680*1050" /* STRING */}; // result: STRINGvar result = Resources["PDFExport"].CreatePDF(params); But if use server address as "https://www.w3schools.com/" ,I am able to get desired data in output pdf file.Could you please let me know where I was wrong.
I have imported an extension and the mashup which uses the extension from 8.3.3 to 8.5.2.But it is not at all working in 8.5.2.How do I rectify this issue?
Hi I am using the Git Backup Extension(v3.0.1) in my ThingWorx environemnt and it is working fine with normal git repository, but when I am using the extension with a git repository where the two step verification process is enabled then I am not able to push my entities or project or anything from ThingWorx to the git repository. The project or entity is being exported properly to the ThingWorx Environment git repo but is not being pushed to the github repository. I think it is the two step verification process enabled is causing this issue as I tried disabling it and trying then it worked. Is there any way we can access the git repository where there is the two step verification process enabled? I had obtained the extension from https://github.com/vrosu/thingworx-gitbackup-extension/releases
This is the 3rd article of series: Thingworx Analytics introduction. 1st article introduces Analytics Function and Modules. 2nd article introduces Non Time Series TTF prediction. Environment: Thingworx Platform 8.5, Analytics Server 8.5, Analytics Extension 8.5. In TTF prediction, Time Series Data model is better than Non Time Series Data model. What’s Time Series Data model? As per Machine Learning concept, the process of training model is to find the best matching parameters, and to use them to combine with features to calculate the result values. For Non Time Series Data models, it’s not relevant between current values and previous values. But for Time Series Data, during each time of calculation, it will check not only current values, but also previous values, and the previous values are time relevant. There’re 2 important terms here: look back size, and data sampling frequency. Look back size = numbers of data samples need to look back. Data sampling frequency = the
On my asset detail page, I have a mute button (toggle) to "Disable" the asset Thing. When this button is toggled from "OFF" to "ON", it mutes (disables) the asset Thing. The code for this process is shown below: try { if (Things[SerialNumber].MuteStatus === false) { Things[SerialNumber].MuteStatus = true; Things[SerialNumber].MuteDate = new Date(); Things[SerialNumber].AssetStatus = 6; Things[SerialNumber].CalculateStatus(); logger.info(me.name + ": muteAsset: isReporting: " + Things[SerialNumber].isReporting.toString() + " reportingLastChange: " + Things[SerialNumber].reportingLastChange); logger.info(me.name + ": muteAsset: MuteStatus: " + Things[SerialNumber].MuteStatus.toString() + " AssetStatus: " + Things[SerialNumber].AssetStatus + " status: " + Things[SerialNumber].status + " isEnabled: " + Things[SerialNumber].IsEnabled()); Things[SerialNumber].DisableThing(); logger.info(me.name + ": muteAsset: isReporting: " + Things[SerialNumber].isReport
Hello, I'm new to Thingworx and I'm trying to make a time-series chart with an x-axis that shows, say, only the most recent 24 hours, so the far end of the axis is the current time and the "0" end is 24 hours ago. Right now I have a chart where the "0" end is the time I created the chart and the far end is the current time, so as the x-axis continues to get bigger my data resolution is practically unreadable, but nothing I change in the chart properties seems to have an impact. Does anyone know how to set the X-axis to a fixed amount of time that scrolls forward as the data updates? Thank you
Philosophical question for folks. When recording historical data for a manufacturing batch (for retainment in a "batch report" (uptime, average temp, etc)) what thingworx data storage method would be best? After looking into everything I would think that--for example--temperature data could be recorded in a stream (as it is time series) and tagged with the batch unique identifying number. however, where would other data be captured which isn't time series. For example--Uptime, or units produced, or yield. Would it be best practice for each manufacturing batch to be created as it's own "thing" with specific persistant properties holding that data. Or would it be more logical to have a "batches" table which has an uptime/units produced/yield column? Would it be better to have each batch identification number a "tag" and then have an uptime data table where each row is tagged with that batch identification number? I guess what I'm getting at
when I select first value using drop down widget, 2nd value should be limited. how to do this service? for example. if I select production Volume---Milk----UHT Small Pack, in SKU drop down list, it cannot show Whipping Cream 1000 ml.
Hello, I would like to ask, if it is possible to bind PLC tag not only to thing's property but also to infotable row? To understand my problem, which I am trying to solve: In PLC I have a collection of items. Every item has 2 tags (int, bool). And I was curious, if it is possible to use infotable for this task, instead of 2 times of collection size of separate properties, which are bind to PLC tags? I am using ThingWorx Foundation 8.5.0 Thank you
This is the first article of series: Thingworx Analytics introduction. 2nd article introduces Non Time Series TTF(Time to Failure) prediction. 3rd article introduces Time Series TTF prediction. In year 2015, PTC acquired Machine Learning company ColdLight, and integrate its products into Thingworx, and renamed to Thingworx Analytics. PTC Thingworx Analytics Help Site lists its functions: Explanatory Analytics: such as to identify a signal’s value Descriptive Analytics: such as calculation of average value, median value, and standard deviation value. Model Generation: model creation of prediction, includes some popular Machine Learning algorithm. Predictive Scoring: to predict result value based on trained model and parameters. Prescriptive Scoring: to change result values by modifying model parameters. Confidence Models: convert prediction result into rates of value ranges. Anomaly Detection: to filter out abnormal signals by comparing high and low limits. Time Series P
Our companies OEM license was expired, and they bought a new one. How do i update my PTC account with new SCN/custormer number Thanks & Regards, Sri
Hello everyone! I try to use 'GetProjectName()', that you can find for example in 'EntitySevices'. But how it works? This function don't have any params, so how should I use it? When I choose this function in services list, I get this: var result = Resources["EntityServices"].GetProjectName(); And of course, result is always empty. Thank you in advance.
Hi everyone, I am interested in a method to connect directly to the chromatography equipment ÄKTAxpress from GE Healthcare. Could it be done without connecting to Software UNICORN? Which Driver could be helpful in this situation? Thank you! Best Regards Olena
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.