IoT & Connectivity Tips | ThingWorx & Kepware PTC
Recently active
Original Post Date: June 6, 2016 Description: This tutorial video will walk you through the installation process for the PostgreSQL-based version of the ThingWorx Platform in a Windows environment. All required software components will be covered in this video.
Hello, ThingWorx Users! As promised, we are back with Episode 02 of ThingWorx on Air. Listen to our PM Milan share the secrets of Operator Advisor and how we built the solution with an eye for IIoT developers. Learn how Operator Advisor provides you with pre-built snippets of code for widgets, services, etc. targeted specifically for shop floor operators. No more starting from scratch! Reach out if you have any questions or topic requests! Stay connected, Kaya P.S. Keep your ears peeled for the “Wowza Widget of the Week!”
In the 8.2 release, we have upgraded our Mashup Runtime to jQuery 3.2. This will give the platform a much needed upgrade to its core visualization library which will bring bug fixes, better performance, security enhancements, HTML5 compatibility and support for current browsers. We will continue to upgrade all of our libraries across the platform with each ThingWorx release to ensure we are current and optimized. We are releasing this functionality in 8.2 as an early preview and to enable regression testing of your ThingWorx applications. In the Next Gen Composer, simply click on User Preferences and look for this setting: Enabling jQuery3 runtime JQuery 3 does introduce some new breaking changes (not from PTC!) that may affect existing apps. We recommend turning on the JQuery3 option and testing your apps as soon as possible so there is time to fix any issues. Please let PTC know if you are finding issues through our support s
To maintain a cleaner look of your ThingWorx server access URL, whether for production or convenience reasons, you may look into setting up redirection.This is a quick example on how to redirect <your.main.url.com> to <your.main.url.com/Thingworx>Go to the /<apache-tomcat-directory>/webapps/ROOT/ and find the "index.jsp" file. Copy that file for backup purposes and replace with a new one, containing the following:<!DOCTYPE html> <html> <head> <title>Redirecting....</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <script type="text/javascript"> function Redirect() { window.location="/Thingworx/"; } setTimeout('Redirect()', 0); </script> </head>Ple
Overview: Navigate 1.6 uses SAP ODataConnector that enables the connection to the SAP Netweaver Gateway through the ODdata specification. It is a specialized implementation of the ODataConnector. See Integration Connectors for documentation We will use SAP Netweaver Gateway Demo system: 1. Create an account on the Gateway Demo system (credentials to be used on the connector are sent by email) 2. Verify that the account has access to the basic OData sample service : https://sapes4.sapdevcenter.com/sap/opu/odata/IWBEP/GWSAMPLE_BASIC/ Note: ThingWorx can use SSO to access SAP, but in this post we will use fixed authentication. 1. OpenSAPODataConnector and configure connection settings: 2. Save the connector and go to services and execute service ValidateConnection to validate that 200 OK status is returned: 3. Open SAPPArtResourceProvider Thing and then Services and Edit the Service and in the script Enter the var results=”” Note: This is the Prefix used to get data from SAP
Key Functional Highlights Changes to the Free Trial for Manufacturing Merged Manufacturing apps and DevKit downloads into one Free Trial 120 day free trial Access to ThingWorx Foundation Includes manufacturing accelerator Controls Advisor, Asset Advisor (supported apps) Production KPI's (demo app within SCO accelerator) Available via ThingWorx Developer Portal Asset Advisor Merged Manufacturing and Service Apps into a single deliverable Merged ThingWorx Utilities Capabilities into Asset Advisor Equipment Export/Import via Excel Added console links for workflow, composer and SCM Utilities customers can easily migrate to Asset Advisor Support of Quality of Data for assets and lines Building Blocks Additional connectors can be configured in Controls Advisor Edge Microserver (EMS) and Azure IoT can be configured as a data source Operator Advisor Beta Compatibility - ThingWorx Manufacturing and Service Apps ThingWorx 8.3.x KEPServer
Key Functional Highlights See What’s New in ThingWorx Apps and ThingWorx Operator Advisor Guide Compatibility - ThingWorx Manufacturing and Service Apps ThingWorx 8.4.x KEPServerEX 6.2 and later Earlier Version of KEPServerEX and 3rd party OPC will be supported via Aggregator All other TWX supported data sources but specifically: NI, EMS and Azure IOT Hub Upgrade Support 8.0.1 and later Compatibility – ThingWorx Manufacturing Operator Advisor ThingWorx 8.3.4 and later ThingWorx 8.4.x and later MPMLink 11.0 M030+ with WRS 1.3 Documentation What’s New in ThingWorx Apps ThingWorx Apps Setup and Configuration Guide ThingWorx Apps Customization Guide ThingWorx Operator Advisor Guide Additional information The National Instruments Connector can be found on PTC Marketplace Download ThingWorx Manufacturing and Service Apps & Operat
Some call him JB. Some call him Joe. Others call him @bironology. I call him an awesome guy—he’s our CTO of IoT here at PTC—Joe Biron! Joe’s an architect at heart, a developer, an avid gamer and a technologist (check him out on Twitter @bironology). Watch as he guest stars in the Microsoft Channel 9 “IoT Deep Dive Live” show! Listen to him explain how you can build end-to-end industrial solutions with ThingWorx and Azure. And, guess who’s running the demo behind the scenes: our Global ThingWorx COE Lead, Neal Hagermoser, who you may recognize from a previous Ask Kaya post where I interviewed him on why we chose to partner with Azure. Enjoy the show and stay connected! Kaya
ThingWorx 7.4 introduces a new licensing system. A license file (license.bin) needs to be placed in the ThingworxPlatform folder. A new license file is also required if you upgrade from 7.4 to a major or minor release (not service pack-level releases). For example:• If you are using version 7.3, a license is not required.• If you upgrade from version 7.4.1 to version 7.4.2, a license upgrade is not required.• If you upgrade from version 7.4.3 to version 7.5.2, a license upgrade is required.Refer to the Installing ThingWorx 7.4 guide or Upgrading ThingWorx 7.4 guide for detailed process steps.Paid customers would have unlimited use of entities for 7.4.0. As currently a license file is locked to version rather than SCN/host and is part of download package on PTC Support, customers can use the same downloadable for multiple instances.Developer Trial Edition provides a constrained license file (5 users, 100 things, 120 days), and the license file is part of on premise dow
Continuing our series of Troubleshooting ThingWorx Analytics installations, in this IoT Tech Tip we will cover two items have been appearing for many users. Error 1069 Encountered with Native Windows Installation of ThingWorx Analytics 8.2 In some instances, when a user successfully installs ThingWorx Analytics (TWAS) to a Windows Server operating system, they will encounter an error where TWAS will report an Error 1069: The Service did not start due to logon failure. This can occur with any individual Service that is created by the installation, the following fix should work in addressing the issue. Primary Reason This Happens: This error can be encountered when the user provides incorrect credentials for associating the Services to an account during installation. In TWAS 8.2, there is a utility that will enable to the user to change the associated user on the Services. It is important the user provides the password for the User Account on Windows, a
In the ptc-windchill-extension-1.0.0-14.zip archive there is an extension called infotableselector_ExtensionPackage.zip . This extension enables the use of the Widget called Infotable Selector, which can be used to clear the selection in a grid.For how to use this widget, take a look at the picture:
Contents: Introduction Prerequisites Installing Java Installing PostgreSQL Running the Installer Post Installation Steps Troubleshooting tips Introduction: Starting with ThingWorx 8.4, PTC released a new way to install a fresh ThingWorx environment. This installer takes care of all the permissions, database scripts, credential encryption, and tomcat options that previously needed to be done manually. More information on the installer can be found in the ThingWorx Help Center NOTE: This is different than the Docker installer we have available in earlier releases. As of right now, the installation guide has very basic instructions for the installer. The purpose of this post is to show you from start to finish what the process looks like. For this example, I chose to deploy PostgreSQL 10 on the local system to keep things simple. Prerequisites: Download the latest Java 8 SE JDK RPM for RHEL Get your database ready: If y
One of the interesting features of ThingWorx Analytics Manager is its ability to run distributed models created in Excel (and more of course). Most people having been tasked with understanding data have built models in Excel and have sometimes built quite complex models (or even applications) with it. The ability to tie these models to real data coming from various systems connected through ThingWorx and operationalise their execution is a really simple way for people to leverage their existing work and I.P. on a connected analytics journey. To demonstrate this power and ease of implementation, I created a sample data set with historical data, traffic profile, and a simple anomaly detection model to execute with Analytics Manager. (files are attached) The online help center was quite helpful in explaining the process of Creating the Excel Workbook, however I got stuck at the XML mapping stage. The Analytics and Excel documentation both neglect to
Objective Use Influx as a database to store data coming from Kepware ThingWorx Industrial Connectivity server Prerequisite Configure ThingWorx connection to Kepware’s KEPServerEX and bind tags that exist in KEPServerEX to things in the ThingWorx model as referenced in Industrial Connections Example Configuration Steps 1. Create database in Influx for ThingWorx: Connect: influx -precision rfc3339> SHOW DATABASES > CREATE DATABASE thingworx 2. Create Influx Persistence Provider and configure 3. In the Industrial Thing where the Remote Properties are bounded define Value Stream and make sure to have Persistence Provider set to Influx and is set to Active 4. In the Value Stream Properties and Alerts define the mappings using Manage Bindings to specify what properties are to be stored in this value stream 5. Save it and test it to make sure properties are stored in
1. Use Postman or any other software for Rest Api call to the ThingWorx.2. Create a query in Postman with following parameters:Type: POSTURL: https://<IP>:<PORT>/Thingworx/Users/<UserName>/Services/AssignNewPassword<IP>: IP of the server where ThingWorx is installed.<PORT>: Port on which ThingWorx is running (if required).<UserName>: User Name of the user whom Password is to be reset.Headers:appkey : Your Administrator App key or App key of user having Permission for AssignNewPassword Service for the user.Content-Type: application/jsonBody:{ "newPassword":"NewPasswordHere", "newPasswordConfirm":"NewPasswordHere"}3. Send the Query.4. Login using new Password.
How to score new data with ThingWorx Analytics ? The following is valid starting with ThingWorx Analytics (TWA) 8.3.0 Overview Once a training model has been created, one of the main objective is to score new data to predict the value for the goal ThingWorx Analytics can score new data in 2 ways: Batch scoring Real time scoring Batch scoring Batch scoring will be used when a large amount of data needs to be scored. To perform a batch scoring we will usually follow steps similar to the below ones: Upload the historic data Create a new model with this historic data Upload new data – the one to be scored Perform a prediction job to score those new data Retrieve the prediction job result Uploading the new data can be done in different ways. If using a large amount of data, it can be easier to upload the data via a csv file in a similar way as the historic data. This is the way used in ThingWorx Analytics Builder. If the amount of data is more limited this
The term ‘Extension’ or ‘Plugin’ often has many different meanings. For example, from the point of view of a Product Manager it often means an ‘easy’ way to add additional functionality to an existing piece of software. In contrast, from the point of view of a Software Developer it often means new syntax to memorize, extensive amounts of API documentation to read and very often weeks or even months of trial and error to make this ‘easy’ addition of functionality. We at ThingWorx recognized that in order to be a true Platform we need to take action to make the creation of Extensions easier at all phases of the process. Our development team took on the challenge of understanding what it is that normally makes this such a difficult process, and try and find solutions.We took to the open source community looking for a Platform that could offer our Extension developers a wide array of functionality that was easily accessible and familiar. This is where the Eclipse IDE comes in. We wer
Question: Is there a Security log entry added when a user is refused access to Composer?Answer:The Security log is mainly for user login and authentication items; since this is not authentication per se, we don't log any messages there. The Application log should have log entries noting any errors. Question: Do the gauges and graphs now behave more reactive without reloads of massive data. just easy show "realtime" data?Answer: The Custom Charts we have on the Market place should alleviate some of that - depending on how the data refresh is set up, that should redraw. The changes we have done on the layout side won't have any impacts there, unless the browser window is resized. Question:Will we offer a library of "Design themes"? Answer:We are working on adding prebuilt themes for a future release. Question: Does the new Mashup builder store Mashups in the same way? Are these new Mashups taking into account a runtime separated from the platform?Answer: It should be the
Why? Reduce or eliminate hardware costs Get database portability across on-premise and cloud compatible virtualization High speed and minimum downtime Optimize performance Three deployment options: Single: best for apps requiring resource guarantee at database level Elastic pool: SAAS apps with multiple databases achieving better cost efficiency Managed instance: best for modernization at scale MS SQL Improvements: Ingest millions of data items/day with imrpoved MS SQL 150% improvement ingestion throughput with MS SQL persistence provider Optimized indexing to achieve better peformance for the same compute at the same price ThingWorx with Microsoft database solution: Azure SQL logical server (single instance and elastic pool) v12 Azure SQL managed server v12 MS SQL sever 2016 Azure PostgreSQL 9.6 and 10 Q: What is the rate as compared to PostgreSQL? A: We are in process launching new sizing guide that will be out in a few weeks. MS SQL is around 15-22K writes per sec. Com
In this video we show a simple use case on how to setup a transformed property to collect statistical values
In this video we cover the installation of the platform analytics services which include: Descriptive services and property transform services.
In this video we introduce the Descriptive Services and property transform services that are found on the platform analytics media
This video shows the steps to install ThingWorx Analytics Server 8.4 as well as the ThingWorx Analytics Extension.
We are excited to announce ThingWorx 8.4 is now available for download! Key functional highlights ThingWorx 8.4 covers the following areas of the product portfolio: ThingWorx Analytics and ThingWorx Foundation which includes Connection Server and Edge capabilities. ThingWorx Foundation Next Generation Composer: File Repository Editor added for application file management New entity Config Table Editor to enable application configurability and customization Localization support fornew languages: Italian, Japanese, Korean, Spanish, Russian, Chinese/Taiwan, Chinese/Simplified Mashup Builder: Responsive Layout with new Layout Editor 13 new and updated widgets (beta) Theming Editor (beta) New Functions Editor New Personalized Workspace Platform: Added support for AzureSQL, a relational database-as-a-service (DBaaS) as the new persistence provider A PaaS database that is always running on the latest stable version of SQL Server Database Engine and patched OS w
This post covers how to build and operationalize a time series model using Thingworx Analytics. A lookback window is used to read multiple previous rows before the current one, and base the prediction on those lookback rows. In this example we use time series data to predict water flow for different water pumps in a system. There is a full explanation of the method attached, also all necessary resources are included in the attached files.
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.