Many applications need an autonomous surveillance which returns correspondent warnings if a value is not in the specified range. As there may be thousands of values, only relevant deviations should be shown, so warnings are best practice. This is performed in the following example.
-1 = Freeze, 0 = Normal, 1 = Overheat
This example performs automatic checks every e.g. 3 seconds. The raw values (which are TDM files) are located in a folder called "\Data". Those TDM files are continously written to by external laboratory appertures (which could be hundreds of machines). The script automatically loads all TDM files from the folder into the data portal, checks its channel values and returns warnings if applicable. The current time is also displayed for verification.
DIAdem Base 2012 SP2 (or compatible)
1. Download and unzip Surveillance Warnings - DIA2012SP2.zip
2. Run Dialog Caller.VBS
3. Let the warnings wash over you
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.