Recently active
I am trying to write a CSV file using the WriteCSVFile function in ThingWorx, but I need to save the file to an external drive. In my code, I have specified the path as E:\CSV_Export_DATA\zzzNaytest.csv, but I am unsure how to set the fileRepository parameter to allow saving the file to this external drive. The function currently does not accept a file path outside of the ThingWorx platform's internal repositories.Here is the code I’m using: Resources["CSVParserFunctions"].WriteCSVFile({ path: "E:\\CSV_Export_DATA\\zzzNaytest.csv", data: Data, fileRepository: "", withHeader: false });
Hi,I'm currently using Thingworx and Thingworx Flow, and I need assistance with a specific use case.I have a workflow that is triggered when a user provides the required inputs and clicks a button. The workflow performs several integrations by making API requests.The issue I’m facing is that I need to return a status message to the mashup, indicating whether the workflow completed all processing successfully or if an error occurred during execution.Could you please guide me on how to implement this functionality? Specifically:How can I return this status message to the mashup for real-time feedback to the user?Thank you for your help!
For some reason my downtime kpi is not showing up. I configured the downtime model and added the shift event to the machine and ran the KPI Engine sql query. And the availability isn't showing up. I check the timeslice table to see if there is data but it's empty. There is entries in timesliceschedule table. I am not sure where I went wrong. I am using binding to an AMU property instead of a tag because how we are tracking of this machine is on or off is based on a temperature range. So I made a AMU attribute/property called status that returns "Running" or "Stopped " when the temp changes. I configured status with a DummyTag with an address of S0050 and use a service to update the status to return the "Running" or "Stopped" based the datachange event of the AMU attribute/property called Temp. (This idea come from this article: https://community.ptc.com/t5/ThingWorx-Developers/How-AMU-attribute-logging-works/m-p/930097#M65531) so I am not sure if there is a better
The natively exposed ThingWorx Platform performance metrics can be extremely valuable to understanding overall platform performance and certain of the core subsystem operations, however as a development platform this doesn't give any visibility into what your built solution is or is not doing. Here is an amazing little trick that you can use to embed custom performance metrics into your application so that they show up automatically in your Prometheus monitoring system. What you do with these metrics is up to your creativity (with some constraints of course). Imaging a request counter for specific services which may be incredibly important or costly to run, or an exception metric that is incremented each time you catch an exception, or a query result size metric that informs you of how much data is being queried from the database. Refer to Resources > MetricsServices:GetCounterMetricGetGaugeMetricIncrementCounterMetricDecrementCounterMetricSetGaugeMetricYou'll need to
Hi Team, I am showing both bar chart mashup and line chart mashup in same container showing same data as below: As you can see Bar chart showing all bars with xaxis labels. Line chart only showing xaxis labels but lines are getting cut. Both labels and lines are part of charts. Any idea why this is happening
Hello All, As legend take much space in chart, actual chart gets shrink and sometime value are getting cropped in case of bar chart(stacked).In case of pie chart, value not visible on 100% zoom of page and it is visible when zoom is 75%.Also, there is no option to show values and percentage for pie together, only one can be shown at a time. Note: Chart space is limited, on page there are 6 charts.
I am using ThingWorx Platform Release 9.6 and DatecodeF000Hello, the Combo Chart widget lacks native configuration options for selectively hiding value labels for specific series, necessitating workarounds. I'm trying to use custom CSS in a main mashup to reach a contained mashup (with a combo chart) but I've been unsuccessful. I need your guidance for the following: How to selectively hide value labels for a specific series (Series 2) in a Combo Chart widget. I encountered the issue that the ID of the chart may change or not persist, making precise targeting unreliable. Is there another way? what would the Custom CSS look like, and can it be applied in the main mashup in a way that reaches the CMU?Here are the errors that I facedNo error messages or warnings, simply does not work.
The PTC textfield widget in thingworx is opening alpha numeric keypad when focused. The input type = text in the html. Is there a way to make it open numeric keypad. In javascript we can simply change input type= number to open numeric keypad. Can anyone help me to fix this
I’m working on a project where I need to access the GetCurrentUser from a remote DataTable. However, I’m facing an issue where the returned values keep changing after each execution. Specifically:When the logged-in user is Gail, the DataTable shows both Gail and IOCL.When the logged-in user is IOCL, it shows both IOCL and Gail.I’ve attached the files for reference, but I would appreciate your help in identifying what might be causing this issue. Could you guide me on what I might be doing wrong?
Hi,I am using Thingworx 9.3.0 and trying to configure the Grid widget with a JSON. Currently I am having some troubles with small details. Unfortunately the documentation for this JSON is erroneous (missing closing brackets and wrong quotation marks) and also not complete. I also downladed the Grid Advanced sample files which helped a bit. But there are still a few issues: How can I enable sorting for specific columns? I can do this in the mashup configuration for the Grid widget. But via config I was only able to enable sorting for all columns through { "columns": { "enableSorting": true }}There is an "sortColumn" property that can be set for each column. But this does not do anything.How to center align the header content? I have set "headerTextAlignment": "center" and"textAlignment": "center" for each column in the "columnDefs" but the header-text and content itself is still aligned left.How can I properly set the max height of the header? The option "MaxHeaderSize":
Hi, I'm having a problem with my ThingWorx platform. My Composer indicates that my license has expired, but the "About" section shows that there's one day left. Additionally, the License Subsystem shows that our license is valid until 2025. Despite this, some of my Industrial Connectivity Things (Kepware) are automatically disabling and enabling themselves. It said "REST service failureThing [Thing-name] is not running"Please help me resolve this issue.
Hi,i didn't work a lot on mashups but i was thinking of something, lets say i have energy meter that sends me readings that i use to calculate the hourly consumption and then i log it, then i put it in an infotable that has 24 rows representing the past 24 hours, and when i add new reading i delete the oldest one in the infotable so that the table will always be 24 row, then this infotable should be connected to some line chart or bar chart in a mashup to show the 24 values, all of this is fine, if i created a previous and next buttons on the chart so that the user can see the 24 values before the current 24 values, i was thinking maybe create another infotable when the user click the previous data button a query to be run to get the data from the database and put it in this new infotable and then the chart will switch to read from this new infotable, the reason for another infotable is that if i used the same infotable and the user requested the previous data while there is a new read
Hi I've one lincoln electric(Arc Tracker) device which supports ethernet communication, which has LTAPP protocol for their application to talk over it. How can i get those data in kepware using LTAPP?
I’m having trouble testing the Kepware server with Python and OPC UA because there’s no way to set an admin password. This makes it tricky to test authentication properly and get my scripts to work the way they’re supposed to.What I Need:It would be super helpful if there was an option to set an admin password so I can:Test Python scripts using the OPC UA library with proper authentication.Simulate secure setups for OPC UA workflows.Make sure everything works like it would in a real-world environment.Why It’s a Problem:Without an admin password, I can’t properly test authentication, which makes it hard to validate my scripts or simulate real-world scenarios. It’s holding me back from getting everything running smoothly. Anyone have a suggestion? I just need to gather synthetic real time data to push to 3d models in USD 😃
Hello, I am trying to adjust the grid column width to fit the maximum text/Icons size it contains. I want to remove the extra space from the column, as shown red box in the image below. Currently, I have set column width to 'Auto' but it is not working. Is there any way to do this? Thanks, Suraj
I have two environments: Dev and Test (Both have Thingworx Version: 9.5)I have uploaded the solution on Solution Central from Dev Environment which contains the Active Directory.Now I have deployed the same solution on the Test Environment using Solution Central but I am not able to Enable the Active Directory.Does anyone have any idea how to enable my active directory on Test environment? Regards,Shashank
Hy, I'm currently adding several OMRON PLC's (CS1G-H), all of the same type and equipped with the same Ethernet card (EIP21). One of the PLC's is working fine, but the other two are not collecting data. The only noticeable difference is the unit number for the Ethernet card. The working PLC has the default unit number set to 0, while the others are set to 2 and 3. Do I need to adjust this in the FINS protocol settings to resolve the issue?
In Thingworx 9.6, while using Bar widget , property series display as 100% stacked to display multiple colors bar, even when the value for 3rd series is 0 , the bar with small width is displayed , for other two series if its zero its not displayed but here if 3rd series value is 0 or value for all are 0 still bar is displayed
Has anyone had any luck pulling data from Yaskawa robot controllers using a Kepware Driver?
I'm having the similar issue - the Collection widget scroll bar. Do let me know if you found a resolution or workaround for this issue.
hello community, I am having a very strange issue i have one field named shippingNumber and even though the value is present in datatable ,it is not displaying on the mashup. why is it like that even though in setting of grid advanced widget i have choosen show but still its not showing up in mashup. can anyone please help me in this regardthank you..
Hi Everyone, I have a Grid widget which displays data based on selected dropdown, also a data filter widget through which I am filtering grid data so now my requirement is I want to display distinct count of each column in Bar chart widget and once the data is changed it through data filter widget (for the same dropdown) bar chart data should also change like whatever data present in grid that data's distinct count should available in bar chart at runtime. like in runtime if data change according to the filter (Through data filter widget) that should also change the bar chart count that's it. can we achieve this functionality in Thing Worx 9.3.1 version. if yes pls guide I am able to get distinct count in bar chart but next is how it should change while filtering which is in runtime actually, I am not sure Thanks, Lav
Hello,I am experiencing issues while trying to connect to an OPC UA server using KEPServer. Below are the errors I encountered in the logs: Date Time Level Source Event 11.12.2024 14:56:46 Warning OPC UA Client OPC UA CLIENT | Socket error occurred connecting. | Error = 10060, Details = 'A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.'. 11.12.2024 14:56:46 Error OPC UA Client OPC UA CLIENT | Channel failed to connect. | Status description = 'Could not establish a network connection to remote server.', Status code = 0X80AC0000. Additional Information:Server Address: opc.tcp://10.20.20.113:4840Username: orecifua1Password: (Provided during setup)Network: I have multiple network adapters and I am trying to ensure the connection uses the correct adapter.Despite ensuring the server is reachable via ping, the OPC UA client fails to estab
how to do basic authentication through REST API in thingworx without passing user name and password in Header
How to add spellcheck in editable string column of grid
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.