Example Program Drafts

Showing results for 
Search instead for 
Did you mean: 

Laboratory Surveillance using Warnings with DIAdem Dialog


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-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.


Hardware and Software Requirements

DIAdem Base 2012 SP2 (or compatible)


Steps to Implement or Execute Code

1. Download and unzip Surveillance Warnings - DIA2012SP2.zip

2. Run Dialog Caller.VBS

3. Let the warnings wash over you


Additional Information or References

** The window does not accept any user inputs. Bug fixes from the community are highly appreciated. Also, adding comments in the code may be of advantage. **
Eric H.
Applications Engineering
National Instruments