Engine Simulator Data Storage Part 2
- Step 5: Import Extension
- Step 6: Create File Repository
- Step 7: Create .csv Export Service
- Step 8: Export the Engine Data
- Step 9: Next Steps
var sFile = "vibrationCSVfile.csv";
var paramsCSV = {
path: sFile,
data: me.infoTableProperty,
fileRepository: "ESDS_File_Repository",
withHeader: true
};
Resources["CSVParserFunctions"].WriteCSVFile(paramsCSV);
7. Click Save and Continue.
- Note that you should NOT click the top Save button, as that will erase your Service.

Step 8: Export the Engine Data
We now have all the tools in place to export the infoTableProperty as a .csv file to our new File Repository.
All that’s left is to call the appropriate functions.
1. Ensure that you’re still on the Services tab of EdgeThing, and have the exportCSVservice open.

2. At the bottom, click Execute.

3. Return to ESDS_File_Repository.

4. Click Services.

5. Scroll down and find the GetFileListingsWithLinks Service.

6. Click the “Play” icon for Execute service.

7. At the bottom-right, click Execute.

8. On the right, click Thingworx/FileRepositories/ESDS_File_Repository/vibrationCSVfile.csv.

9. The .csv export of the vibration data will now be in your local folder to which your browser saves downloads.

Step 9: Next Steps
Congratulations! You've completed the Engine Simulator Data Storage guide, and learned 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-Seperated Values (.csv) file
- Download from a File Repository
The next guide in the Vehicle Predictive Pre-Failure Detection with ThingWorx Platform
learning path is Build an Engine Analytical Model
Learn More
We recommend the following resources to continue your learning experience:
| Capability | Guide |
| Analyze | Build a Predictive Analytics Model |
| Build | Implement Services, Events, and Subscriptions |
Additional Resources
If you have questions, issues, or need additional information, refer to:
| Resource | Link |
| Community | Developer Community Forum |
| Support | Analytics Builder Help Center |

















