To download NI software, including the products shown below, visit ni.com/downloads.
This script will show a general flow of atuomating data analysis in DIAdem. The major tasks are:
Those types of calculations are common in automotive applications where you log a set of data from the vehicle and you want to perform some process on DIAdem. One important aspect of that automation is that it won't store any results in Data Portal, keeping it only with the data acquire.
The scripts contains 4 functions that you can easily modify to meet your needs:
As a matter of simplicity, message boxes are displaying the results of each analisys. Feel free to add code to include that information anywhere your application needs.
Description-Separate-2This script is ready to run. Just open DIAdem, go to the SCRIPT tab. Load the "AutomateDataAnalysis.VBS" and then press the Run button (or F5 on your keyboard)
How-Separate-2For the begginer users of DIAdem Scripts in VBS, you can see a simple practical example of how to automate data load and process. Also, you can see how to use functions and subroutines to keep the main code clean, easy to read, and easy to extend or modify.
Additional-Separate-2Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.