Recently active
hello, hope your doing all well. I have a thing with some thingShapes, binded to a kepware where it gets the data. the problem is some properties i created on shapes has string as a type, and on the kepware they are numbers, and this causes a problem for me when quering theme from influx with aggregate functions (mean....).i tried to modify adapt there types on the thing-> my properties (where there is an exclamation mark ) , i click on the property then i click on applay , it changes there type to the proper one, but after saving , it go back to the previous type. also tried to create new properties and deleted the wrong ones, they are not visible on influx, only the old (string) ones are there,my question is : -can i change a property's type after it's on influx without changing the name?- is there a way to force the types on the sources, not on the shapes ? thank you all*i am new to thingworx (few months).
Is there any benefit of wrapping whole service into anonymous function? eg. (function() { const someText = 'test'; logger.info(someText); })(); const result = function() { const someText = 'test'; return someText; }(); I'm not sure how local variables (service scope) are managed after the service execution completes/fails. Are those variables continue to exist, even if we cannot access them? If yes, it would make sense to wrap whole service into anonymous function, so we are sure they are destroyed after function returns.I saw this approach few times and it makes sense for me when the service returns value - we can use return statement in any place in the service, but I'm not sure about memory/security benefits.Is there any documentation on how ThingWorx manages the cleanup and disposal of resources associated with the service execution?
Hello I want to remove Display and Reset button and add new button at right side/ replace reset button with add button, how can I do this In below image I want to replace reset button and hide display drop down
loaded Focus 1/2 libraries to the KEPSeverEX 6get this message for all the focus driversDate Time Level Source Event6/13/2023 1:14:10 PM Warning KEPServerEX\Configuration Unable to load driver DLL 'C:\Program Files (x86)\Kepware\KEPServerEX 6\drivers\fwlib0DN.dll'. Reason: Version mismatch. I could use some guidance with this
Hi Team, I was doing a training for Analytics (https://community.ptc.com/t5/IoT-Tips/ThingWorx-Analytics-Training-Module-11-Part-1/ta-p/844948). I tried to import Things_dataSimulator.xml but the import failed. The error shown is: Please help me solve this issue, Thank you. Regards, Amelia W
Hi, What is the maximum number of tags that can be configured against a single kepserver instance in a Server without any performance issue? I know the number of channels and devices are depends on the driver used. but my question is not about it. It is all about total number of tags per single Kepserver Instance without any performance issue. Your answer will be highly appreciated. Thanks. Below are the system scenarios. 1) Only Kepserver is the application running in the server except other Windows OS service. 2) Using One device per single channel configuration.
Hello, I have thingworx 9.3 installed on my pc.I installed this extension :https://github.com/carlescm/ThingWorxConcurrencyExtensionthe extention works fine. However, when i restart tomcat, thingworx remove the extension automatically !do you have any aidea why i have this behaviour. Thank you for your help.
I am sending a SOAP Request from Thingworx to FactoryTalk Pavilion 8. I run the following script but get nothing back. The ldp in the code below is a tag whose value the SOAP call is supposed to retrieve. Thingworx 9.3 var content ='<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">\<soapenv:Body>\<getTimeSeries>\<ldps>\<ldp>MAIN/Line1APQC/L1_QualityCtrl_KPIs/CV___Peel/data::output/Utilization/UnitUptime</ldp>\</ldps>\<starttime>2023-01-06T20:45:00</starttime>\<endtime>2023-05-26T00:10:00</endtime>\</getTimeSeries>\</soapenv:Body>\</soapenv:Envelope>'; var resultXML = Resources["ContentLoaderFunctions"].PostXML({url: "http://xxxxxxxx/integration/services/TimeSeriesPagingService" /* STRING */,content: content,password: 'xxxx' /* STRING */,username: 'xxxx
Hello everyone, currently I'm exploring the uses of kepware server ex.Kepware I'm using is "KepserverEx V6.13 "(trial). My problem is i cannot able to access my tags in Quickclient window, its completely empty(yesterday things were showing perfectly). I'm attaching the screenshot here. However, if i try to add tags manually, it still doesn't work. Tags do appear but 'cross' sign inside it. I don't know whats the problem here. Is it kepware(trial) version I'm using or something else. Guide me. Thanks in advance...
Like creating a Thing with code
In my current scenario I have 2 OPC servers (KepServerEx 6.9) collecting data through the Modbus driver and making this data available in OPC UA and DA.Generally, client applications do not have redundancy tools and only my OPC01 server provides data for this type of application.Contrary to this, Osisoft PI already has a tool in its implementation that allows switching between data sources (OPC01 or OPC02).Through the video https://www.youtube.com/watch?v=vaoKidtZ82w I realized that it would be possible to create a Windows cluster to solve this problem and create a redundancy between servers.However, I did not find documentation/guide on the Kepware website that directs me to this type of implementation.Is there any? Could you refer me?PS: I'm familiar with the "Redundancy Manager" solution, but I'd rather point to a cluster than purchase additional licenses for each of the client applications.
Is there a way to audit how many assets and users I have consumed versus how many I have available? I am on ThingWorx SCP Cloud v 9.1.
So, it seems kind of simple, but I can't get it to work and not sure why.The arrow on Drag to Reorder fields when creating menus, data shapes or whetever else doesn't work... I tried in different ways and in different entities but it just doesn't do anything. Like I click on the 4 direction arrow and try to drag either above or below and when I drop it, nothing happens. When I have to reorder my fields I need to use the up and down arrow, which in situations where I have a large number of fields gets SUPER annoying. Wondering if this is expected behavior or am I missing something here? Thanks, Caio
Hi Team, I have added a new field in datashape.IN Mashup design, from "Configure grid column" property of grid , I have not checked any of the checkbox for "Exclude" and "Show" option.Then on runtime when I right click on grid header the, it is not showing the grid headers list. Expected: ON right click on grid headers it should shoe the grid headers name with checkboxes so user can manually check the box and see the data Please help!Thanks in advance!
Hi All, I installed ThingWorx EDGE C SDK of version 3-0-0-2317. While compiling a code with <twApi.h> header it showing error in SDK itself. /home/new/thingworx/include/thingworx/twOSPort.h:19:11: error: #include expects "FILENAME" or <FILENAME>19 | #include TW_OS_INCLUDE| ^~~~~~~~~~~~~/home/new/thingworx/twOSPort.h:54:24: error: unknown type name ‘DATETIME’54 | char twTimeGreaterThan(DATETIME t1, DATETIME t2);| ^~~~~~~~/home/new/thingworx/include/thingworx/twOSPort.h:54:37: error: unknown type name ‘DATETIME’54 | char twTimeGreaterThan(DATETIME t1, DATETIME t2);| ^~~~~~~~/home/new/thingworx/include/thingworx/twOSPort.h:64:21: error: unknown type name ‘DATETIME’64 | char twTimeLessThan(DATETIME t1, DATETIME t2);| ^~~~~~~~/home/new/thingworx/include/thingworx/twOSPort.h:64:34: error: unknown type name ‘DATETIME’64 | char twTimeLessThan(DATETIME t1, DATETIME t2);| ^~~~~~~~/home/new/thingworx/include/thingworx/twOSPort.h:74:1: error: unknown type name ‘DATETIME’74 | DAT
I need a print widget extension which takes "mashup entity" as input. I found some print widgets which takes screenshot of the current page. As scroll bar appears in mashup to see all the rows in collection widget, taking screenshot wont help. So we need a print extension which takes input as mashup, so that we can pass new static mashup in print widget to take print out.
Hi all, I'm currently trying to trace down the usage from some mashups. The idea is to create a service that will be triggered by auto refresh every 60 secs containing (user, datetime, mashupname, current session id). Does anyone know how to obtain the current session id from the opened mashup (see the link below). Is there any session parameter that contains this? e.g. https://thingworx-server/Thingworx/Runtime/index.html?mashup=Templatename&forceClose=true&__enableBMF=true&__fromNextGen=8587fe65-9d60-4cb0-bbcb-7d41a78d2169&features=#master=Mastertemplate&mashup=&forceClose=true&features=
hi @jensc I am trying to do the same thing in SQL , updating data from infotable to MySQL table. Above logic should be written in javascript service? If yes, How can i call below exec SP here? exec [StoredProcedure] @json = [[StringArray]]
Hi, I am using the following REST API: var WindchillData = Things["OData-connector"].getPartStructure({ $expand: "Components($expand=Part($select=Name,Number,Version),PartUse,Occurrence;$levels=1)", ID: "VR:wt.part.WTPart:XXXXXXXX" }); As of now, I can only pass one ID. Can I pass multiple part ids in the ID field? Thanks,
Can we create and modify services inside a Thing through REST API?
Hello, I am having a issue where the IoT Gateway, in an intermittent way, loses connection from IoT hub, then it starts a loop of errors trying to connect and being disconnected with the following messages: Note: I hid the agent and broker link for security reason. Date Time Level Source Event5/10/2023 1:16:13 AM Warning KEPServerEX\Runtime The MQTT agent 'My agent' published events buffer is full. Dropping new data change events5/10/2023 1:16:14 AM Information KEPServerEX\Runtime MQTT agent 'My agent' is connected to broker 'My Broker Link'5/10/2023 1:16:14 AM Error KEPServerEX\Runtime MQTT agent 'My agent' disconnected - reason 'Connection reset by peer: socket write error' ------------------------------------------------------------------------------------------------------------------- When I reinitialize the application, it connects again. Is there a fix or mitigation action I can set in kepware? For exemple, to restart Iot Gateway automatically Th
I am getting these two Errors while importing print extension in localserver. But same extension got imported in other servers.. Extension Exception: java.io.FileNotFoundException: C:\PROGRA~2\THINGW~1\ThingworxStorage\extensions\temp\OpenPrintButton_fb423bfc-0460-43e2-b53c-0503b46e52ae\OpenPrintButton\ui\OpenPrintButton\images\button-disabled.png (Access is denied) C:\Program Files (x86)\ThingWorxFoundation\tomcat\current\webapps\Thingworx\Common\extensions\chartWidget_ExtensionPackage\ui\lineChart\lineChart.ide.js (The system cannot find the file specified)
Hi all, I've been working with the Reference Lines feature on the Line Charts recently and while I can label them, I was wondering if it's possible to format and apply different styles to each line to help tell them apart at a glance? In my use case, the label's being used to show the value that the line is plotted at, so it'd be helpful if I could apply different colours, etc. to each line to give a little more info to them. I can't see anything in the style properties, but not sure if there's any CSS wizardry or something I'm missing that might help?
Hello Community. For a long time now I have noticed that when using a data table as a data source for a grid, there are some columns that show up in the grid even though you perhaps use a data shape in your service result that do not include these columns. Example: Is there any way of hiding/removing these without adding them to the data shape or having to loop over each row and removing field? Thanks,Jens
Hello, I have one device that uses the Modbus protocol. and Thingworx Kepware server connects that Modbus device and sends data to thingworx. And I have displayed device data in a mashup. In that mashup, I have added an on/off button. when I press the off button on mashup then my device will off How can I achieve this using Thingworx, and the Thingworx Kepware server?
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.