Use a Timer to record mass amounts of test data, and then export it as a Comma-Separated Values file.
Having an Edge MicroServer (EMS) Engine Simulator has allowed you to begin work on using ThingWorx Foundation for instrumenting a prototype engine.
However, the end goal is not to inspect the data manually, but to have ThingWorx Analytics perform an automatic notification for any issues.
In this guide, you’ll create a Timer to generate thousands of data points, and then export the dataset as a Comma-Separated Values (.csv) file for future use in building an analytical model of the engine.
YOU'LL LEARN HOW TO
Create a Timer
Subscribe to a Timer to Trigger a Service
Generate Mass Amounts of Test Data
Import the CSV Parser Extension
Create a File Repository
Export the Test Data as a Comma-Separated Values (.csv) file
Download from a File Repository
NOTE: The estimated time to complete all parts of this guide is 30 minutes.
Step 1: Scenario
In this guide, we're finishing up with the MotorCo scenario where an engine can fail catastrophically in a low-grease condition.
In previous guides, you've gathered and exported engine vibration-data from an Edge MicroServer (EMS) and used it to build an engine analytics model. You've even put that analytical model into service to give near-immediate results from current engine-vibration readings.
The goal of this guide is to create a GUI to visualize those predicted "low grease" conditions to facilitate customer warnings.
This is a necessary step, as the end-goal is to automate failure analysis by utilizing ThingWorx Analytics, which builds an analytical model by importing a .csv file with several thousand data points.
Data storage, export, and formatting in this manner can be extremely helpful for the automotive segment in particular. For instance, each car that comes off the factory line could have an EMS constantly sending data from which an analytical model could automatically detect engine trouble.
This could enable your company to offer an engine monitoring subscription service to your customers.
But to enable automatic comparison of engine data to an analytical model, you must first generate and format sample data to build said model, and this guide will show you exactly how to do that.