Recently active
Hi! i have read alot of documentation but cant find how to do this in TW9.5 i get succes on everything but it just adds empty lines in my infotable. i have added the json and service below{"station":"station_3","Artikelnr":2053,"antal":46,"vo":767,"Embalage":"Packaging_3","operator":"Operator_4","Antalskort":3} var dataTableName = "Proddata"; var dataShapeName = ".datashape.lucas"; var result = "Success"; try { var dataToAdd = dataToAdd; var jsonData = JSON.parse(dataToAdd); logger.debug("Incoming JSON data: " + jsonData); // Directly access the InfoTable property on the Thing var infoTable = me[dataTableName]; // Directly create a ValueCollection from the JSON data var rowValues = new Object(); rowValues.station = jsonData.station; rowValues.Artikelnr = jsonData.Artikelnr; rowValues.antal = jsonData.antal; rowValues.vo = jsonData.vo; rowValues.Embalage = jsonData.Embalage; rowValues.operator = jsonData.operator; rowValues.Antalskort = jsonData.Antalskort;
I have a problem about I changed the location of KEPSeverEX from PC-A to PC-B I transfer the licence and save lic file and active with new PC -B but I can't connect to my PLC and it still show time limit ( I can monitor some data ) how to solve this problem please suggest. Thank you in advance.
Hello Team, I would like to read the value from configuration API service, How can read the Value?
Has anyone tried to migrate ThingWorx from Microsoft SQL server to PostGreSQL. Currently we are using ThingWorx 9.4.2 version.
Hi Everyone,I have grid widget which data is populated through a SQL service, and I want to export that data which is in the grid into an excel file , can I do that if so then please share the solution. Thanks and Regards, Lavkush
Dear Community, So below in attachment is my datashape of my datatable and currently i am getting all the entries in one of my service. Is there anyway that with infotable capabilities i can get entries which are created in the last 30 days. As you can see i have one of the parameter qualityCheckTimestamp which records the datetime for the entry. Now i would like to use pre existing function of infotable to get the entries created in last 30 days and if its not possible then i would have to iterate through all the entries to get the desired entries which would might be slow process. so anyone have a clue about it? Thank you 🙂
Hi all, I have a dropdown on my Mashup that gets display data from one of my properties which have an infotable as output and Datashape of GenericStringList. It used to work fine but one day it just stops working and I can't figure out why after troubleshooting for half a day. Any help will be greatly appreciated.Below is the settings for my dropdown widget:Cheers,Deon
I'm not even exactly sure how to ask this question so if I seem ignorant that's only because I am. I assume that I'm having an issue understanding a fundamental concept of interacting with an OPC UA server. I'm attempting to create an OPC UA client in Python to ultimately read values that originated from Modbus PLC registers. The targeted PLC is successfully connected to KepServerEX6 and values from registers are being pulled into KepServerEX Project>Channel>Device>Tags perfectly. The data (values from PLC registers) is being and has been successfully used from this KepServer by another application for several years so KepServer and connections to multiple PLCs (multiple brands) is working just fine. Python code completely aside, in a 3rd party OPC UA client application (UaExpert), I can connect to the OPC UA server, I can see a lot of things about the server/KepWare, (Root/Objects/Server, ServerCapabilities, ServerDiagnostics, etc) but the Objec
I am using KepServerEx (version 6.16) OPC DA client to access ABB MicroSCADA OPC server data.I am able to access OPC tags using the connection parameters. But when trying to read data using the OPC channel, i am getting the BAD vartype errorPictures (1-5) If I directly add OPC server to OPC client, and import tags to it from the same server, i am able to read all the values.Pictures (6-7)
Hello ! Background :My application has several mashups that are loaded onto computer screens to display information. These computers start up automatically at the beginning of the day, then a script loads a mashup link. The link contains an Appkey, linked to a virtual user with rights to view the mashup. So these screens have no real user in front of them, they're just there to give information to people looking at the screen.Note that I have several different screens in different locations. Each screen works like this, using the same Appkey, linked to the same virtual user. Problem:After a while (more than an hour), a login pop-up appears at the top of the mashup (see screenshot). The application continues to run in the background, but the pop-up is still there. I don't understand why the mashup requires a login, when it's still working and has an Appkey. Solutions tried :I've tried changing the mashup session ID at regular intervals (every 5 minutes). I thought that if
Hi! I'm trying to post to thingworx. Is it posible without creating the thing via post? Is there an easier way to send JSONdata from a node.js application to ThingWorx? Thanks for the help 🙂
Hello All, I have a datagrid widget in which i am showing some entries as you can see in the picture below i can choose which parameter to show and which do not. when i select the parameters and save changes then it appears and shows me but then when i open the mashup next day again then its again gone and do not show me the parameters which i have selected to display on the mashup in datagrid. I want the parameters which i selected to show me always there until i do changes. anyone has an idea about it?
Good day all, I have a table that contains a timestamp field.I want to replace the values in this field with a specific dataDifference calculation that I make. The two dates that I use to find the difference are inputs.I have written the code below. It seems like the issue occurs when I assign the new timestamp value to the table. if (testMode) { // Get data directly from the property for testing purposes searchTable = Things["ThingName"].ChartData[0].Data;} else { searchTable = data;} let params = {t1: searchTable /* INFOTABLE */};let clonedTable = Resources["InfoTableFunctions"].Clone(params); // Find the row in searchTable with the matching timestamplet searchForTimestampRow = clonedTable.Find({timestamp: currentTimestamp});if (searchForTimestampRow) { // Calculate duration let duration = dateDifference(currentTimestamp, otherTime); // Update the duration fi
Hi Everyone,I have a requirement in which I ahve data like this Now i want to sort data Based on Approved state , Sports Category Mainly Approved State and then want to show the data on line or bar chartso Basically requirement is in the drop down all the approved state will be there and when I select one of the approved state the data will populate in the Bar/ Line chartso how can I implement this pls share your solution ThanksLav
Needed to copy some properties from one Thing to other. To avoid manual work, created Service with AddPropertyDefinition (later wanted to add service to copy values). It creates no error when running first time, but properties are not generated. So, started script - and it answer "Property [name] already exists".Manual refreshing of Thing in web service does not help. Restart Thing by code also makes no difference. Here is sample code: myList = me.GetPropertyDefinitions({category: "MyCategory" /* STRING */,type: undefined /* BASETYPENAME */,dataShape: undefined /* DATASHAPENAME */}); for each (var x in myList.rows) {Things["MyThing"].AddPropertyDefinition({indexed: undefined /* BOOLEAN {"defaultValue":false} */,defaultValue: undefined /* STRING */,remoteBindingAspects: undefined /* JSON */,description: "my desc"/* STRING {"defaultValue":""} */,readOnly: undefined /* BOOLEAN {"defaultValue":false} */,type: 'INFOTABLE' /* BASETYPENAME */,remote: undefined /* BOOLEAN {"defa
Hello community,Is there a way to check what the real error is in KEPServerEX for SQL diagnostics? This doesn't help at all:Date Time Level Source Event12/08/2024 16:39:18 Error Data Logger Plug-in Unknown error while executing query in table 'mytable' for log group 'datalog-azure'. I am guessing it's something about security/privileges since I am trying to log data in an Azure database.I am able to see tables, columns when I am mapping the data but unable to write values to table.Using app version 6.16 (V6.16.203.0) Any help is appreciated. Cheers,
Hi, I have changed the port to 80 in the server.xml: When I looked into the Catalina.out, I get the below error: Does anyone know the solution? Thanks,
In TWX 8.5, it was possible to enable sorting for all fields in advanced grid widget without enabling it for each field. In TWX 9.5, the new grid widget requires the sort functionality to be enabled individually for each field in grid configuration. Is there a way to make all fields sortable without enabling it individually for each field in grid configuration?
Dear PTC,We are in the process of planning an AM deployment. The purpose of this discussion is to gain a comprehensive understanding and documentation of the capabilities of PinkFederate and ADFS, as well as the differences between the two.Background Information:We configure an Windchill to Denodo connection on our network utilizing PinkFederate and OAuth2.We seek your expertise in determining the most suitable approach between PinkFederate and ADFS for our requirements and can we do the same setup using ADFS.Thank you for your assistance.
I am trying to configure Datalogger and keep running into issues in the configuration. I have created my DSN correctly and it successfully passed the connection test. But whenever I try to select the table name, the dropdown list does not show any of the tables in my database. I attached a screenshot of what shows up in the dropdown.
var lastMinDate = new Date();lastMinDate.setSeconds(0);lastMinDate.setMilliseconds(0);var result= lastMinDate;
Hi, I'm Refsam Maulana, a technician who is working using the kepware applicationI have a question about kepware, related to OPC DA Client on a domain system. How to make computers that have different IP scopes, but in one domain to be read on the client's computer? Or is there a way to add servers manually instead of choosing from the Microsoft network?Me and my coworkers still haven't figured out how to read the servers on computers that have different ip scopes but in the same domain. Hoping to get a solution
Hi, I am using a date picker widget on a popup on ThingWorx 9.5, for some reason when I select a data from the calendar, the pop-up closes automatically. Is it a known bug? and is there any work around? Thanks in advance.
I'm currently installing Thingworx server on linux.While installing the database i notices the following: 6. Configure pgAdmin:$ sudo pgadmin4◦ In pgAdmin, click on file->Open postgresql.conf◦ Open /etc/postgresql/x.x/main/postgresql.conf◦ Put a check next to listen addresses and port. The default settings of localhost and 5432 are usually sufficient.◦ Save and close.◦ Click on file->Open pg_hba.conf◦ Open /etc/postgresql/x.x/main/pg_hba.conf◦ Double-click on the database ‘all’ line with address 127.0.0.1/32◦ Set Method to md5◦ Click OK◦ Save and exit◦ Close pgAdmin(Sorry i'm unable to quote!!) I'm not happy that MD5 is used for Hashing. MD5 is not a really secure algoritm anymore and i would like to use Sha-2 (what is current default) if possible! Is this possible? if Not Why...More info on MD5:https://security.stackexchange.com/questions/19906/is-md5-considered-insecure https://www.freecodecamp.org/news/md5-vs-sha-1-vs-sha-2-which-is-the-most-secure-encryption-hash-an
Good morning, I have a problem connecting to some OPC UA Clients.Sometimes I get this warning:Warning OPC UA Client XYZ.B&R | Read request failed on device. | Status description = 'The operation timed out.', Status code = 0X800A0000.When it happens some tags are in 'Unknown' quality and until I force a synchronous write the status cannot return to "Good" status. I tried to change "Asynchronous Reqst Timeout", but increasing it immediately returns the value to the default of "1000". Let me know please.Thank you.Regards
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.