Recently active
var users = [{ name: "Jane Doe", role: "Interior Designer", imagePath: "/Thingworx/MediaEntities/LAYOUTTESTIMAGE" },];var result ="<!DOCTYPE html>\n" +"<html>\n" +"<head>\n" +" <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n" +"</head>\n" +"<body style=\"display: flex; justify-content: center; align-items: center; flex-wrap: nowrap; height: 100vh; margin: 0; background-color: #f4f4f4; overflow-x: auto;\">\n";for (var i = 0; i < 10; i++) {result +=" <!-- Card " + (i + 1) + " -->\n" +" <div style=\"box-shadow: 0 10px 8px 0 rgba(0,0,0,0.2); display: inline-block; transition: 0.3s; width: 18%; margin: 10px; border-radius: 5px; background-color: #fff; overflow: hidden;\">\n" +" <img src=\"" + users[0].imagePath + "\" alt=\"Avatar\" style=\"width: 100%; height: auto; display: block;\">\n" +" <div style=\"padding: 16px; text-align: center;\">\n" +" <h4 style=\"margin: 0; font-size: 1.5em; color: #333;
Distributed Timer and Scheduler Execution in a ThingWorx High Availability (HA) ClusterWritten by Desheng Xu and edited by Mike Jasperson OverviewStarting with the 9.0 release, ThingWorx supports an “active-active” high availability (or HA) configuration, with multiple nodes providing redundancy in the event of hardware failures as well as horizontal scalability for workloads that can be distributed across the cluster. In this architecture, one of the ThingWorx nodes is elected as the “singleton” (or lead) node of the cluster. This node is responsible for managing the execution of all events triggered by timers or schedulers – they are not distributed across the cluster. This design has proved challenging for some implementations as it presents a potential for a ThingWorx application to generate imbalanced workload if complex timers and schedulers are needed. However, your ThingWorx applications can overcome this limitation, and still use timer
We cannot connected the Kepware sever to the DxP(OPC UA client) using "Basic256 sing"But We connected the Kepware sever to the DxP(OPC UA client)successful on no security. When I turned on encryption, the following error occurred on the client side."Selected security is not found in server endpoints"Please tell me what to check.
Hi community, I would like to ask that if anyone knows that how to iterate over the application keys which are existed in the platform without knowing anything like list of Application keys. Please let me know about itfor eg like GetKeyID(), GetExpirationDate(), ... Thanks!
I am facing issues regarding Menus not changing Contained Mashups and instead overriding the parent mashup when clicked. This issue was noticed when loading projects developed on Thingworx 9.3/9.4 onto Thingworx 9.5 (ThingWorx 9.5.4-b764). The attached project functions as intended on Thingworx 9.4 (ThingWorx 9.4.0-b49) but not on Thingworx 9.5. The menu is correctly configured (having DrivePageMashupOrBindToMashup set to "Bound to mashup parameter"). Like I said, the exact same configuration functions correctly on TW9.4 but not on TW9.5.
We are running KepServer to monitor our equipment, but we are having frequent disconnection of the system causing data monitoring loss. When we Re-Initialize KepServer, I get the below error I am not sure what to do to correct this issue
Hello, I have a multiple PLCs in the operation lines. Each PLC has operation data from single or multiple machines. I read data from them in a single KEPServerEX. From there I am reading data in a Linux server with the help of a Python script which uses asyncua and asyncio to read data and then it stores in a postgresql database.I read data from Kepware in 1 second interval. But sometimes I lose data from any of the machines which is connected to the PLC where as data from other machines are fine. Problem is that everything will be fine for hours and suddenly we lose data from any of the machine. There is a single python script to read all data. asyncio parallel execution method is applied to read data from all machines at a time. When terminate the python code and execute it again everything becomes normal. Can you please say what could be the probable issues and how to fix that.
Hello,I am using the Java SDK to invoke service QueryImplementingThingsOptimized let result = ThingTemplates["LoraDeviceGenericModel"].QueryImplementingThingsOptimized( { maxItems: 1000,}); The corresponding Java code is as follows; ValueCollection getEntityListParams = new ValueCollection();getEntityListParams.SetNumberValue("maxItems", BATCH_THINGS);getEntityListParams.SetNumberValue("offset", offset);InfoTable queryResult = thingClient.invokeService(ThingTemplates, "LoraDeviceGenericModel", "QueryImplementingThingsOptimized",getEntityListParams, TIMEOUT_30_000_MS); But this call could be optimized by using a filter on returned fields; function entityList(inarray) { let out = Resources["InfoTableFunctions"].CreateInfoTableFromDataShape({ dataShapeName: 'EntityList' }); inarray.forEach(entry => out.AddRow({ name: entry, description: entry })); return out; } let result = ThingTemplates["LoraDeviceGenericModel"].QueryImplementingThings
Can Thingworx container be closed on outside click ?
Hello, Our company's custom MES application uses an Oracle database on the backend and connects with the shopfloor PLCs using the KEPServerEX OPC server. We plan to migrate the MES application (Full-stack - database + Middleware + UI) and the OPC server machine to Oracle Cloud. Below are the existing configurations: Oracle database 12c Rel 2OPC ServerWindows Server 2019KEPServer EX 6.9.584.0Oracle Instant Client 12cOracle ODBC Driver 12cAs part of the migration, we want to upgrade the Oracle database to 19c and switch to the Oracle Autonomous Transaction Processing (ATP) database. We have set up the ODBC connection using the Oracle 12c ODBC driver and instant Client 19c (we also tried the 12c client). KEPServerEX can connect to the ATP database; it can read but not write. Desired Future ConfigurationsOracle ATP database 19cOPC ServerWindows Server 2022KEPServer EX 6.17.240.0 (The older version 6.9.584.0 cannot even read from the Oracle database)Oracl
I am looking to evaluate multiple tags in my Advanced Derived Tag with a String output. I would like the output to be the following machine states: "Running" or "Idle" or "Down". Is this possible?
Good afternoon. KepServerEX V5.21 I would like to implement a periodic backup of the runtime project: is there a method to do this via the command line by running a batch script or using API calls? RegardsPaolo
We want to send data of all the tags to iot gateway only when value for 1 of the tags changes using kepserverex 6.15 version. We've tried combinations of publishing on intervals(wide format as well as narrow format) and on data change using Every Scan and On Data Change option for each iot gateway tag. How can this be achieved using advanced tags(linked tag or derived tag) or is there any other alternative to this?
I’m planning to upgrade to a newer version of SCPA and need to migrate all my entities with the SCPA configuration. Can someone assist with the steps or provide best practices for the migration process?
I have an Infotable property that is enabled for logging and is persistent.This Infotable contains three columns: Number, StartDate, and EndDate. The table is updated every 24 hours.The update logic is as follows:I first assign the Infotable to a variable in the script.I modify the dates as needed.I update the property using me.property.While this updates the Infotable with the new values (updated dates), when I query it using QueryNamedPropertyHistory or QueryInfoTablePropertyHistory, I only see one log entry for the property instead of a complete history.Could you help me understand why the logs aren’t being recorded as expected?Thingworx version -> 9.3.8
Hi, I have created an Organisation and attached the 'Users' user group so that All the Users can log in from the Organisation. However, all users are able to log in to Composer, even though all articles on removing User access to Composer have been tried. So how comes this composer access can be restricted if the user group of the user is assigned to an Organisation Thanks,
Hi Everyone, I have a service which is fetching data and I have bind that service to grid widget which displays the data now I want to count each column unique data (I mean there are duplicates data in column) but I want them to count once and then showing that records to the Bar Chart graph and the graph data should change based on filter selected by user for e.g. Suppose we have 4 column like, name , age , Class , place now I want to count each column and represent in bar chart Thanks and Regards,Lav
Good day everyone, Today we changed the name of a group in our Active Directory and as a consequence we locked all users relying on that group out of the system for a while until we figured out where the problem is coming from - apparently, the connection between AD & Thingworx is based on the AD Group's name rather than its unique SID. For organisations where names can change frequently, this is quite the issue - is there any way around this currently? Kind regards,Martin
Good day! I have a bit of a problem with a specific setup - I have a list of changelog versions (just strings, 0.1.0, 0.1.1...) and from that selection, I load in the corresponding infotable of release notes. This works perfectly fine as long as you use it normally, but if you rapidly switch between list items, you get the following error in the developer console (note: no error on Thingworx' side): From that point on, you can still swap between the list items, but no more services are executed and the displayed collection does no longer change. Any help with this would be greatly appreciated!
Can I change a binding like in manage bindings menu through script? and if I can, how so ?
HiWe need to capture the timestamp property of a PLC tag through advance tags module. We need the hour in which the data of one tag has been changed.. How can we do it? We are using kepserverEX v6.16.203. Thanks in advance
I've made a Kepware configuration for about 10 Rockwell plc's. But i have an error on one of them. All other 9 are working fine.It is a 1756-L72 CPU where i have issues to connect with. We've a working connection to another PLC with the same configuration which is working fine.I don't see an error message in the diagnostic list of Kepware. what is the best way to proceed with this to find a root cause and a solution?
Hi Support, I am trying to filter out tags during an import. Could you please provide some examples of how the leaf filtering works. I have tried different itereations and get the same results eavh time. Thanks
Hi folks,I have a problem with my 'Line Area Chart' in TWX 9.5.3. My selected colors of the 'Style Properties' are overwritten by 'fill-opacity: 0.5' from the element ':host([stacked]) [part~=“area”]'.The “style properties” of the series all have an opacity of 100% so that the colors are fully displayed. However, this has no influence on the pale color displayed. How can I overwrite this wrong value with 'fill-opacity: 1' with css? Best regardsMarc
I have also run into this issue. I have tried several combinations of Eclipse, JDK and TWX SDKs using ANT with no resolution, including the recommended combination.
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.