Recently active
Xin chào tất cả mọi người. Tôi có 2 thuộc tính: - "Giá trị chuỗi", cơ sở kiểu là chuỗi. - "Value_Boolean", base type is Boolean Tôi muốn "Value_Boolean" = true khi "Value_STring" = BẬT "Value_Boolean" = Sai khi "Value_String" = TẮT. Tôi đã sử dụng Subcribe nhưng nó không được thực thi. (Tôi đã được bật). Tôi đặt giá trị trong thuộc tính theo cách thủ công, điều này hoạt động tốt Nhưng điều này không thể thực hiện được khi giá trị được thay đổi bởi API Làm thế nào để giải quyết vấn đề này? Thank all!
I have connected an SQL Server to the Kepware Data Logger, Whatever the data is coming from the tags should go to the DB instead of the Thingworx.I wanna Remove the Thingworx IP from the Project --> Properties --> Thingworx ---> Remove Thingworx Interface and want to send the data to a SQL SERVER using Data Logger.How can I do it?@c_lowy
Hi all, I am working on Anomaly detection. I am able to see my alert in my Alert History. I have a mashup, where I have fetched AlertHistory. Now, I also want to display the raw values at which the alerts are raised. How am I suppose to fetch the Raw Values from my db of that instant on mashup? Thanks!!
I have removed "Users" group from "ComposerUsers" group for testing. Now again I am not able to add "Users" group in ComposerUsers group. Now I am adding every user manually. What is the solution for this ?
Hello, we are using navigation with linked target mashup, which is get by a service. Based on other conditions, different target mashup is used for the navigation. Each of these mashups has different fixed size. Is there a was how to get mashup height and width so it can be linked to the navigation (popupHeight, poputWidth). Ideall would be to create a service that would have a mashup name on input and infotable with height and witdh on output. But I am struggling with reading mashup width and height. Thank you.
Hi, I'm pushing data from a device up to Thingworx and storing it in a value stream. I'm able to display this data in a mashup widget through using the QueryPropertyValue service and was wondering if there was a way to utilize this service in order to send this value stream data straight over to the Analytics Builder. I want to perform analytical models on this dataset, but don't know any other ways to upload data to analytics other than uploading a CSV file from my PC
Hi! As someone completely new to ThingWorx and coding in JavaScript, does anyone have any tips for learning how to write and implement services? Or if there's a good overview/guide? Thanks!
I have some assignment to connect other postgesSQL DB ServerSo, I would like to do the lab scale to test that i can configure connection before do it on production What I have now is-Thingworx Server (Windows2012,Thingworx8.4, pgadmin4)-Postgre DB Server (Ubuntu18.04LTS,PostgreSQL10)I read the idea from this topic https://community.ptc.com/t5/IoT-Tech-Tips/How-to-set-up-a-second-Persistence-Provider/td-p/533066 I need to check my understanding first, Does this right?Question No.1 : I have to install other Postgres version on my DB Server? (Yes,No) My Answer : I think..."yes" , following the topic above pgadmin show that it has postgre 9.4 and 9.5 in pgadminQuestion No.2 : In topic above said like what to do is only change the port from 5432 to 5433 in installation script (thingworxPostgresDBSetup.bat) But??? How my db server know which version of postgres will execute?I check on thingworxPostgresDBSetup.bat. It will execute "psql.exe" I'm inexperince
Hi! I'm pretty new to using ThingWorx, especially the Analytics Builder, and was wondering if I could perform a simple linear regression on a data set I have and somehow return/export the resulting equation of best fit. Essentially this is just proof of concept that I can input raw data into Analytics, get a model in return, and then apply that model to the external environment I have created- is this a good use case of ThingWorx? Thanks!
Hello, I want to tag with "Recent tag" the last modified entities I have used How to do this using a script? What I was thinking is query all entities and if they have been used inside a date range, then execute a service to tag them Please share some sample code to accomplish this task.
Hi, I am facing the same problem that has already been discussed many times. Have gone through and tried most of the solutions that were recommended but still my issue is unresolved. Issue: Am trying to connect Thing Worx academic simulator to a hosted trial composer. The URL is of form https://pp-xxxxxxxxxxxx.devportal.ptc.io/ I gave pp-xxxxxxxxxxxx.devportal.ptc.io as Server url. Copied and gave application key. Gave port as 8443 with Secured Server checkbox checked. The simulator returns error "Unable to connect, check your port". I have tried all possible port numbers 8080, 80, 443 and 8443 with corresponding state for Secured Server checkbox. Have confirmed that Platform Subsystem > Configuration > Allow Application key as URL Parameter is enabled. Also, could not find any related log under Application Log section. Can someone help me out. Thanks in advance. Regards, Amal
I have created a User and added in an Organisation but not in Administrators Usergroup. User logging in successfully in the Organisation but unable to see the mashups. Only white page is appearing. Strictly User should be restricted to edit the entities. How to achieve this scenario?
Hi, I can create any branches without using Switch in ThingWorx Flow, it seems this approach covers the usage of Switch. I wonder in what kind of use case where using Switch is a must ? Regards, Sean
What is the process to add Data present in CSV to Advanced Simulator for each Tag?
Hello, Is there a way to get that information programmatically, if so, could you please share sample script?
Hi, I need to implement a notification function. When certain event get raised from ThingWorx and is captured by the subscription , the mashup will display a notification message . Auto refresh widget may achieve this as a workaround , but I think WebSocket is the best solution, does ThingWorx provides OOTB function/extension for this kind of need ? Regards Sean
Hi, I would like to know how can I make an extension editable completely not by making each XML entity editable. Thank You in Advance Srijith
Hi Team, Could anybody help me the procedure of posting application in the marketplace. Please share the document if any. Thanks in advance.
Hello everyone I have made a connexion between my Raspberry Pi with sensor to the ThingWorx platform via the Edge Micro Server via a tutorial on the ThingWorx development portal. I saw also that there is an industrial standard with OPC UA and Kepware. Now i have a few questions about it: - Why does the tutorial don't use the industrial standard? I read somewhere it is maybe because of the cycling rate but i am not shure. Where can i find information around this subject to substantiate my topic. - Can we relate the industrial standard with OPC UA and Kepware to the OSI model with OPC UA in the application layer (layer 7) and Kepware in the transport layer (layer 4)? Thanks for your help. Kind regards Jelle
Hello, I have a remotething with an average of 20 properties per remote thing and the no. of remote things can grow until 1000's. It is always recommended that a remote property is just logged but not persisted which adds up an extra operation to hold the value against each property. If i have a thing restart, i loose all the property values and if for some reason the remote thing is not updated for a certain period of time and would like to retrieve the last values then its not available because its not persisted. So what is the better approach to such kind of scenarios. Appreciate any support. Thanks
Dear Community, My Thingworx version is 9.1 and I encountered this problem in my environment: Error Executing Event Handler 'ForwardEvent' for event Type.Thing:Entity.MyThing:Event.DataChange:Property.myproperty Then I found the following article, it is in the same situation. But I am using the mashup of the administrator user view, and this problem still occurs. Is there any temporary solution? Thank you https://www.ptc.com/en/support/article/CS243895?&language=en&posno=1&q=ForwardEvent&source=search
Hi @binaryPUNCH great job. I am having a similar need where i need to query influx using flux query from within two (post call) but I am facing errors. Can u share syntax of ur query will be helpful.
As part of my code, I monitor PLC tags to generate alerts. To limit the number of alerts logged while a sensor reading is on the edge of generating an alert, I wrote a some code that act like a debounce timer. The timer starts when the value either hits LoLo or HiHi alert states. If the value leaves that state before the timer times out, then the timer is reset and doesn't start until it hits the alert state again. Below is the code I use for this. My question is: Is there a better way of doing this in ThingWorx? Perhaps one that is more efficient than what I wrote? var time = me.AlertDebounce * 10; /* AlertDebounce is in seconds */ if ((me.Device_Value < me.LoLo_Alarm_SP) || (me.Device_Value > me.HiHi_Alarm_SP)) { var trigger = true; /* If trigger remains true after for loop completes, then generate alarm. */ /* If Device_Value leaves alarm state setpoint, trigger goes false and */ /* time is copied to x, causing
I have a dataset with 500 cycles of an industrial process, these samples have a duration of 8 seconds at a sampling rate of 4 milliseconds, that accounts for 2048 samples for each cycle. The sampling events are unevenly distributed in time, as shown in the image below where he green blocks mark the start of a sampling event: In this scenario, E.G. On Monday a cycle of 8 seconds is taken at 1:00 and at 5:00, but on Tuesday there is only one sample at 3:00. Does it make sense to concatenate several signals from different dates (nine in this case) to train the anomaly detection algorithm? In that case, which can be proper values for the following parameters: Outbound Anomaly Rate: To start with, it makes sense to me for this value to be 8 seconds, which is the same duration of the sampled cycles. Sampling rate: The sampling rate of the system in production is 4 milliseconds, does this rate have to be the
Hello, I have the Java SDK to develop on eclipse a simple client. I use the SimpleClient app provided by PTC, and i'm now trying to create a thing. The connection seems ok, as I can read properties of this thing. Could you help me ? Here are the screenshots : (none of the methods here have worked) The code in the service is inspired by this post : https://community.ptc.com/t5/ThingWorx-Developers/Creating-a-Thing-from-a-Virtual-Thing-Service-Java-SDK/td-p/524955 Info : when I execute the service directly from the composer by pressing 'execute', it's works well. Thnak you very much
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.