Recently active
I have recently upgraded old server's ( x2) with new S2019. I installed the latest Version 6.15.132.0 of KEPServerEX and the backup configuration of my existing installation. I have an assortment of ROC RTU's and Allen Bradly Control Logix PLC's. All of the remote devices communicate but one of the PLC's won't update the tags? The configuration file is the same and works on the old installation but nothing will update for this one device on the new S2019's.
When I am trying to publish a simulator tag value to a broker I am facing the below error. Can someone tell me how to fix the errorMQTT agent 'MQTT Broker' failed to process write request on topic '123' - reason: 'Cannot deserialize value of type `[Lcom.kepware.agents.mqtt.WriteValue;` from Object value (token `JsonToken.START_OBJECT`)_ at [Source: (String)"{"timestamp":1704956770208,"values":[{"id":"Simulator.Long.Rand","v":49,"q":true,"t":1704956770198}]}"; line: 1, column: 1]'
I would like to find out if the "Advanced Tags" functionality is part of the Kepware Manufacturing Suite. I can only find the list of included drivers but not whether other modules are also part of the suite. I hope someone here knows. Thank you.
Reference topic - https://community.ptc.com/t5/ThingWorx-Developers/how-to-add-multiple-color-state-definition-in-shape-widget/m-p/754978#M55073 So is this means I can't create progress bar in mashup ?
Hello All, We are moving forward to understand how advanced tags can create value to our DPM and AMU Environment. Lately we have come to the idea that reading the tool life would be beneficial to us. We are using MTConnect protocol to monitor our Mazak Assets. Checking with Mazak their MT connect code, does not support the tool life, i would like to know if someone is currently monitorizing this information.
i've created a service for creating folder in the repository, how can i get the created folder name in the output as string/text? thankskeerthi
I have requirement to find unmatched rows from two tables.Basically need to compare one table data to another table and save the unmatched records from first table into new table.I used intersect to solve this.but getting Unable To Convert From org.mozilla.javascript.UniqueTag to INFOTABLE error. try {let Status = 'Accepted';let Project;let WorkPackage;let WorkOrder;let Jobcard;let InsertProjectData;let currentuser = Resources["CurrentSessionInfo"].GetCurrentUser();var currentdate = Date.now(); let EIDWData = Resources["InfoTableFunctions"].CreateInfoTableFromDataShape({infoTableName: "InfoTable",dataShapeName: "DWM_ DB_EIDWACTIVITYVERSION_DS"});let DWMProjectData = Resources["InfoTableFunctions"].CreateInfoTableFromDataShape({infoTableName: "InfoTable",dataShapeName: "DWM_DB_PROJECT_DS"}); let DWMWorkPackageData = Resources["InfoTableFunctions"].CreateInfoTableFromDataShape({infoTableName: "InfoTable",dataShapeName: "DWM_DB_WorkPackage_DS"});let DWMWork
I tried to export the complex tags (advanced tags) created in one instance to other using Export/Import CSV it is not taking the mapped tags within them. How can i get it done with the mapped tags along with complex tag.
Hello @AB_10607533, we have the same issue you marked as resolved in this thread, we want to read and write inside the address #10095 via the Fanuc Focas Ethernet protocol using the "Open" model. How did you managed to solve the problem? The documentation linked in the answer (link) clearly states that the "#" variables range is limited to #9999: Thank you,Riccardo
Hi PTC, In my thingworx service am trying to query influxDB to get the moving average and the standard deviation of one or more properties. Below is my code: //AggregateFunctions_Inputs is an array of inputsAggregateFunctions_Inputs.forEach(functionName => {if(functionName === "stddev"){//stddevfluxQuery += 'from(bucket: "thingworx")' +'|> range(start: ' + start + ', stop: ' + end + ')' +'|> filter(fn: (r) => ' + Measurements_Inputs.map(m => 'r["_measurement"] == "' + m + '"').join(' or ') + ')' +'|> filter(fn: (r) => ' + Fields.map(f => 'r["_field"] == "' + f + '"').join(' or ') + ')' ;}else if (functionName === "movingAverage"){//movingAveragefluxQuery = 'from(bucket: "thingworx")'+'|> range(start: '+start+')' +'|> filter(fn: (r) => ' + Measurements_Inputs.map(m => 'r["_measurement"] == "' + m + '"').join(' or ') + ')' +'|> filter(fn: (r) => ' + Fields.map(f => 'r["_field"] == "' + f + '"').join(' or ') + ')' +'|> movingA
I have a main grid widget on my mashup and I would like to display another grid widget upon clicking a cell on the main grid the way a popup would work. Is this possible on Thingworx version 9.4?
I have a scenario where I am executing a child service (inputs: ThingShape, Thing and Boolean) from another wrapper service. Now the child service fails if I pass a ThingShape that does not exist, so I am trying to write something like:If ThingShape Exists :TS = TS_NAMEElse:TS = undefined.How do I achieve this ?I have checked many OOTB services but none help with this.TWX v9.3.4
Hello.I am implementing mashup for a client and he wants to display on screen various bar charts, similar to those you see in the picture. I used Themable Bar Chart in Thingworx 9.3I used collection widget, each collection cell has only has this single chart widget.The problem is that client screen has small resolution and I can not allow to widget to have 32px padding. (see picture)Is there a way to remove/modify this two CSS rule (:host{} and [part~="chart-layout"]) from Shadow DOM?Thank you.Illya.
Hi,I am currently working on a project where we want the pageNumber to be controled via a session variable.When for example selecting an item and then clicking back, we want the last viewed pagination page to show. The property pageNumber is updated correctly when switching pagination page. But when clicking an item and back, it is not taking into account the last pagination page,How to solve this?// Oskar Berntorp
Hello, I have a csdk prorgam, i need to search specific element on infotable.I am trying to use the function twList_Foreach(twList *list, twForEachHander listHandler, void *userData) to find and update row on the infotable, but i am not succeeding.Can someone provide me with a sample to use this method please?my infotable contains 4 strings [field A , field B , field C , field D] , i am searching the row where B=='some specific string'if true update the row. Thank you very much for your help
Trying to fetch the outgoing dependencies of a thing as an infotable using the GetOutgoingDependencies service in the PTC.Resource.RelationshipUtilities, but facing this error : Error executing service. Message ::Unable To Convert From org.mozilla.javascript.UniqueTag to INFOTABLE - See Script Error Log for more details. Here: var thingName = "sampleThing"var mxItems = 10;var mxDepth = 2;let params = { target: thingName, maxItems: mxItems, maxDepth: mxDepth}; var relData = Resources["PTC.Resource.RelationshipUtilities"].GetOutgoingDependencies(params);
I am looking to use the API's put method to update an infotable property on a specific thing. Using postman I currently get a 406 - Not Accepted with the message being:JSON Content for HealthAndSafetyReport Was Not ValidProperties. When I use the Get method, I get the following response: { "dataShape": { "fieldDefinitions": { "HealthAndSafetyReport": { "name": "HealthAndSafetyReport", "description": "", "baseType": "INFOTABLE", "ordinal": 24, "aspects": { "isIndexed": false, "isPersistent": true, "isLogged": false, "dataChangeType": "VALUE", "dataShape": "HealthandSafetyReport_DS", "cacheTime": 0.0 } } } }, "rows": [ { "HealthAndSafetyReport": { "dataShape": { "fieldDefinitions": { "Daily": { "name": "Daily", "description": "", "baseType": "STRING", "ordinal": 0, "aspects": { "isPrimaryKey": false } }, "Date": { "name": "Date", "description": "", "baseType": "STRING", "ordinal": 0, "aspects": { "isPrimaryKey": false } }, "Month_
If I am an Administrator is it possible to run a service temporarily on a Thing in a user role that is less privileged? I am working upon a use case wherein the user is not an Administrator. For this I need to keep removing myself from the Administrator's group, check if the mashup/services work, and if they don't request other team member to add myself back to the Administrators group and keep working. I would like to avoid this. Scenario is: 1. User Jack is an Administrator2. When service GetData on a Thing runs it has to do it in a user role which is less privileged than an Administrator3. Jack's user roles should not be affected in any way if this service runs. Thanks,Ashish Tamhane
Hi,How to merge grid multiple headers into one header in thingworx version 9.4.3? (I have attached screenshot need to do like this in grid please check it) or any other for highlighting same featured headers in a grid like apply same css to the same featured headers? I tried to apply css in 9.3.4 twx version but it's not working for headers.Please suggest me asap.
How to Reconnect ThingWorx to Kepware? Translated by the Community Moderation using Google Translate ----------------------------------------------------------------------------------------------- Como Reconectaar o Thingworx ao Kepware ?
Hello! I'm configuring a PLC device inside a local network (a S7-1500 with endpoint opc.tcp://192.168.0.190:49320) and already configured a NAT device to translate the local IP for a public IP at the VLAN (10.10.230.235). From my server I can ping the NAT but when I try to configure it into Kepware (installed at the same server) it doesn't find any available endpoints. I tried also to configure it using "Discovery Server" function. Any ideas in how to configure a endpoint behind a NAT address? Thanks in advance!
I'm currently binding a grid configuration from a service to the Advanced Grid. Everything works fine - except I can no longer see the binding to get the EditedTable. Please let me know how this can be done? Using version 9.3.4
Hi Team, If data is not available in dropdown and after hitting button need to show status message for it how to do?please explain step by step. It will be helpful. thanks.
Hi everyone, I am using a service which is calling windchill data and then storing it in thingworx local database postgres sql now I want to automate this service on a specific interval so that it will automatically execute after a certain time what I am thing is using a scheduler thing template but not sure how can I implement it and the Thing on which this service is present already using database template so I can't use two template in a single thing so please give me a better understanding if anybody's have any Idea. Thanks and Regards,Lav.
Hi , I created a custom script function called GenerateUid. This function generate a unique id(Long type) for every call using the snowflake id algorithm. It works in the backend of the extension, I can see the unique id is generated correctly in debug. However, the last two digits of the value returned to ThingWorx is always "00". For example, the generated id is 569467214119305221, but the value in ThingWorx's service result is In debug you can see the uid is 569467214119305221. but in ThingWorx it's 569467214119305200 ===========Version ========== ThingWorx 8.5.5 Database: Postgresql 10.x OS: REHL 7.6 ======================================Update======================== I changed the return type from LONG to STRING and everything works. so there must be something wrong for LONG ? Regards, Sean
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.