Recently active
Step 8: Configure Template File (Service)Step 9: Run LSRStep 10: Bind Remote Thing PropertiesStep 11: View Data from Devices Step 8: Configure Template File (Service) Services are implemented as Lua functions. In our Lua script, Services are divided into two pieces. The first is the Service definition which consists of a Service name, inputs and output. The second part of defining a Service is the service code. The Service code is run when you execute the service. Create Service DefinitionOpen the PiTemplate.lua file.Append the service definition to the file.Create a service named GetSystemProperties that gets the system properties (cpu temperature, clock frequencies, voltages) from your Raspberry Pi and updates the respective properties on the Thingworx platform.Specify your output type but not the name because the name of every output from a ThingWorx service is always result. serviceDefinitions.GetSystemProperties( output { baseType="BOOLEAN", description="" }, desc
Step 12: Connect to Temperature SensorStep 13: Next Steps Step 12: Connect to Temperature Sensor This step is optional. Additional instructions are provided for developers who are interested in interfacing with sensors. The DHT11 and DHT22 digital temperature and humidity sensors are inexpensive and available from several sources:AdafruitSparkfunSeeedStudioThe Raspberry Pi does not come with any built-in analog to digital conversion capability and because these sensors are digital they can be interfaced easily with a Raspberry Pi. We will be using a Python library developed by Adafruit that simplifies interfacing with these sensors. Install Adafruit Python Library for Sensors We will use Git to download the Adafruit DHT11 Python from GitHub. Check if Git is already installed by opening a command window and typing the command:gitIf you see a "command not found" error message use this command to install Git:sudo apt-get install git-coreIf you get an error i
Hi all, i have a infotable which has columns. In which a column itself a infotable (columnInfotable) in it.i need to get the value of the of the columns in the columnInfotable. Is there any logic.thanks in advance
Hi all, i have a infotable which is returned from Store procedure. The infotable has a column which returns 0 and 1. Is there any way to get the count of the rows which has value 1. Thanks in advance
in my MenuEntry the linkDestination and linkType are primary key. but the documentation says:https://support.ptc.com/help/thingworx/platform/r9/en/index.html#page/ThingWorx/Help/Mashup_Builder/Widgets/MenuBarDefiningtheMenuBarItemsUsinganInfotable.html#linkDestination and title are primary key.
Hi Team, Suppose any ThingWorx platform restarts everyday automatically at sometime in night, then how to stop this or edit this automatic ThingWorx restart configuration. Thanks in advance.
Is it possible to transfer a file using kepware to thingworx. we have a case where thingworx and file both are present in same network but thingworx is in cloud. There are csv files that are written after a set of interval on a local computer. we need to use the same data for visualizing in a mashup.
Hello all, I'm facing TWX things disconnecting issue continuously during production run & whenever im reinitializing kepware, again things will connect. Can anybody provide some solution to stop this !! or Is there any way to do automatically the same thing from TWX side as kepware reinitialization does.
To simplify the development of IIoT applications and solutions on the ThingWorx platform, we introduce the concept of Building Blocks. The intent of Building Blocks is to ease the creation of your own solutions and customization of PTC’s solutions. These Building Blocks are domain specific business logic pre-made for reusability, which means you won’t need to build from scratch on ThingWorx and can accelerate your time to value.What do we mean by Building Blocks? Building Blocks are premade components that enable modular software development. They are reusable, replaceable packages of functionality that can be connected into an architecture framework. Building Blocks allow for quicker development and customization of solutions and applications.What are the different types of Building Blocks? Connectors Leverage the same connectors we use for PTC solutions for better overall application performance and seamless transfer of data from disparate devices and systems. Identify the
GUIDE CONCEPTStep 1: Create a DatashapeStep 2: Create a Thing Use the Collection Widget to organize visual elements of your application. GUIDE CONCEPT This project will introduce the Collection Widget. Following the steps in this guide, you will learn to display different values from a single dataset in real-time. We will teach you how to utilize the Collection Widget to generate a series of repeated Mashups for every row of data in a table. YOU'LL LEARN HOW TO Create a Datashape to define columns of a tableCreate a Thing with an Infotable PropertyCreate a base Mashup to display dataUtilize a Collection Widget to display data from multiple rows of a table NOTE: This guide's content aligns with ThingWorx 9.3. The estimated time to complete ALL 3 parts of this guide is 60 minutes. Step 1: Create a Datashape Create a Datashape The Collection Widget uses a Service to dynamically define v
Step 3: Create a Base Mashup Step 3: Create a Base Mashup Now that you have some data, you need to create and configure a Mashup to display the data. Using Mashup Parameters, the Collection Widget will replicate the base Mashup multiple times, correlating to each row of data in the Info Table Property. On the ThingWorx Composer Browse tab, click Visualization > Mashups, + New 2. Keep the default ofResponsive(without selecting any Templates), and click OK 3. In the Name field, enter cwht_base_mashup. 4. If Project is not already set, search for and select PTCDefaultProject. 5. Click Save. Add Widgets to Design At the top, click Design.TIP: You can click the left arrow on the divider between the Browse left-navigation and the Mashu
Step 4: Use Collection WidgetStep 5: Next Steps Step 4: Use Collection Widget At this point, you have created the following Entities: A Thing with data stored in an Info Table Property (columns defined by a Data Shape) A base Mashup (containing Gauge, LED Display, and Text Field Widgets) that displays an individual row of data from the table Now, you need to use the Collection Widget to display this Mashup for every row of data in the table. On the ThingWorx Composer Browse tab, click Visualization > Mashups, + New 2. Keep the default of Responsive with no Templates chosen, and click OK. 3. In the Name field, enter cwht_collection_mashup 4. If Project is not already set, search for and select PTCDefaultProjec
Hi all, is it possible to show a buttons tooltip even if it is deactivated? Reason is I want to change the tooltip text to explain to the user _why_ the button has been disabled. Thanks
We have scenario where we have data stored in csv files stored in local computer and we need to read the data into thingworx which is present in cloud. we then have to visualize the data loaded into thingworx from csv in a mashups. Any leads on how we can achieve it. we also have kepware where we can use simulators to read csv files to a tag and then read the data from the tag. But is it possible to read files directly into thingworx without interacting with kepware.
Hi, We developed few mashups in TW 9.0 to set to the mobile resolution of 400*800 and it works fine when we do the runtime view. When exporting this mashup and importing in TW 9.3, the containers are becoming small even if the containers are set to specific fixed size. The same mashup works fine in 9.0 and containers are spaced how expected but in 9.3 the containers gets shrink. Should we set any property in the higher version?How can this issue be resolved?
Hi,I got the Radio Buttons on the List widget,Problem: The selected radio Button stays only when we Hover on it. It should be selected after hovering or until the next list item is selected. Used the following CSS: ptcs-list::part(item-value)::before{ content:url('../Common/thingworx/widgets/dhxgrid/images/radio-unfilled.png'); margin: 10px; } ptcs-list::part(item-value):hover::before{ content:url('../Common/thingworx/widgets/dhxgrid/images/radio-filled.png'); margin:10px; } Any workarounds over here can be done?Thanks,
Hi Folks, As we know Mashup renders Style/StateDefinitions (platform subsystem) before executing data custom services which consumes a significant screen load time. Is there a way to cache these subsystem services rendering so that it doesn't require to load every time? Related: topic
when we try to import entities from system repository it is showing error in application log as [1,018] Data store unknown error: [Error occurred while accessing the model provider.]
Hi everyoneActually I got a serious error in Kepservers v6 and I would be grateful if anyone could help me to find out this problem.It can be helpful to describe a bit about our project. We have 3 gateways with kepserver in each one and of course a server that received data from getaways by Cimplicity software. Here we have nearly 800 devices that are divided between these 3 gateways (3 kepservers). Almost each device is assigned to one channel.I have been working with this project since 3 years ago and over this time I added devices gradually. Everythings was ok untill last year that I got an error in kepservers when one of our Kepservers fails, then the two other Kepservers also fail. It means all tags values in all devices become constant or bad (out of service) and the project couldn’t reconnect so we reset project by reset windows service runtime in Windows Task Manager. But it disturbed again in 2 hours. resetting systems doesn’t help too. To solve this problem ,wechecked all fib
GUIDE CONCEPTStep 1: Completed ExampleStep 2: Download Plugin and SDKStep 3: Install and Configure Build extensions quickly and extend your application functionality with the Eclipse Plugin. GUIDE CONCEPT Extensions enable you to quickly and easily add new functionality to an IoT solution. Extensions can be service (function/method) libraries, connector templates, functional widgets, and more. The Eclipse Plugin for ThingWorx Extension Development (Eclipse Plugin) is designed to streamline and enhance the creation of extensions for the ThingWorx Platform. The plugin makes it easier to develop and build extensions by automatically generating source files, annotations, and methods as well as updating the metadata file to ensure the extension can be imported. These features allow you to focus on developing functionality in your extension, rather than worrying about getting the syntax and format of annotations and the metadata file correct. YOU'LL LEARN
Step 4: Create Extension ProjectStep 5: Add PropertiesStep 6: Create Configuration Table Step 4: Create Extension Project In this tutorial, you will create a ThingWorx extension that retrieves weather information using OpenWeatherMap API.Create AccountIn this part of the lesson, you will create a free account in OpenWeatherMap that creates an AppKey so you can access their REST API.Sign-up for a free account.Log in to your account.Create a new API Key NOTE: We will use this generated API key as a parameter in the REST calls. Create New Extension Project NOTE: Make sure that you are in the ThingWorx Extension Perspective. To verify, you should see a plus icon: in the menu bar. If you don’t see this, you are probably in the wrong perspective. Go back to the previous step to learn how to set the perspective to ThingWorx Extension in Eclipse. Go to File->New->Project.Click ThingWorx->ThingWorx Extension P
Step 7: Add JAR ResourcesStep 8: Create Services Step 7: Add JAR Resources You can add external JARs for use by your extension. Every third-party JAR that is not already included in either the ThingWorx Extension SDK or ThingWorx Core needs to be added to your extension project as a JAR Resource. These JAR resources are added to your metadata.xml as a tag and are used to reference the Java classes in the third-party JAR on which the extension depends. You can either use the Add button or the ThingWorx Menu from the menu bar to add a new JAR resource. By doing so, the JAR is automatically updated in the metadata file and added to the build path.Although ThingWorx allows developers to include jar files for third-party libraries in their code, it is recommended that you avoid adding jar files for common libraries and instead use the jar files that are included with the SDK. Adding jar files to an extension could cause conflicts with jar files already used by the ThingW
Step 9: Create Event and SubscriptionStep 10: Add Composer Entities Step 9: Create Event and Subscription In this section, you will create a mechanism to notify the user when inclement weather occurs. For example, whenever the weather indicates storm/snow/rain, an Event should be triggered. This event is then handled by a service called a Subscription. For this tutorial, while updating weather information inside the service UpdateWeatherInfo,we need to fire an Event: BadWeather when the weather description indicates either storm/snow/rain. This Event is handled by a Subscription: HandleWeather, which is a service that gets called whenever the BadWeather Event is fired. The subscription service HandleWeather updates a property called AlertNotification. Create Event In this part of the lesson, we will create an Event: BadWeather that updates weather information inside the service Upd
Hi Team, Where can i find this AutoComplete Widget extension. Regards,Saran
SelectedRowsChangedCallback is broken in 9.3.4. already opened a case with support.
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.