Recently active
Hi, im developing an extension where i have a few datatables and i wanted to know if there's a way to insert some data of these datatables by default in the extension. Thank You in advance.
I'm working with the SteamSensor Example included with the C-SDK. I have the client built, and I've created a thing with the same name. I know that the SteamSensor thing is connecting, as I see the isConnected and lastConnection properties change when the client runs. I've bound a few of the properties to the Thing, but I'm not seeing any data values, and I'm seeing errors from the client. Here is a sample of the client output. [TRACE] 2018-09-04 10:09:33,764: subscribedPropsMgr_RetrievePersistedValues: Retrieving persisted values from file UNKNOWN[ERROR] 2018-09-04 10:09:33,764: subscribedPropsMgr_UpdateSavedValues: spm->persistedValues not initialized[TRACE] 2018-09-04 10:09:33,764: twSubscribedPropsMgr_PushProperties: Attempting to push queued properties[TRACE] 2018-09-04 10:09:33,764: twInfoTableRow_CreateFromStream: Marker is empty. No more rows in stream[TRACE] 2018-09-04 10:09:33,764: twInvokeUpdateSubscribedPropertyValues: Pushing all properti
Hello eveyone;I recently discovered that in ThingWorx 8 , adding appKey to url for authentication has ben removed for security reasons.I cant find working HTTP Requests examples which includes necessary headers with proper syntax.I am using NodeMCU with MicroPython Flash. I can successfully make HTTP requests to any REST testing site. eg. https://httpbin.org/.I also test my Url in Postman. which it also work properly.http://<server>/Thingworx/Things/NodemcuTest/Properties/inputHere is my code. Note : I use urequests library as requests.url = 'http://<server>/Thingworx/Things/NodemcuTest/Properties/input' headers = {'appkey': 'xxxx-xxxx-xxx-xxxx-xxxx-xxx' 'Accept': 'application/json'} getreq = requests.get(url, headers=headers).json() s = getreq["rows"][0]["cont"] print(s) I hope i made myself clear about the issue.Thank you.Murat Can
Hello I'm creating things when not existing using code recommandations. It works fine, I can use the things in services, MAshups ... but it doesn't appear in the list of things of the composer. restart tomcat8 : not OK reboot server : OK any ideas ? my code : try { var params = { name: DeviceName, description: "This is a device automatically created on data reception at " + today, thingTemplateName: "MyTemplate" }; Resources["EntityServices"].CreateThing(params); // Always enable and restart a new thing to make it active on the Platform Things[DeviceName].EnableThing(); Things[DeviceName].RestartThing(); // Any code that could potentially cause an exception should // also be included in the try-catch block. logger.debug ( logprefix + DeviceName + " created !!!"); } catch (err) { // If an exception is caught, we need to attempt to delete everything // that was created to roll back the entire transaction. // If we do not do th
Hey! I am using the marketplace's Range Slider extension which set as invisible in a mashup. Upon some data filled on the mashup the binding property of the widget "Visible" is set to true. The widget shows but its pickers appear on weird places (badly rendered). Once I set one of its properties the widget is rendered properly. If the widget is loaded as visible it is rendered properly too. So I need to change the extension but I cannot figure how the binding for the visibility is set in the runtime.js. I am not a pro to jquery and html. Could you help me? Thanks in advance
HiWe have installed thingworx with mssql database. We created one Thing and selected "Database" as "ThingTemplate", now in configuration tab we have filled the options as below :jDBCConnectionURL = jdbc:sqlserver://localhost:1433;databaseName=thingworx;jDBCDriverClass = com.mysql.jdbc.driverBut the connection is not getting established, the property "isConnected" is showing as false only.We can able to connect to the database through persistence provider with the same jDBCConnectionURL, so I think the problem is with the jDBCDriverClass.we have tried DriverClass as below also:jDBCDriverClass = com.microsoft.sqlserver.jdbc.SQLServerDriverPlease let us know if we are missing any thing or using wrong driver class name for mssql.
Hello all,I have an issue communicating with Windchill, but I think that the error is on TWX side.I have the following error :Wrapped com.ptc.connected.plm.thingworx.JSONServerException: JSON Server error HTTP 400 java.io.EOFException: No content to map to Object due to end of input Cause: JSON Server error HTTP 400 java.io.EOFException: No content to map to Object due to end of inputAnd my service looks like this :var params = { headers: { 'Accept': "application/json", 'Content-Type': 'application/json' }, data: undefined, type: 'GET', url: me.getRestUrl() + "/changeBoardMeetingService/"};// result: JSON// Assuming that the shape is implemented below :var result = me.processJSONRequest(params);Does any knows why I get this error?
Hello, I am having some issues with Anomaly Alert after TrainingHere is everything I've done: microservices.properties file is inside directory /etc/thingworx/microservices.properties results.destination.uri=results://52.169.91.141:8096/results/models file.storage.path=file:/ThingworxMicroservices/data/results dataset.webservices.url= dataset.app.id= dataset.app.key= In the directory /ThingworxMicroservices I have the following files data (dir) logs (dir) models (dir) results-h2-file.yml result-standalone-2.0.2-bin.jar training-standalone-2.0.4-bin.jar training-standalone-single.yml results-h2-file.yml database: driverClass: org.h2.Driver url: jdbc:h2:file:./data/results/model-db # server config stuff server: applicationConnectors: - type: http port: 8096 reuseAddress: true adminConnectors: - type: http port: 8097 reuseAddress: true registerDefaultExceptionMappers: false training-standalone-single.yml # server config stuff server: # softNofileLimit: 1000 # hard
I am trying to go through 'Build and Deploy an Analytics Model' guide. When I look at Analytics Manager and click on Connected Clients I see the following message - No data available for Connected Clients The guide asks to restart the server as administrator which I can't do with a hosted trial. Appreciate any help in getting this working
Dear PTC sirs, which it's the licensing for InfoTable Selector Extension?
Hello, I am trying to integrate the Active Directory to Thingworx 8.2 environment. I am following CS221840. What have you done to import users in bulk (200+ users). According to the CS article, users should be existing in the TWX when they login for the first time. thanks, Preeti
Hey everyone, I'm looking for a way to create subheaders on a grid widget. Something that would look like this:Is this possible? Thanks!
Hi, We are migrating from axeda to thingworx. Axeda had alarms and events separate and we can define severity as well. Thingworx does not have concept called alarms. I have seen alerts but that cannot be triggered from edge using SDK (I guess). On thingworx platform there is no way to see events associated with a thing. All the events are listed inside script logs. So here are the questions. How do we show events specific to a thing along with severity of the event? How do we display alarms similar to axeda in thingworx? Can alerts be served as alarms? How to trigger them from edge device? Please have a look at the attached image for a sample what I am looking for.
I'm using the PDF Extension to create a pdf of a time series chart. I have the mashup set to query some data and display it in the Time Series Chart widget. Everything works great except that the timestamps on the chart are 5 hours ahead of the expected timestamps. Looking up UTC time, my time zone is 5 hours behind UTC. I understand that Thingworx stores timestamps as UTC and then shows them in the client's time zone context when data is queried. It appears that the PDF extension uses UTC time since it is a headless renderer of the mashup. Anybody have an idea of how I can get the extension to show times in a specific time zone context rather than UTC? Adding a time zone input to the CreatePDF Service of the extension seems like a good idea for cases like this. Of course, I could add services that process the data to change timestamps based on the time zone I want to show, but I'd like to know if anyone
Hi~ I have a questions about virtual directory. First of all, I am using a C-SDK. How often are virtual directories synchronized with real directory of edge device? Is it almost real time?
I am new to Thingworx. I have installed and run Thingworx Foundation Server 8.0. My requirement is to develop an Android application to receive some sample streaming data from Thingworx and display in my Android App without any sensors. I have referred these Guides 1. Android SDK Setup 2. Thingworx android SDK Tutorial I have downloaded the Thingworx-Android-SDK-1.1.2 and tried out some sample app called android-steam-thing and its working. In that example, I am connecting to a Thing SteamSensor1 which was available in the Thingworx-Android-SDK-1.1.2/samples/android-steam-thing/entity folder. In Android SDK, we are setting Random numbers in Temperature, Pressure, TotalFlow, InletValve, etc, from Android to Thingworx using setProperty method double temperature = 400 + 40 * Math.random(); double pressure = 18 + 5 * Math.random(); totalFlow += Math.random(); boolean inletValveStatus = true; setProp
Hi, I need support regarding connecting Android Studio to Thingworx Server.
I use the chartWidget_ExtensionPackage , but the bar chart is not works.The situation is shown in the screenshot,Thanks!
Please provide Creo View and Thing View Widget Documentation or guide to view 3D Object in custom mashup/UI except for the ThingWorx Navigate app.
Hello everyone, Our ThingWorx configured with SSO configuration using CAS(PingFederate). Now, I would like to login with other user, Can we login ? Could please anyone send the possibilities to login? Regards, madhu
Hi, I wanted to know what does "15 named users with 500 assets" for make ptc and version 8.2 ThingWorx mean? And also what does the "part number" mean for make ptc? Please provide some idea about this. Thanks, V Shalini.
Hi all, could somebody show me what is wrong in my code?? I wanted to go thru all the rows in infotable to add them to stream. but unfortunately only last row is added, despite the fact that first part of code reads all *.csv file. var params = { path: "ptc.csv" /* STRING */, columnMappings: undefined /* STRING */, hasHeader: true /* BOOLEAN */, longitudeField: undefined /* NUMBER */, dateFormat: "dd.MM.yyyy HH:mm:ss" /* STRING */, fileRepository: "HYDAC_FR" /* THINGNAME */, latitudeField: undefined /* NUMBER */, fieldDelimiter: undefined /* STRING */, stringDelimiter: "\"" /* STRING */, dataShape: "PTC_DATASHAPE" /* DATASHAPENAME */}; var myInfoTable = Resources["CSVParserFunctions"].ReadCSVFile(params);var tableLength = myInfoTable.rows.length; for (var x = 0; x < tableLength; x++) { var row = myInfoTable.rows[x];var tags = new Array();var timestamp = new Date();var values = Things["PTC_STREAM"].CreateValues(); values.Par2 = row.Par2; //NUMBERvalues.Par1 = ro
Hi, I am using a shape widget for dynamic fill of data. But when I give the dynamicrangeminimum (#200) data and dynamicrangemaximum (#500) data from two services returning two numbers it is not showing any result. I dont want to give the minimum and maximum data as static because the data will be changed dynamically for every minute. But when I binded one value to data property and kept a static maximum value it is working fine but my requirement is to change both minimum and maximum value dynamically. So how can I make the dynamicrangemaximum and dynamicrangeminimum property to work? Please provide some help. Thanks, V Shalini.
Sometimes, scheduler kept the service in queue not executing. Pl advise do we need any configuration change in subsystem? I have scheduled using the "super user" privileges.
Both Resources["InfoTableFunctions"].ToJSON(params); and .ToJSON(); are failing to convert my infotable to a JSON object. Does anyone know why this could potentially happen? I understand that the .ToJSON() method does not work with infotables that are already JSON objects but does the same apply for the first option?
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.