Recently active
Hi, We are working on ThingWorx HA using ThingWorx 8.4.4 version. We are planning use Azure Postgre sql database. In Azure Postgre sql, there are 2 options 1. Single Server 2. Hyperscale Server group which one is best option? What I understood is stores more than 100GB data using Hyperscale Server group If we use single server , can't store more than 100GB data?. Could you please suggest which one is best? Thank You. Latha
Hi, I am trying to loading Realtime/Simulated value inside ThingView Widget. Is there a document or a link available to guide us on this? Avinash
Hello, I'm newbie on Thingworx technilogie and after doing the guides am trying now to develop my first application. The idea is simple: 1- Use Raspberry pi as Gateway (Done) 2-Connect EMS to IOT Thinworx (Done) 3- Configure my first Thing : Pi_Thing with auto_bind and connect it to the remote thing on the platform (Done) 4- On Mu PiTemplate, i want to develop a lua script to get json result , parse it and sent the resut to a remote property on thingworx platform. Reading the LUA Doc i think i have to user tw_http request: Some thing like: tw_http.get(host, port, path, headers, query) For test reason im using a public api just to test if it works: https://pokeapi.co/api/v2/pokemon/ditto/ Can you help with the lua script to get the JSON result from the API on the file Pi_Template I created to property: properties.JsonTest={baseType="Json", pushType="ALWAYS", value="{}"} when i call the api: properties.JsonTest = tw_http.get("https://pokeapi.co", "",
I am trying to show the windows services status (running or stopped) on thingworx? can someone please suggest how it can be done?
Hi Has anyone had any experience implementing the "ThingWorx With Dynamics 365 Field Service" extension? When I try to import the extension it reports the error "Unable to process import: Validation Failure: ThingShape ConnectedDynamics.ThingShape Had An Invalid DataShape [AR.ExperienceDataShape] assigned to property [AR_Experience]" when importing the extension. Has anyone found an easy fix to this problem? If the extension is indeed broken, is there any other means of setting up a simple proof-of-concept integration into Dynamics 365?
Hi, I am trying to return 4 values in a single column using java script. I have created a datashape to store the values and using array. But the script doesnt accept the infotable and says can not convert json to infotable. When I keep the base type as json it doesnt return anything the result is blank. How can I return 4 rows in single column? Please help me in modifying the service. var params = {infoTableName: "FilterBy" /* STRING */,dataShapeName: "Navistar_FilterBy_DS" /* DATASHAPENAME */};var FilterBy = Resources["InfoTableFunctions"].CreateInfoTableFromDataShape(params);var arrayOfFilters = [5]; {FilterBy.Filters = ["Part", "LineSet", "Job Num", "Part Type"];for( i = 0; i < FilterBy.length; i++){arrayOfFilters = [i];}}result = arrayOfFilters; Thanks, Shalini V.
Hi, I have a UI in which I have a combo box having 19 mashup names and a browse widget in which I wanted to browse the image from pc and once I selected the image, when I click on apply button I want the selected image to be set as mashup background style for selected mashup from combo. The basic idea is to make the background of mashup as configurable. Please give some idea on how I can achieve this. Thanks, Shalini V.
Hi Team, I am creating a Time-Series chart which is getting data from a service that is fetching telemetry & corresponding timestamp from a database every 10 seconds. All the values are Logged & Persistant. My question is that i am not able to show the Timestamp that is coming from the database in the time series chart. Only the current timestamp is being plotted that seems to be coming from Value Stream. Can you please help me solving this issue.
Hi Sharon, I'm having the same problem trying to get TW 8.4 running. I copy/pasted a platform-settings.json I found from here and I have validated it as well. (see attached) From Application.log: 2019-08-05 16:26:30.670-0400 [L: ERROR] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] [message: Connections could not be acquired from the underlying database!]2019-08-05 16:26:30.671-0400 [L: ERROR] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] *** Web Application STATE is being set to ERROR! *** From catalina.out Caused by: org.h2.jdbc.JdbcSQLException: Wrong user name or password [28000-195]at org.h2.message.DbException.getJdbcSQLException(DbException.java:345)at org.h2.message.DbException.get(DbException.java:179)at org.h2.message.DbException.get(DbException.java:155)at org.h2.message.DbException.get(DbException.java:144)at org.h2.engine.Engine.validateUserAndPassword(Engine.java:3
Hi experts , I'm beginner about thingworx. I'm Korean so I am poor at English. I want to know snippets. I don't wonder definition of snippet. How it is used and What do I use it for thing? I hope a simple exercise. Thank you.
Hello. I'm evaluating ThingWorx and trying to import a bunch of Kepserver PLC devices into ThingWorx. Hundreds of tags via. OPC UA and the default must be to log the parameters. There doesn't seem to be an obvious way on how to ensure all added parameters are logged. What's the best way in doing so, could I do a simple API call, perhaps set a default setting on a ThingTemplate, or programatically go through the properties setting the value? I tried the following script but it won't work for me. Error executing service SetAllPropertiesLogged. Message :: Property [IndustrialThing] does not exist Anything I logger.debug() doesn't go to the ScriptLog making my developer experience very frustrating.
PTC's Voice of Customer team is conducting a short survey to better understand where you are in your IoT implementation. We are going to be using this information along with other data points already gathered to inform upcoming strategic workshops. It is important that we capture your experience in your own words to bring to strategic leaders in PTC. We are not collecting in personally identifiable information in the survey. The survey takes just a few minutes: https://ptc.qualtrics.com/jfe/form/SV_3mYiNHFjJh5zKu1 Let me know if you have questions! Thank you in advance for your time. Nalie
Is it possible to use the data filter widget to a collection widget? If possible, how to do that?
Hi, I am using export button to export data in a grid but when we open the excel sheet the columns are not aligned equally. Few rows are left alligned and few rows are right aligned. How can I prevent this scenario? Also the column values are interchanged in some rows. Please provide some solution for this. Thanks, Shalini V.
I am not able to import the Java SDK extension in thingworx. Shows the following error.
How can we provide separate date and time input in the "startDate" and "endDate" parameter of querypropertyhistory service and how specifically we can enter a different date and a different time as an input. Please let me know the steps to implement the above scenario.
Hello, I am currently trying to implement a service which is executed by a User to move himself to a User Group that has Visibility permissions to a Thing. My Code is as below, try { var groupName = "InstrumentUsers" ; var params_AddMember = { member: username, type: "User" /* STRING */ }; Groups[groupName].AddMember(params_AddMember); } //respond back with the resultresult = { "success": "true", "Instrument": { "Alias": Things["Thing"].Alias, //problem is in this line "GUID": "xyz" }}; } catch (err) { result = { "success": "false" };} The "InstrumentUsers" does have the visibility to the "Thing". I also see that the user is properly moved inside the group. The problem arises when the user tries to execute the line Things["Thing"].Alias where he tries to read the property of the T
Hello PTC Support,I have a problem with adding new filter-options to the assetfilter in the manufacturing application.I added new properties to PTC.ISA95.PhysicalAssetThingTemplate. I used the documention for that and it was pretty simple. Now I want to add the new properties as filter-options for assets. The documentation says I have to edit PTC.SCA.SCO.AssetMonitor.AssetList.C_FilterMashup_8.4.2_00 for that. Like in the picture from the documentation I would like to add new options under the category “Mehr”. I want to add MashineType from PTC.ISA95.PhysicalAssetThingTemplate. I know I have to edit PTC.SCA.SCO.AssetMonitor.AssetList.C_FilterMashup_8.4.2_00 but to duplicate the buttons like the preset “Modellnummer” one I have from problems. Maybe there is a way to help me to create a new option for the filter like I want to?
I need to run a service for every 30 minutes from 7 AM to 7 PM daily except sunday. How can I configure my scheduler. My CRON string is 0 0,30 7-19 * * 2-7, I enabled my scheduler and subscription, still I'm unable to run my service. Please help me out from this. Correct me If my CRON string is wrong
hello, i am trying to cache some data, so: i have a service that has its output as an InfoTable and retrieves a couple of rows and 5 columns of data. i would like to cache this service as it takes some time to run, but the below code only caches the last row form the server even thought the loop is ok and reads all the rows. (that s why i aded the ii object, for debugging purposes) in monitoring i could not find anything. i also wanted to try the AddStreamEntries service but i got stuck with its implementation can you please help? var values; var params = { infoTableName : "InfoTable", dataShapeName : "GabiDS" }; // CreateInfoTableFromDataShape(infoTableName:STRING("InfoTable"), dataShapeName:STRING):INFOTABLE(AMTable_ModuleDDS_CRA_PG) var table = Resources["InfoTableFunctions"].CreateInfoTableFromDataShape(params); var tags = new Array(); var timestamp = new Date(); // result: INFOTABLE dataShape: AMTable_ModuleDDS_CRA_PG var actions = Things["GabiThing"].Get
Hello, I am currently trying to implement a service which is executed by a User to move himself to a User Group that has Visibility permissions to a Thing. My Code is as below, try { var groupName = "InstrumentUsers" ; var params_AddMember = { member: username, type: "User" /* STRING */ }; Groups[groupName].AddMember(params_AddMember); } //respond back with the resultresult = { "success": "true", "Instrument": { "Alias": Things["Thing"].Alias, //problem is in this line "GUID": "xyz" }}; } catch (err) { result = { "success": "false" };} The "InstrumentUsers" does have the visibility to the "Thing". I also see that the user is properly moved inside the group. The problem arises when the user tries to execute the line Things["Thing"].Alias where he tries to read the propert
I have many questions about WorkFlow Builder and Alerts. 1. When I made event for start WorkFlow by alert, I was watching a two situation. 1) If alert has conditions as "<", ">", "=<", ">=" then WorkFlow did not start. 2) WorkFlow start when alert has a condition "==" only! In both situations alert is start, but workflow start only in 2).Why is this happening and how to fix it? 2. How work GetAlertStatus function from Generic? Why Status in [Properties and Alerts]-[Alerts] not displayed when Alert is worked? 3. How does the condition work (WorkFlow builder, Gateway) - context.activeStep === "1"? Worked only context.activeStep != "0", look attached.
Hey everyone, Can anyone teach me thingworx analytics from scratch, the guide from the developer portal was not that clear to understand what and how it is happening internally, so kindly if anyone had any idea about it, you can contact me anytime. Regards, Deepak rahul.
Please find here an Labview implementation to connect to Thingworx via RestCalls. Have Fun using it. Any Feedback is appreciated. https://github.com/Seppel1985/LabVIEW_TWX_RestAPI
I have a question: If I set an anomaly alert for my property, it will start analyzing data from the moment I create the alert. For my thing, I have all data stored in a stream. I would like to know if it is possible to set an anomaly alert now which start analyzing my data from any datetime in the past inside the stream. Thank you
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.