Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Document Type: Tutorial
NI Supported: Yes
Publish Date: Jun 30, 2008


Feedback


Yes No

Related Categories

Related Links - Developer Zone

Related Links - Products and Services

DIAdem - Automating Your Analysis and Reports

1 ratings | 1.00 out of 5
Read in | Print

Automating repetitive reporting and analysis tasks saves you valuable time and places your focus on the results, not the process of creating them.

Automate Your Tasks with VBScript

Automating tasks saves time and money, so you can focus on analyzing results rather than manually creating them. DIAdem SCRIPT uses a built-in VBScript host so you can create everything from a simple sequence of analysis functions to very complex interactive reporting solutions. You can create a script in DIAdem in two ways - by using the macro recording function or by writing code in VBScript. The macro recorder captures the steps you interactively perform in DIAdem in a script you save for later use. Use DIAdem to automate the analysis of data sets that require the same processing from run to run. For those analysis tasks that require some level of decision making as part of processing the data, VBScript offers normal programming constructs, such as loops and case statements, that you expect in a scripting language. DIAdem SCRIPT combines the power of DIAdem for managing, analyzing, and reporting test data with the flexible, easy- to-learn Windows scripting language.

Key Automation Features


  • Use the macro recorder to create sequential analysis and reporting scripts
  • Modify and expend your recorded scripts using the built-in script editor
  • Take advantage of the powerful, easy-to-learn VBScript language and all of its standard programming constructs and interface support such as ADO and ActiveX
  • Implement complete DIAdem functionality through scripts, including retrieving and storing data, performing analysis functions, configuring VIEW and REPORT layouts, and printing reports
  • Exchange data using comprehensive DIAdem functions for SQL/ODBC, ASAM-ODS, and other protocols
  • Communicate with other programs such as NI LabVIEW, MATLAB, IDL, and Mathematica
  • Create your own user functions and register them in DIAdem as standard functions
  • Use built-in debugging tools to develop and test your customized DIAdem solutions

Creating custom user dialogs allows your to extend DIAdem to meet your specific needs.

DIAdem Customized User Interfaces

DIAdem scriptable user dialogs deliver an easy way to create user interfaces for your analysis process. With the VBScript-based user dialogs, you can create interfaces that consist of the common controls you would expect in a dialog editor such as buttons, check boxes, list boxes, tables, radio buttons, and ActiveX controls. With DIAdem user dialogs, you also can create your own custom interfaces and use them as part of your analysis or report generation solution. You can create custom math functions or a custom interface that guides users through a complex set of reporting steps.

Scriptable Dialog Features


  • Design customer interfaces with common dialog controls such as buttons, list boxes, tables, and check boxes
  • Use common events, such as button click and event initialize
  • Include ActiveX controls on your dialogs to extend the functionality

Additional Resources



Assistance and Contact

 

 

1 ratings | 1.00 out of 5
Read in | Print

Reader Comments | Submit a comment »

 

Legal
This tutorial (this "tutorial") was developed by National Instruments ("NI"). Although technical support of this tutorial may be made available by National Instruments, the content in this tutorial may not be completely tested and verified, and NI does not guarantee its quality in any way or that NI will continue to support this content with each new revision of related products and drivers. THIS TUTORIAL IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND AND SUBJECT TO CERTAIN RESTRICTIONS AS MORE SPECIFICALLY SET FORTH IN NI.COM'S TERMS OF USE (http://ni.com/legal/termsofuse/unitedstates/us/).