Home
Getting Started with DIAdem
Contents
1. Panel bar DIAdem VIEW toolbar Group bar Data Portal Function group DIAdem VIEW workspace Tooltip for the selected function Status bar Figure 1 1 DlAdem User Interface Getting Started with DIAdem 1 2 ni com Chapter 1 Introduction to DIAdem Using the Introduction Screen When you launch DIAdem the DIAdem introduction screen appears The introduction screen shown in Figure 1 2 contains tutorials and examples that you can run to show you how to work with DIAdem The information on DIAdem contains tips for newcomers and advanced users and connects you to further information on the internet NI DlAdem Introduction Screen NI DiAdem 11 0 Start Using DIAdem Resources New to DIAdem DIAdem at a Glance Getting Started Mining Loading and Saving Data DIAdem Basics Viewing and Analyzing Data in Graphs New Features in DIAdem Analyzing Data with Mathematical Functions Managing and Using Units with the Units Catalog Creating Reports Easy to Use Object Oriented Scripting Mapping Data onto 3D Models Automating Analyses and Reports Powerful Curve Fitting Features Additional Web Tour New Display Modes for Reports Data Easier to Find and Access Additional Resources Examples Gallery ExampleFinder DIAdem Help Discussion Forum DataPlugins Downloads and Information Training Courses Start Using DI amp dem 9 Figure 1 2 The DIAdem Introduction Screen Kp Note If DIAdem d
2. NAVIGATOR Ce StatBlockCalc 3 25 2008 3 51 07 PM Input channels BA 1 Precipitation sum mm Lines to be evaluated VIEW ie 2 13 EEREREE yo Result parameters Fi Sum 852 25 o eepe ANALYSIS Cila The calculation has been successfully completed i m IAM e X maa REPORT m ChnAverage 3 25 2008 3 52 43 PM Input channels 1 Tm_min C 1 Trn_max C Si Result channels sai 1 Mean C SCRIPT Mean calculated ra e ChnUnitConvert 3 25 2008 3 55 33 PM Input channels 2 Temperatures C Result channels 2 UnitConverted F aox Data Portal Internal Data x V T_max_Lin FV T_average_Lin 1 T_min_average 23 T_max_average 12 T_average 123 Taiff P2 T_diff_average 12 Tm_max 12 Precipitation sum 5 Years 123 Tj_min_average 123 Tj_max_average 123 Tj_average 12 Annual precipitation Pt Comments f CopyxDate 2 Copy T_max 12 Generated_Channel 3 ff Results E Properties 12 Precipitation_2003 12 Temperatures 3 Temperatures_F em Structure AList F 2 Temperatures _F Temperatures_F Input 2 Temp oF 29 7500000000 66 7225806457 25 Name Description Unit Minimum Maximum Lenath Figure 4 4 Record of the Calculations with Standard Functions Refer to Figure 5 3 in the next chapter to view the curves of the average temperatures and the annual precipitation National In
3. Spec var lt gt Figure 4 5 Calculating Formulas with the Calculator Click Calculate 4 Click Close DIAdem adds the new channel TmMax_Diff to the Results channel group in the Data Portal Getting Started with DIAdem 4 6 ni com Chapter 4 Analyzing Data with Mathematical Functions summary The summary provides an overview of the topics discussed in this chapter It also includes additional information Mathematical Functions Result Channels Default Group Calculator Units DIAdem ANALYSIS offers a variety of standard functions for analyzing your data You assign input channels to standard functions set parameters and execute the calculation Click OK to execute a calculation once and to close the dialog box Click Calculate to execute several calculations with one standard function DIAdem ANALYSIS saves calculation results in new channels This enables you to calculate new data without overwriting the existing channels In most dialog boxes of the standard functions you can select Store result in original channel to overwrite the existing channels DIAdem stores the result channels of a calculation in the default group in the Data Portal Use the shortcut menu to change the default group in order to specify where DIAdem saves calculation results DIAdem displays the group name of the default group in bold type Use the Calculator to specify your own formulas for analyzing data The Calculator
4. 10 11 ai ANALYSIS 13 16 17 19 SCRIPT Getting Started with DIAdem 12 13 14 20 Click Search Drag and drop the Data1 tdm file into the Data Portal Select DIAdem ANALYSIS Click Channel Functions on the group bar Click Average Channel in this function group Select the channels Weather Tm_ min and Weather Tm_max in the Data Portal Drag and drop the selected channels into the Channels to be averaged field in the Average Channels dialog box Click OK Select DIAdem REPORT Click Load Layout Select the layout Report2 tdr and click Open DIAdem automatically refreshes the display to show the data set you have just loaded Select DIAdem SCRIPT 6 2 ni com Chapter 6 21 Click Disable Recording Mode DIAdem displays the recorded script in the script editor as shown in Figure 6 2 DlA dem SCRIPT Temporary workspace NAVIGATOR ANALYSIS LAA set maa REPORT SCRIPT a 44 LP JLP NoName 1 B5 h Teachin 1 B5 rr File Edit Script ie RAB DL IBS 45 BS Settings Window Help B D Option Explicit Forces the explicit declaration of all the variables in a scripta Dim MyFolders Call InitMyFolders Sub InitMyFolders ReDim MyFolders 2 MyFolders 0 C Documents and Settings All Users Documents National Instruments MyFolders 1 C Documents and Settings All Users Documents National Instruments Data
5. E CopyxDate 12 CopyYT_max 3 Generated_Ch m Structure List 7 1 Generated_Channel 01 25 2004 00 00 00 0 19 25 Description 01 26 2004 00 00 00 0 01 27 2004 00 00 00 0 6 f a Minimum Maximum 44ih Sheet 1 h Sheet 2 Lenath Figure 3 3 Editing and Generating Data in Channel Tables To use the layout with all worksheets as a template for similar data sets click Save Layout As ew Getting Started with DIAdem 3 6 ni com summary Layouts Areas Axis Systems Graphics Cursors Flags Chapter 3 Viewing and Evaluating Data The summary provides an overview of the topics discussed in this chapter It also includes additional information A layout can contain several worksheets DIAdem saves layouts separately from the channels You can reuse the layout as a template for data sets with a similar structure Partition worksheets into areas to insert axis systems channel tables videos 3D models text and graphics You can move the separating bars to resize any area in a worksheet Use the Assigned Worksheet Partitions function group to add new worksheets with predefined areas to a layout In axis systems you display data as curves spikes or as stair curves To insert data into an axis system drag and drop channels from the Data Portal into an axis system Use the band cursor and the frame cursor to zoom curve sections You open the legend on the right side of an axis system DIAdem VI
6. Root Clear Dim oMyTextQuery i Set oMyTextQuery Navigator CreateQuery eTextQuery oMyTextQuery Text weather Call Navigator Display CurrDataProvider QueryForn SetCurrQuery oMyTextQuery Call DataFileLoad MyFolders Oj Datal tdm TDM Call Chn verage 1 Tm_min Call PicLoad MyFolders 1 Report2 TDR Call PicUpdate 0 Per Call Navigator Display CurrDataProvider QueryForm Search Search without GUI Dim oMyDataFinder oMyResults set oMyDataFinder Navigator ConnectDataFinder My DataFinder Call oMyDataFinder Search oMyTextQuery set oMyResults oMyDataFinder Results If you need a template for an automatic search use Ctrl A in the search inp DataFilename FileImportFk 1 Tmw_max Mean ChnNoStr E PicFile PicDoubleBuffer Me A PD gt le Structure List Common properties CET m 4 4 gt gt i Logfile A Current Variable Contents A Watch 0 A Watch 1 A Watch 2 Line 28 Column 41 Paste Not write protected Modified Automating Sequences Data Portal Internal Data f Datat Properties amp fp Weather Properties E Date 23 T_max 23 T min 12 Precipitation fs T6 f JV T_min_Lin V T_max_Lin V T_average_Lin 12 T_min_average 12 T_max_average 12 T_average 123 T_diff 123 T_diff_average i Month 123 Tm_min 123 Tm_max 12 Precipitation sum E Years 12 Tj_min_a
7. To open data files in the file browser complete the following steps l D Right click the Data1 tdm file in the search results to open the shortcut menu Select Display in File Browser from the shortcut menu DIAdem switches from the search results to the file browser and displays the Data1 tdm file with the TDM file symbol in the tree structure If the file browser knows the file formats it displays the respective file symbol before the file If the file browser does not know the file formats it displays the file symbol with a question mark Click the plus sign in front of the file symbol to view the channel groups Click the plus sign in front of the Weather channel group to view the channels Click the Precipitation channel DIJAdem lists all the channel groups and channels that are contained in a file in a tree structure Refer to the Properties window below the File Browser for further information about the selected file channel group or channel as shown in Figure 2 4 If you select a channel the channel preview on the right side of the properties window displays the channel data as a curve 2 4 ni com DiAdem NAVIGATOR My DataFinder Chapter 2 Finding Data aax Fie Find View Settings Window Help ED OBamaoconss NAVIGATOR External Data Search In Property Value iO Ci Group Name Weather j a C2 Channel Name Precipitation VIEW fe File lt Enter a property gt lt Enter a va
8. 00 0 01 03 2004 00 00 00 0 01 04 2004 00 00 00 0 01 05 2004 00 00 00 0 01 06 2004 00 00 00 0 01 07 2004 00 00 00 0 01 08 2004 00 00 00 0 01 09 2004 00 00 00 0 01 10 2004 00 00 00 0 01 11 2004 00 00 00 0 01 12 2004 00 00 00 0 01 13 2004 00 00 00 0 01 14 2004 00 00 00 0 01 15 2004 00 00 00 0 01 16 2004 00 00 00 0 01 17 2004 00 00 00 0 01 18 2004 00 00 00 0 01 19 2004 00 00 00 0 01 20 2004 00 00 00 0 01 21 2004 00 00 00 0 01 22 2004 00 00 00 0 01 23 2004 00 00 00 0 01 24 2004 00 00 00 0 Copy T_max 26 60 ea Generated_Channel 27 100 0 571428571428571 1 1 28571428571429 1 71428571428571 2 71428571428571 3 85714285714286 5 28571428571429 7 42857142857143 9 28571428571429 9 28571428571429 1 10 4285714285714 11 11 5714285714286 11 8571426571429 11 4285714285714 11 4265714285714 10 5714285714286 10 8571428571429 10 7142857142857 9 85714285714286 9 57142857142857 9 83333333333333 10 4 10 5 10 1 5 2 2 5 3 3 5 4 4 5 5 5 5 6 5 Data Portal Internal Data 12 T min 12 Precipitation p2 T6 12 Index FV T_min_Lin FV T_max_Lin FV T_average_Lin p2 T_min_average 12 T_max_average 12 T_average F2 T_diff_average E Month 12 Tm_max 12 Precipitations Years 12 Tj_min_average 12 Tj_max_average 12 Tj_average 12 Annual precipit Pt Comments
9. CURVE Seia a aa 3 3 INV ASUS C DIVOS aua a A decid 3 3 Copyvins ULVe SECllONS ona a a E eae hie 3 3 Bditine Data in Channel Tables sscsacssssesacednlestatsessaetantntanteesaeedielebaddavendessaabenebssaemmumesenes 3 5 SATAII 17 1O LAET A EEIE AED N IO S EOT USE ENE IE E E E EE EEE 3 7 Chapter 4 Analyzing Data with Mathematical Functions Using Standard Mathematical Functions ccccccessesseesessseesesseeeceeeeceeeeeeeeeeeeeeeeeeeees 4 1 Channel Values Summation es ieseana n aE S e 4 2 Averan ine CHanne S esseeri re a TER a ea o e erea toa sent es 4 3 Calculating with the Units Catalog sirinireiocen e ene E A EE ERA 4 4 Calculating Formulas with the Calculator cccccccccccccccceccceeeceeeeeeeeeeeeeeeaeeeaaeaeeeeaaaaaas 4 6 SUTA Vee N n a aa 4 7 National Instruments Ireland Resources Limited V Getting Started with DIAdem Contents Chapter 5 Creating Reports EINSA SY SUSI a a Sntle cuuet us devas ter wade bey duaveaseslatiedatiuxs 5 1 EdD AKS SY SECIS asasan eaaa a a i 5 3 Graphics and Lines ke cucrrslavassstsisd a A ab iaictas aerate cetestand 5 4 Using Text and Vanablesas Labels soc Acedsssanas annin shee a a 5 5 Adding and Formatting Channel Properties ssssssseeesseeeeeeeseeseeeeees 5 5 SO a saul oo cout nach Sres Sue lad de rmnes ansaaasiates Legietadentanesuoasteeneseosenceteieecondclansaeueeats 5 7 Chapter 6 Automating Sequences CCA OS OLB lS ae Breer atereinenasmanhecanaehaonumbacea
10. IN CONNECTION WITH SURGICAL IMPLANTS OR AS CRITICAL COMPONENTS IN ANY LIFE SUPPORT SYSTEMS WHOSE FAILURE TO PERFORM CAN REASONABLY BE EXPECTED TO CAUSE SIGNIFICANT INJURY TO A HUMAN 2 INANY APPLICATION INCLUDING THE ABOVE RELIABILITY OF OPERATION OF THE SOFTWARE PRODUCTS CAN BE IMPAIRED BY ADVERSE FACTORS INCLUDING BUT NOT LIMITED TO FLUCTUATIONS IN ELECTRICAL POWER SUPPLY COMPUTER HARDWARE MALFUNCTIONS COMPUTER OPERATING SYSTEM SOFTWARE FITNESS FITNESS OF COMPILERS AND DEVELOPMENT SOFTWARE USED TO DEVELOP AN APPLICATION INSTALLATION ERRORS SOFTWARE AND HARDWARE COMPATIBILITY PROBLEMS MALFUNCTIONS OR FAILURES OF ELECTRONIC MONITORING OR CONTROL DEVICES TRANSIENT FAILURES OF ELECTRONIC SYSTEMS HARDWARE AND OR SOFTWARE UNANTICIPATED USES OR MISUSES OR ERRORS ON THE PART OF THE USER OR APPLICATIONS DESIGNER ADVERSE FACTORS SUCH AS THESE ARE HEREAFTER COLLECTIVELY TERMED SYSTEM FAILURES ANY APPLICATION WHERE A SYSTEM FAILURE WOULD CREATE A RISK OF HARM TO PROPERTY OR PERSONS INCLUDING THE RISK OF BODILY INJURY AND DEATH SHOULD NOT BE RELIANT SOLELY UPON ONE FORM OF ELECTRONIC SYSTEM DUE TO THE RISK OF SYSTEM FAILURE TO AVOID DAMAGE INJURY OR DEATH THE USER OR APPLICATION DESIGNER MUST TAKE REASONABLY PRUDENT STEPS TO PROTECT AGAINST SYSTEM FAILURES INCLUDING BUT NOT LIMITED TO BACK UP OR SHUT DOWN MECHANISMS BECAUSE EACH END USER SYSTEM IS CUSTOMIZED AND DIFFERS FROM NATIONAL INSTRUMENTS TESTING PLATFORMS AND BECAUSE A USER
11. NAVIGATOR panel and displays in the Search Results all the data files that contain the term Weather 2 Click the file symbol in front of the Data4 tdm file to select the file Drag and drop the selected file into the Data Portal National Instruments Ireland Resources Limited 6 5 Getting Started with DIAdem Chapter 6 Automating Sequences i 4 Click End Interaction on the toolbar The script opens the REPORT panel DIAdem refreshes the date displayed in the header and hides the Data Portal as shown in Figure 6 4 eax Edit View Insert Settings Window Help Cy HA PR Eloly gt Xl AlE S3 m u a sw EY E r v C FBE A A a 05 e 6 03 9 03 12 03 3 04 Figure 6 4 Report Created with the Script 5 Press a key to redisplay the Data Portal and to end the script 2 Select DIAdem SCRIPT and click Save File As to save the script Getting Started with DIAdem 6 6 ni com Chapter6 Automating Sequences summary The summary provides an overview of the topics discussed in this chapter It also includes additional information Scripts Scripts allow you to execute a series of commands for finding data loading data analyzing data and creating reports You can use VBS syntax and DIAdem commands in scripts You can integrate the standard dialog boxes in scripts or you can create your own dialog boxes Recording Scripts In the recording mode DIAdem records the command for every action that you execute in
12. Right click Results Sum in the Data Portal and select Rename 10 Enter Precipitation_2003 as the channel name and press lt Enter gt Averaging Channels To calculate the average monthly temperatures complete the following Steps 1 Click Channel Functions on the group bar 2 Click Average Channel in this function group 3 Select Weather Tm_min in the Data Portal 4 Press lt Ctrl gt and also select Weather Tm_max 5 Drag and drop the selected channels into the Channels to be averaged field in the Average Channels dialog box DIAdem displays the dialog box as shown in Figure 4 2 Average Channels Work channels aveste Dimma mm E Figure 4 2 Averaging Minimum and Maximum Temperatures 6 Click OK 7 Right click Results Mean in the Data Portal and select Rename 8 Enter Temperatures as the channel name and press lt Enter gt National Instruments Ireland Resources Limited 4 3 Getting Started with DIAdem Chapter 4 Analyzing Data with Mathematical Functions Calculating with the Units Catalog The DIAdem units catalog organizes physical quantities and the associated units Use the units catalog to convert channels into other units To convert the calculated average monthly temperature from degrees Celsius to degrees Fahrenheit complete the following steps 1 Click Channel Functions on the group bar 2 Click Convert Channel Unit in this function group Select Results Temperatures in th
13. current version Click More New Features to view all new features changes and extensions National Instruments Ireland Resources Limited 1 5 Getting Started with DIAdem Chapter 1 Introduction to DIAdem Additional Resources Getting Started with DIAdem Refer to this heading in the introduction screen for the DIAdem Help and internet links to further information The DIAdem Help familiarizes you with DIAdem and shows you how to use functions and to automate sequences The DIAdem Help offers procedures and dialog box help for each panel as well as a programming reference for creating scripts Click Training Courses to find out about the contents and the dates of upcoming DIAdem training courses Select DataPlugins Downloads and Information to open the portal with the file filters available for DIAdem and to download DataPlugins Visit the Discussion Forum to read the questions and answers listed or to direct your own questions to other DIAdem users 1 6 ni com Finding Data DIAdem NAVIGATOR finds loads and saves your data DIAdem works with data from files and databases To find files you can run a quick search with separate terms or you can combine search conditions DIAdem displays the data found in the search results The file browser offers a tree view of the data that is available If the data format allows browsing you can browse to channel level in the folders and the files Mining Data Use the Quick Se
14. groups contain channels and descriptive properties of the channel groups Use channel groups to organize data You can define a channel group as a default group for example to automatically group all the calculation results in DIAdem ANALYSIS DIAdem displays the group name of the default group in bold Channels contain data series that you measured during a test loaded from an external data set or calculated with DIAdem DIAdem distinguishes numeric channels waveform channels time channels and text channels Numeric channels contain data series waveform channels contain data series and the associated x channel as a generation instruction time channels contain time data series and text channels contain text Properties are information about the data which DIAdem saves with the data series in a TDM file The data set properties contain the name of the author and the storage date the channel group properties contain the name of the measurement and comments and the channel properties contain the data type and the channel unit In addition to the standard properties you can create your own custom properties for the data set the channel group and the channel DIAdem displays the properties in the properties window of the file browser and of the Data Portal The channel unit is a special channel property because you can organize the channel units in the units catalog Use the units catalog to assign a physical quantity and a unit to measu
15. load the channels Month and Precipitation sum into a channel table The Month channel contains the time values for the monthly precipitation totals 6 Click All Off to clear all the checkboxes of the characteristic values 7 Select Characteristic values Sums Measured values DIAdem shows the Descriptive Statistics dialog box as shown in Figure 4 1 Desc riptive Statistics Object to be evaluated K Channel oriented evaluation O Row oriented evaluation Channels 18 1 Precipitation sum m Calculate Rows 2 13 Characteristic values Sums Dispersion M Measured values Range C Measured value squares C Quartile distance Extreme values _ Standard deviation sie Standard error C Minimum O All OFF C Maximum variance Mean values C variation coefficient AET C Relative variation coeff Root mean square Average absolute deviation C Geometric mean C From mean C Harmonic mean C Erom median Quantiles C 0 25 quantile lower quartile Form C o 5 quantile median Skewness C 0 75 quantile upper quartile C Kurtosis elp Figure 4 1 Precipitation Summation in Sections Getting Started with DIAdem 4 2 ni com 8 Chapter 4 Analyzing Data with Mathematical Functions Click OK to calculate the sum and to close the dialog box Kp Note If you want to execute further calculations with this standard function click Calculate The dialog box remains open for further entries 9
16. mechanical including photocopying recording storing in an information retrieval system or translating in whole or in part without the prior written consent of National Instruments Corporation The DataFinder component in this product includes CLucene software which use is governed by the Apache License Version 2 0 This software includes Stingray software developed by the Rogue Wave Software division of Quovadx Inc Copyright 1995 2006 Quovadx Inc All rights reserved The following notices relate to certain components used in USI Xerces C ICU HDF5 Citadel 5 b64 library and Stingray For a listing of conditions and disclaimers regarding these components refer to the USICopyrights chm Xerces C This product includes software developed by the Apache Software Foundation http www apache org Copyright 1999 The Apache Software Foundation All rights reserved ICU Copyright 1995 2003 International Business Machines Corporation and others All rights reserved HDF5 NCSA HDF5 Hierarchical Data Format 5 Software Library and Utilities Copyright 1998 1999 2000 2001 2003 by the Board of Trustees of the University of Illinois All rights reserved Citadel 5 In regards to components that use Citadel 5 the following copyright applies Copyright 1994 Hewlett Packard Company b64 library Copyright c 2004 2006 Matthew Wilson and Synesis Software All Rights Reserved Stingray This software includes Stingray softw
17. mode you can stop your script to work interactively with DIAdem You enable the interaction mode in scripts with the InterActionOn command To end the interaction mode click the End Interaction button which is on the toolbar in all panels User Commands To add commands to DIAdem you can define user commands in a script You use these user commands for example in Calculator formulas for axis system formats in DIAdem REPORT and as new commands in DIAdem SCRIPT User Dialog Boxes Create user dialog boxes in the dialog editor in DIAdem SCRIPT to enter values to request settings or to start functions Use events to connect elements from user dialog boxes and specify how the script proceeds in relation to the previously specified settings Getting Started with DIAdem 6 8 ni com Technical Support and Professional Services Visit the following sections of the award winning National Instruments Web site at ni com for technical support and professional services e Support Technical support resources at ni com support include the following Self Help Technical Resources For answers and solutions visit ni com support for software drivers and updates a searchable KnowledgeBase product manuals step by step troubleshooting wizards thousands of example programs tutorials application notes instrument drivers and so on Registered users also receive access to the NI Discussion Forums at ni com forums NI Application
18. precisely DIAdem lists the files found in the search areas on the Search Results tab DataFinder Server Edition The DataFinder Server Edition enables up to 25 DIAdem users to access common search areas simultaneously You also can enable security settings and use archiving systems Search Areas Search areas are folders of the file system which the DataFinder browses Select Settings My DataFinder Configure to modify the search areas of the DataFinder File Browser Use the shortcut menu of the Search Results to open the found data files in a tree structure in the File Browser Right click the empty space to open the shortcut menu and hide or show the folders of the local file system in a separate tree Internal Data in the Data Portal DIAdem manages internal data in the Data Portal which is visible in all panels In the DIAdem panels you work with the channels of the internal data and their descriptive information DIAdem saves result data in the Data Portal You can display and edit the channel contents in DIAdem VIEW Tip You do not need the lt Shift gt or lt Ctrl gt keys to select several channels in the Data Portal just click the symbols next to the channel names DIAdem displays a cursor with a plus sign National Instruments Ireland Resources Limited 2 Getting Started with DIAdem Chapter 2 Finding Data Channel Groups Channels Properties Units Catalog Getting Started with DIAdem Channel
19. similar data sets ma click Save Layout As Getting Started with DIAdem 5 6 ni com summary Layouts Worksheets Master Layout Chart Wizard Axis Systems Tables Chapter 5 Creating Reports The summary provides an overview of the topics discussed in this chapter It also includes additional information A layout can contain several worksheets DIAdem saves layouts separately from the channels You can reuse layouts as templates for data sets with a similar structure Worksheets contain axis systems text tables and graphics To add data to the worksheet drag and drop channels from the Data Portal into axis systems and tables In addition to selecting data channels from the Data Portal you also can add data channels by double clicking an axis system or a table Select Settings Layout Setup Worksheet Parameters for example to change the page format of the worksheet from horizontal to vertical Use a master layout to create a uniform appearance for reports The master layout remains unchanged in the background of all worksheets and consists of a landscape master and a portrait master To create a master layout select File Master Layout New You can use the Chart Wizard to create and to modify 2D axis systems and polar axis systems The preview function displays each changed setting in the worksheet Use axis systems to display channels as curves bars and surfaces You double click an axis system to edit the
20. DiAdem Getting Started with DiAdem May 2008 e NATIONAL 373422F 01 y INSTRUMENTS Worldwide Technical Support and Product Information ni com National Instruments Corporate Headquarters 11500 North Mopac Expressway Austin Texas 78759 3504 USA Tel 512 683 0100 Worldwide Offices Australia 1800 300 800 Austria 43 662 457990 0 Belgium 32 0 2 757 0020 Brazil 55 11 3262 3599 Canada 800 433 3488 China 86 21 5050 9800 Czech Republic 420 224 235 774 Denmark 45 45 76 26 00 Finland 358 0 9 725 72511 France 01 57 66 24 24 Germany 49 89 7413130 India 91 80 41190000 Israel 972 3 6393737 Italy 39 02 41309277 Japan 0120 527196 Korea 82 02 3451 3400 Lebanon 961 0 1 33 28 28 Malaysia 1800 887710 Mexico 01 800 010 0793 Netherlands 31 0 348 433 466 New Zealand 0800 553 322 Norway 47 0 66 90 76 60 Poland 48 22 3390150 Portugal 351 210 311 210 Russia 7 495 783 6851 Singapore 1800 226 5886 Slovenia 386 3 425 42 00 South Africa 27 0 11 805 8197 Spain 34 91 640 0085 Sweden 46 0 8 587 895 00 Switzerland 41 56 2005151 Taiwan 886 02 2377 2222 Thailand 662 278 6777 Turkey 90 212 279 3031 United Kingdom 44 0 1635 523545 For further support information refer to the Technical Support and Professional Services appendix To comment on National Instruments documentation refer to the National Instruments Web site at ni com info and enter the info code feedback 2003 2008 National Instruments Ireland Resources Limi
21. EW offers various graphics cursors for evaluating curves in axis systems The curve cursor moves from curve point to curve point and other graphics cursors determine the minimum values and the maximum values of a curve If an axis system contains several curves the graphics cursor follows the leading curve that you specify with the checkboxes in the legend DIAdem synchronizes all the cursors of a worksheet with each other and with videos and 3D models Use the band cursor and the frame cursor to select curve sections with flags to delete to copy or to recalculate the selected curve points National Instruments Ireland Resources Limited 3 7 Getting Started with DIAdem Chapter 3 Viewing and Evaluating Data Channel Tables Videos 3D Models Textboxes Graphics Getting Started with DIAdem In channel tables you view the individual values of the channels edit the values of all channel types and add new values or channels In the display properties of a channel table you can specify whether a channel table only displays the channels that were dragged and dropped into the table or whether the channel table automatically displays all channels of a group or of the Data Portal In the video area you show videos If you display the associated measured values as curves in an axis system you can move a graphics cursor along the curves to display the frame associated with each measurement value Double click an empty video area to inse
22. OR APPLICATION DESIGNER MAY USE NATIONAL INSTRUMENTS PRODUCTS IN COMBINATION WITH OTHER PRODUCTS IN A MANNER NOT EVALUATED OR CONTEMPLATED BY NATIONAL INSTRUMENTS THE USER OR APPLICATION DESIGNER IS ULTIMATELY RESPONSIBLE FOR VERIFYING AND VALIDATING THE SUITABILITY OF NATIONAL INSTRUMENTS PRODUCTS WHENEVER NATIONAL INSTRUMENTS PRODUCTS ARE INCORPORATED IN A SYSTEM OR APPLICATION INCLUDING WITHOUT LIMITATION THE APPROPRIATE DESIGN PROCESS AND SAFETY LEVEL OF SUCH SYSTEM OR APPLICATION Contents About This Manual EOIN VC GO 0s seater nateed ian cited cesta ccna cecal ded cee A deste Vil Related Docume MEAG OM vcs esiic doa tes vtesiead a oon a a Lencic weevil vice edelsewoustys Vill Chapter 1 Introduction to DiAdem Using the Introd cti n Screen issih satsvtesedissnebaatdcalsinndawaudaiedenclsaataichtteutidaasuccesideobtielcctderss 1 3 Pini ie Example Sienaan a a a E cata 1 4 SUE D AAE E I E E S E E T T 1 5 Chapter 2 Finding Data Mime Da orsa n a a a 2 1 Rimming a Quick Searc a a Gmideecuand 2 1 Running an Advanced Search cccccccccssseseseccsscseesessesesseseesseeseeeseeesseeseeeeees 2 2 BLOwsine Am DataSets xicstetus cola ietici ler a ani enlace a nenkaledeuindss 2 4 oadine and Manas ime Daans anA EAR 2 5 savne Dala pe N 2 6 A a a E E E E 2 7 Chapter 3 Viewing and Evaluating Data WIS WAS CUVE S aiaa a cel Shit de dio tw anal a Ga alentcsiml ae rnees ideal 3 1 ZOOMING C UNE SECU ONS iiaa a E D 3 2 Edine
23. alues PLE lt Enter a value gt File lt Enter a property gt Generated_Channel A time l Index d Month peg C1 AND C2 Precipitation E Sys Precipitation sum LI Torque 7 Search Results File Path Precipitation_annual_average data x Precipitation_Month ropertiss t weather _Info TDM C Program Files National Instruments DIAde precipit ation_month_average Pp te WEATHER TDM C Documents and Settings All Users Docume Precipitations Sum oise_1 E WEATHER TDM C Program Files National Instruments DIAde RealTemperatureDiff mi oise_2 fe Datat tdm C Documents and Settings All Users Docume Search in list ed E Data2 tdm C Documents and Settings All Users Docume i pari ts E Data3 tdm C Documents and Settings All Users Docum ae operes E Data4 tdm C Documents and Settings All Users Documents National Instruments DIAde SS EXAMPLE EXAMPLE DIAdem standard ex 1 File Browser Description Search Results j Channel Preview Select a Channel from the File Browser or the Search Results Figure 2 2 Selection List with the Channel Names of the Indexed Data 2 2 ni com Chapter 2 Finding Data 2 Click File in the Search In column and select Group a Click lt Enter a property gt in the Property column of the same row and select Name b Click the button with the three dots at the end of the same row DIAdem lists the names of all the groups foun
24. arch to search for a term if you do not know whether the property belongs to a file a group or a channel Use the Advanced Search to combine several search conditions and to specify which properties you are searching for Running a Quick Search To find data with a Quick Search complete the following steps 1 Select DIAdem NAVIGATOR ES The file browser in the NAVIGATOR panel offers external data in a tree structure 2 Enter Weather in the input area to find all the data sets that contain the term Weather 3 Click Search In the quick search DIAdem does not distinguish whether the data set contains the term as the name or the property of a file of a channel group or of a channel DIAdem displays all files that contain the term Weather or compound terms such as Weatherdata as Search Results as shown in Figure 2 1 National Instruments Ireland Resources Limited 2 1 Getting Started with DIAdem Chapter 2 Finding Data DiAdem NAVIGATOR My DataFinder File fs OSATEN Git NAVIGATOR Ce ANALYSIS Bun ila REPORT SCRIPT Find View Settings Window Help Data Portal Internal Data f EXAMPLE E Properties Sffr EXAMPLE Properties 12 Time 12 Speed 12 Revs 12 Torque S fp Noise data Properties V Noise_1 FV Noise_2 FV Noise_3 v Structure list EXAMPLE EXAMPLE DIAdem standard ex 1 External Data 7SearchResuts Search Results gt File Path tE weather _Inf
25. are developed by the Rogue Wave Software division of Quovadx Inc Copyright 1995 2006 Quovadx Inc All Rights Reserved National Instruments respects the intellectual property of others and we ask our users to do the same NI software is protected by copyright and other intellectual property laws Where NI software may be used to reproduce software or other materials belonging to others you may use NI software only to reproduce materials that you may reproduce in accordance with the terms of any applicable license or other legal restriction Trademarks National Instruments NI ni com LabVIEW and DIAdem are trademarks of National Instruments Corporation Refer to the Terms of Use section on ni com legal for more information about National Instruments trademarks Other product and company names mentioned herein are trademarks or trade names of their respective companies Members of the National Instruments Alliance Partner Program are business entities independent from National Instruments and have no agency partnership or joint venture relationship with National Instruments Patents For patents covering National Instruments products refer to the appropriate location Help Patents in your software the patents txt file on your media or ni com patents WARNING REGARDING USE OF NATIONAL INSTRUMENTS PRODUCTS 1 NATIONAL INSTRUMENTS PRODUCTS ARE NOT DESIGNED WITH COMPONENTS AND TESTING FOR A LEVEL OF RELIABILITY SUITABLE FOR USE IN OR
26. ble of contents 6 Click Continue with DIAdem Start Using DIAdem summary The summary provides an overview of the topics discussed in this chapter It also includes additional information Tutorials Use the tutorials in the introduction screen to learn how to use DIAdem Select Help Tutorials Visible to specify whether DIAdem displays the Tutorials function group with the tutorials that complement the respective panel in the group bar Refer to the DIAdem internet site ni com diadem for further videos Examples Use the Example Gallery or the ExampleFinder to automatically load and execute examples for data analysis for report generation and for script creation and to use these examples as templates for your own applications The table of contents for the examples also contains procedures that provide step by step instructions for the solution of certain tasks Reproduce the steps of a procedure to learn how to use the described function New to DiAdem Refer to the items under this heading to open the DIAdem manuals in the introduction screen Select New to DIAdem Getting Started to open the Getting Started manual on the screen Select DIAdem Basics to open the user manual The user manual contains a short introduction on how to operate DIAdem and a description of the individual panels Upgrading DiAdem Refer to the items under this heading in the introduction screen for descriptions of the most important functions of the
27. box on the right side of the axis system to specify a different curve as the leading curve DIAdem displays the coordinates of the new leading curve in the tooltip Copying Curve Sections To select a curve section and to copy the data of the curve section into the Data Portal complete the following steps Ae 1 Click Band Cursor on the toolbar 2 Click the axis system and drag open the cursor range Move the cursor lines to specify the width of the band cursor Click between the two lines to move the band cursor along the curves 4 Move the band cursor to the period of time from 12 03 to 3 04 National Instruments Ireland Resources Limited 3 3 Getting Started with DIAdem Chapter 3 Viewing and Evaluating Data 5 Click Set Flags on the axis system toolbar to mark the points of the H bw leading curve in the selected section Kp Note If you press lt Shift gt at the same time DIAdem marks the points of all curves in this section m A 6 Click Flags Copy Data Points on the axis system toolbar to copy the ir data of the marked curve points to new channels In the Data Portal DIAdem creates a time channel and a numeric channel with the values of the copied curve section and selects these channels 7 Drag and drop the selected curves into the bottom workspace Select 2D Axis System DIAdem displays the copied curve section as shown in Figure 3 2 9 DlAdem VIEW NONAME TDV BAX 20x Fie view Insert S
28. channels Weather Month Weather Precipitation sum and Results Temperatures Right click the selected channels and select Chart Wizard from the shortcut menu DIAdem opens the Chart Wizard and creates a new worksheet with an axis system In the axis system DIAdem displays the channels that are selected in the Data Portal as curves as shown in Figure 5 1 DIAdem assigns the first selected channel to the x axis In Step 1 you select the diagram type In Step 2 you add or delete curves In Step 3 you specify the diagram display on several tabs The preview as shown in Figure 5 1 directly displays how the diagram changes National Instruments Ireland Resources Limited 5 1 Getting Started with DIAdem Chapter 5 Creating Reports 5 Click the diagram type Lines with Several Y Axes File Edit View Insert Settings Window Help Cae bd a E ce CS fa IF 3 m ds oe 2 Hmi Bre A AZ Data Portal Internal Data x 1 T_max_average a 13 T_average 122 T_diff 123 T_diff_average E Month 123 Tm_min 123 Tm_max p2 Precipitation sum Years 12 Tj_min_average 1 Tj_max_average 123 Tj_average 12 Annual precipitation Chart Wizard Step 1 of 3 Diagram type pox Line A hox Spline bula Spikes aX Subtype Mhn Outlined bars WA Pee wg INT t T i A 1202 B 3 120 Horizontal Pan E oe Polar y LENZ Select a typ
29. ctions in several function groups in DIAdem ANALYSIS The results of the calculations are displayed in new channels in the Data Portal Kp Note If you have not completed the exercise from the previous chapter load the data set Data2 tdm located in the DIAdem Data folder This folder is located in the DIAdem NAVIGATOR file browser in the search area National Instruments To create a new group for the calculation results complete the following Steps 1 Select DIAdem ANALYSIS a 2 Right click in the Data Portal and select New Group from the shortcut menu Enter Results as the Name Enable the checkbox Set default group 4 Click OK DIAdem displays the name of the default group in bold type in the Data Portal National Instruments Ireland Resources Limited 4 1 Getting Started with DIAdem Chapter 4 Analyzing Data with Mathematical Functions Channel Values Summation To total the precipitation for the year 2003 complete the following steps a 1 Click Statistics on the group bar x x y 2 Click Descriptive Statistics in this function group g 3 Select Weather Precipitation sum in the Data Portal This notation means the Precipitation sum channel is in the weather channel group 4 Drag and drop the selected channel to the Channels entry field in the Object to be evaluated area in the dialog box 5 Enter 2 13 as the Rows E Tip To check which rows the precipitation for 2003 is in switch to DIAdem VIEW and
30. d as shown in Figure 2 2 c Double click the group name Weather iy Note If the list does not contain the term Weather DIAdem was not able to index all example files Select Settings My DataFinder Configure Indexer Start Now to start indexing Define another search condition in the second row to specify the search more accurately 3 Click File in the second row of the Search In column and select Channel a Click lt Enter a property gt in the Property column of the second row and select Name b Click the button with the three dots at the end of the second row DIAdem lists the names of all the channels found c Double click the channel name Precipitation As you can see in the logical operations line under the search conditions DIAdem connects several search conditions with the AND operator by default 4 Replace AND with oR in the logical operations line to create the following operation Cl OR Cz 5 Click Search Files DIAdem displays the Search Results as shown in Figure 2 3 Each of the listed files contains a group with the name Weather or a channel with the name Precipitation National Instruments Ireland Resources Limited 2 3 Getting Started with DIAdem Chapter 2 Finding Data DlAdem NAVIGATOR My DataFinder SAX Fie Find View Settings Window Help o0 En O8amacoo nse NAVIGATOR Ce External Data Data Portal Internal Data x SearchIn Property Value Search Files g
31. de Offices section of ni com niglobal to access the branch office Web sites which provide up to date contact information support phone numbers email addresses and current events Getting Started with DiAdem A 2 ni com
32. displayed curves to add new curves and to delete existing curves Use tables to list channel contents You double click a table to edit the displayed columns to add new columns and to delete existing columns National Instruments Ireland Resources Limited 5 7 Getting Started with DIAdem Chapter 5 Creating Reports Text Decorations Graphics Format Bar Getting Started with DIAdem Use text to label worksheets Text also can include variable information such as filenames or the current date For DIAdem the characters indicate a variable expression Click Refresh on the DIAdem REPORT toolbar to display the current variable contents Use comments lines arrows rectangles and circles in a worksheet to highlight certain areas or curve points Use graphics and logos to illustrate worksheets DIAdem supports a number of different graphic formats including PNG BMP JPG TIF and WMF Use the format bar below the toolbar to format report objects The format bar always displays the properties that all selected objects have in common for example line width line style and line color for selected curves 5 8 ni com Automating Sequences With DIAdem SCRIPT you can create scripts to automate sequences in DIAdem The recording mode lists all the actions that you complete interactively in DIAdem in a script You can add program structures and dialog boxes to recorded scripts in the integrated script editor Crea
33. e Data Portal 4 Drag and drop the selected channel to the Channels entry field in the Channel to be calculated area in the dialog box Select in the Unit area the Unit set lt All units gt 6 Select under To the setting F degree Fahrenheit as shown in Figure 4 3 Convert Channel Unit Channel to be calculated Channel 29 2 Temperatures v ore Unit Calculate From C degree Celsius To F degree Fahrenheit v Quantity Temperatur Unit set lt All units gt Result channel C Store result in original channel Figure 4 3 Converting Channel Units with the Units Catalog 7 Click OK 8 Right click Results UnitConverted in the Data Portal and select Rename Getting Started with DIAdem 4 4 ni com Chapter 4 Analyzing Data with Mathematical Functions 9 Enter Temperatures_F as the channel name and press lt Enter gt Kp Note You also can convert channel data to a different unit in the Data Portal To do so click the unit entry field in the properties window and click the button with the three dots to open the Symbol Input Help dialog box DIAdem ANALYSIS displays a record of the calculations as shown in Figure 4 4 and the Data Portal contains the calculation results in new channels DiAdem ANALYSIS oles File Basic Math Curves SignalAnalysis Statistics 3D SpecialMath MathScript Settings Window Help ee aaa
34. e to specify the appearance of your diagram Preview a ey Figure 5 1 The Chart Wizard Displays the Preview in the Worksheet 6 Click Next twice to open Step 3 of 3 7 Select the X Axis tab Enable Manual from for the value range and enter 01 01 2003 as the start and 12 31 2003 as the end 9 Click Finish to create the axis system In the axis system DIAdem displays the monthly precipitation and the monthly average temperatures over the date Ke Tip You can open the Chart Wizard at several points in DIAdem If you want to display curves with various x channels open the Chart Wizard on the toolbar If you want to integrate axis systems into the current worksheet open the Chart Wizard from the 2D Axis Systems function group or the Polar Axis Systems function group If you want to edit an axis system open the Chart Wizard from the shortcut menu of the axis system Getting Started with DIAdem 5 2 ni com Chapter 5 Creating Reports Editing Axis Systems You can move and resize axis systems or parts of an axis system To make it easier for you to see which objects you can select DIAdem displays an object in a blue frame as soon as the mouse cursor idles on the object Double click the object to open the settings 1 To reduce the width of the axis system move the small square in the middle of the right edge of the selected axis system to the left 2 Double click the axis system to open the curve and axis de
35. ed channel group into the Data Portal The Data Portal displays the Weather channel group with all the channels as shown in Figure 2 5 National Instruments Ireland Resources Limited 2 5 Getting Started with DIAdem Chapter 2 ii Finding Data O DlA dem NAVIGATOR My DataFinder SAX File Find View Settings Window Help Sia En OSAMA KKH NAVIGATOR External Data Data Portal Internal Data x SearchIn Property Value Search Files v FA J Datat i C1 Group Name Weather am E Properties j lt c2 Channel Name i Precipitation Lad Ip Weather VIEW fe File Enter a property gt lt Enter a value gt E Properties Date F El a T_max a h Icror cz l s Tmin 123 Precipitation ANALYSIS E 2D_UserFormat TOM iii 2 T6 i E AnalyseSelChannels_32 2 TDM 12 Index INM n AnalyseSelChannels_32 3 TDM JV T_min_Lin iaa E AnalyseSelChannels_32 4 TDM YY T_max_Lin REPORT J E Datat tdm V T_average_Lin fir Weather 2 T_min_average a Date 123 T_max_average AAE 2 T_max p2 T_average SCRIPT T min 123 T_diff 12 Precipitation 1 T_diff_average 2 T6 Month 12 Index J Tm_min FY T_min_Lin ie Tm_max V T_max_Lin 12 Precipitations WV i re pv T_average_tin Structure list F J T min average faa ii File Browser A Search Results Weather Properties Weather Group Name weather N Weath Channel Preview De
36. eet area National Instruments Ireland Resources Limited 3 1 Getting Started with DIAdem Chapter 3 Viewing and Evaluating Data 8 Select 2D Axis System in the selection dialog box DIAdem displays the axis system as shown in Figure 3 1 DiAdem VIEW NONAME TDV SAX Fie view Insert Settings Window Help Cae En RAD g ALAA a wee Bea Me ID DD DL 4 NAVIGATOR Ce a Data Portal Internal Data x Pep M Yer lke RD eT tl cis fJ Datat A a p EN Properties j E ffp Weather VIEW OO m Ea Properties OO Date at E 123 T_max ta OO 23 T_min 123 Precipitation i 12 Precipitat ANALYSIS Lis F123 7 6 mE 12 Index IAV a 5 V T_min_Lin F YY T_max_Lin fea las E T Li REPORT aah V T_average_Lin 123 T_min_average 123 T_max_average 123 T_average 2 T_diff 12 T_diff_average E Month 123 Tm_min 123 Tm_max 12 Precipitations Years 23 Tj_min_average 123 Tj_max_average a Structure List a cao aT aT Common properties Name Description Unit Minimum Maximum Sheet 1 j Length Figure 3 1 Viewing Temperature Data as Curves 3 Note If you select several channels in the Data Portal and drop the channels onto an axis system DIAdem assigns the first channel you select to the x axis If you select only one channel DIAdem uses the index to display a numeric channel and uses the x part to display a waveform channel Z
37. ettings Window Help En SAEs g A ANA ei ee Be MD DD DD DL 4 NAVIGATOR Ce E SEE my iD z E E ta F ae Data aa Data 123 Tmin Ea 123 Precipitation oo 3 T6 OO 123 Index _ aj YY T_min_Lin 00 JV T_max_Lin i JV T_average_Lin AA 123 T_min_average i 123 T_max_average IAM oe 12 T_average bell lac ys 123 T_diff REPORT 123 7 _diff_average 3 03 6 03 9 03 12 03 3 04 6 04 9 04 SCRIPT f amp Pl L D H ja ae ai 123 Tj_min_average 123 Tj_max_average 123 Tj average 2 Annual precipit Pt Comments E CopyxDate 3 CopyYT_max m Structure AList F Common properties Description 1 05 1 12 1 19 1 26 2 02 2 09 2 16 2 23 2003 Minimum Sheet 1 j Length X1 12 30 2003 08 13 15 3266 X2 02 28 2004 08 24 43 5900 dx 02 00 0000 00 11 28 2634 Figure 3 2 Selecting Curve Sections and Copying them in the Data Portal 9 Click Remove Flags from All Data on the DIAdem VIEW toolbar to we undo the selections Getting Started with DIAdem 3 4 ni com Chapter 3 Viewing and Evaluating Data Editing Data in Channel Tables In channel tables you can edit and delete data and add new data You can enter new data manually or generate data series To edit values in a channel table and to generate new values complete the following steps 1 Click Assigned Worksheet Partitions on the group bar 2 Click Channel Table in this function group E al DIAdem creates a new worksheet
38. ffers powerful tools that you use for the following tasks e Use DIAdem NAVIGATOR to find to load and to manage data Use the DataFinder to search for data on your computer and in the network and to navigate through the found data files and databases You load the data into the Data Portal so that all DIAdem panels can work with the data which is organized in channels e Use DIAdem VIEW to view to analyze and to edit data as curves in axis systems In channel tables you can edit and delete the data and enter new data You synchronize videos with data and project data onto 3D models e Use DIAdem ANALYSIS to analyze data mathematically If you want to use mathematical standard functions you select the input data and the settings Use the Calculator to calculate your own formulas National Instruments Ireland Resources Limited 1 1 Getting Started with DIAdem Chapter 1 Introduction to DIAdem e Use DIAdem REPORT to document data and to present results in a report In 2D and 3D axis systems you display your data as curves as bar diagrams and as surfaces and in 2D and 3D tables you list channel contents Use comments and text to label your report and graphics to illustrate your report e Use DIAdem SCRIPT to automate tasks A script combines several work steps for recurring sequences such as standard calculations and serial evaluations A script can use functions from all DIAdem panels When you select a panel DIAdem changes the
39. finition 3 Click the entry field Type in the first line of the curve Month Precipitation sum Select the Display mode Bars Click OK twice to close the dialog box for the curve parameters and the dialog box for the curve and axis definition DIAdem displays the worksheet as shown in Figure 5 2 O DlAdem REPORT NONAME TDR BAX File Edit View Insert Settings Window Help Cee SAGER SRE oO SAX AFAR we ARRATE BIZE A AA L gt GY GZ LMLMLILA Ly Li A j A YW E Figure 5 2 DIAdem Displays the Precipitation as Bars National Instruments Ireland Resources Limited 5 3 Getting Started with DIAdem Chapter 5 Creating Reports Graphics and Lines ad ae Ib Getting Started with DIAdem Illustrate reports with graphics and company logos Use lines and rectangles to divide the worksheet or to highlight a text field To add a graphic to your worksheet complete the following steps l Click Graphics on the group bar Click Load Graphic in this function group Select weather jpg in the DIAdem Documents folder and click Open Click and drag the graphic to the right edge of the workspace Resize the graphic by dragging the small squares at the corners of the graphic To prepare a text field on the right of the worksheet complete the following steps 1 Click Decorations on the group bar 2 Click Rectangle in this function group A sma
40. formation contained in it EXCEPT AS SPECIFIED HEREIN NATIONAL INSTRUMENTS MAKES NO WARRANTIES EXPRESS OR IMPLIED AND SPECIFICALLY DISCLAIMS ANY WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE CUSTOMER S RIGHT TO RECOVER DAMAGES CAUSED BY FAULT OR NEGLIGENCE ON THE PART OF NATIONAL INSTRUMENTS SHALL BE LIMITED TO THE AMOUNT THERETOFORE PAID BY THE CUSTOMER NATIONAL INSTRUMENTS WILL NOT BE LIABLE FOR DAMAGES RESULTING FROM LOSS OF DATA PROFITS USE OF PRODUCTS OR INCIDENTAL OR CONSEQUENTIAL DAMAGES EVEN IF ADVISED OF THE POSSIBILITY THEREOF This limitation of the liability of National Instruments will apply regardless of the form of action whether in contract or tort including negligence Any action against National Instruments must be brought within one year after the cause of action accrues National Instruments shall not be liable for any delay in performance due to causes beyond its reasonable control The warranty provided herein does not cover damages defects malfunctions or service failures caused by owner s failure to follow the National Instruments installation operation or maintenance instructions owner s modification of the product owner s abuse misuse or negligent acts and power failure or surges fire flood accident actions of third parties or other events outside reasonable control Copyright Under the copyright laws this publication may not be reproduced or transmitted in any form electronic or
41. has functions that range from simple arithmetic functions to advanced scientific and engineering functions Use the Calculator to calculate channels variables and single values DIAdem stores the results in channels or variables If you assign units from the units catalog to the original channels DIAdem automatically specifies the unit of the result channels Based on the physical quantities and units of the original channels dividing distance by time results in a speed with the unit kilometers per hour for example Select Settings Options Units to add your own units and to define unit sets with favorite units National Instruments Ireland Resources Limited 4 7 Getting Started with DIAdem Creating Reports You use DIAdem REPORT to create multi page reports of data and results You use two dimensional and three dimensional axis systems tables polar axis systems text variables and graphics to document and to present data You use the Chart Wizard to create and to modify 2D axis systems and polar axis systems Creating Axis Systems yi To create a new layout with the Chart Wizard complete the following steps Note Ifyou have not completed the exercise from the previous chapter load the data set Data3 tdm located in the DIAdem Data folder This folder is located in the DIAdem NAVIGATOR file browser in the search area National Instruments Me m REPORT Select DIAdem REPORT Click New Layout Select the
42. is icon denotes a note which alerts you to important information Bold text denotes items that you must select or click in DIAdem such as menu items and dialog box options Parameters are also in bold type Italic text denotes variables emphasis cross references or an introduction to important concepts Text in this font denotes text or characters that you should enter from the keyboard such as sections of code programming examples and syntax examples This font is also used for the proper names of disk drives paths folders programs subprograms subroutines device names functions operations commands variables controls events methods filenames and extensions and code excerpts National Instruments Ireland Resources Limited vil Getting Started with DIAdem About This Manual Related Documentation For more information on DIAdem refer to the following documentation e DIAdem Data Mining Analysis and Report Generation This DIAdem manual explains the structure of DIAdem and how to use DIAdem to mine data to run analyses to create reports and to combine all functions in a script e DIAdem Help which you open via Help Contents or lt F1 gt The DIAdem help offers you procedures and dialog box help for each panel as well as references to functions commands and variables for programmers e DataFinder Server Edition Search Engine for Technical Data This manual describes how you use the DataFinder serve
43. ld in the text editor dialog box to access further variables and expressions To add a channel property to your report and to edit the channel property complete the following steps 1 Select Results Precipitation_2003 in the Data Portal 2 Click Minimum in the properties window of the Data Portal and drag the channel property into the text field 3 Double click the inserted text The text editor displays the following text Minimum Str Data GetChannel 2 Precipitation_2003 Properties minimum Value AutoAdj a Replace the first word Minimum with the description Annual precipitation b Press lt Enter gt to position the value below the text c Enter mmat the end of the text National Instruments Ireland Resources Limited 5 5 Getting Started with DIAdem Chapter 5 Creating Reports 4 Click the Position tab and select Centered as the Relative position 5 Click OK 6 Select all texts and the graphic and click Center Vertically on the 2 toolbar DIAdem displays the worksheet as shown in Figure 5 3 File Edit View Insert Settings Window Help ER Jalal lila TE i SRB wolf SX Bll FF u Bre a lt 2 S Weather report 5 03 25 2008 4 Tj_average 2 Annual precipitation it Comments fet fer rs Properties 12 Precipitation_2003 r m en lt gt pi sheet 1 ae Figure 5 3 Using Text and Variables as Labels To use the layout with all worksheets as a template for
44. ll rectangle appears next to the cursor 3 Drag open a lamellar frame from the top of the worksheet to the bottom right corner of the worksheet and separate the text field from the axis system 4 Double click the rectangle and enter for X2 and for Y2 100 on the Position tab 5 Click OK The rectangle is now flush with the frame of the worksheet as shown in Figure 5 3 5 4 ni com Chapter 5 Creating Reports Using Text and Variables as Labels Add text and variables to a report to highlight the contents and specific items All texts can include formula expressions and DIAdem variables which DIAdem updates along with the rest of the report Double characters indicate to DIAdem which parts of the text to evaluate dynamically To add a text to your report complete the following steps 1 Click Decorations on the group bar Click Text in this function group The cursor changes to a text cursor 7 Click the text field header in the worksheet where you want to enter a heading Enter the text weather report and press lt Enter gt Enter CurrDate e in the second line Click outside the text to conclude the entry W ye ee Click the text To resize the text drag the small squares at the corners of the text with your mouse cursor Adding and Formatting Channel Properties You can drag and drop channel properties from the Data Portal into the worksheet Click the button with the three dots at the end of the entry fie
45. lue gt Saag C1 OR C2 aos Data Portal Internal Data x f EXAMPLE A Properties fp EXAMPLE Properties 123 Time 123 Speed 123 Revs 12 Torque ANALYSIS p Weather Date f V T_min_Lin NV T_max_Lin FV T_average_Lin f f 12 T_min_average 123 T_max_average 123 T_average 123 T_diff 2 T_diff_average E Month Properties Precipitation Channel Name Precipitation Description mm per square cm daily Unit mm Data type DT_DOUBLE Minimum 0 Maximum 38 disnlavrvne Ni merir i File Browser Search Results F A E if Noise data Properties A Noise_1 V Noise_2 V Noise_3 fp Noise data results Properties Pt StatisticsText p2 Res_Noise_1 123 Res Noise_2 123 Res Noise_3 f Room temperat Properties Structure fy Cee EXAMPLE w Name EXAMPLE Description DlAdem standard ex Index 1 35 30 25 20 15 0 mM 0 100 200 300 400 500 600 700 Figure 2 4 Browsing the Found Files in the File Browser Loading and Managing Data If you want to work with the data you have found you must load the data into the Data Portal To load data and to remove unnecessary data complete the following steps 1 Click Delete Internal Data on the toolbar channel group Click the Weather channel group in the file browser to select this 3 Drag and drop the select
46. n SetCurrQuery oMyTextQuery T_max_Lin Call Navigator Display CurrDataProvider QueryForm Search V T_average_Lin i 2 T_min_average Search without GUI p2 T_max_average Dim oMyDataFinder oMyResults pa T average set oMyDataFinder Navigator ConnectDataFinder My DataFinder la Ta average Call oMyDataFinder Search oMyTextQuery i ae set oMyResults oMyDataFinder Results F If you need a template for an automatic search use Ctrl A in the search inp Call WndShow NAVIGATOR Open i Call InteractionOn Call ChnAverage 1 Tm_min 1 Tm_max Mean ChnNoStr E i Call PicLoad MyFolders 1 Report2 TDR PicFile Call PicUpdate 0 PicDoubleBuffer 12 Tj_average v Portal Visible False N Structure List F BLL Keyeart Common properties Portal 12 Precipitation sum E Years 12 Tj_min_average p2 Tj_max_average Q GetFloatingPos Description Q GetFloatingSize Nor PF List Minimum A Ratio T Refresh 25 gt I gt Log Q SetFloatingPos No alues _ No ee 2 SetFloatingSize No Line 38 Column amp F Structure Not write protected Modified Not monotone aad __ Property isible 4s Bool Mi FP width Figure 6 3 CodeCompletion Makes Editing Objects Easier Testing Scripts To test the modified script complete the following steps be 1 Click Run Script The script opens the
47. ne opens the NAVIGATOR panel and the second line stops the script so that you can load data interactively 3 Use the CodeCompletion function to enter the statement for hiding the DataPortal behind the last script line a Enter Portal As soon as you enter the dot behind the Portal object DIAdem offers the methods and properties available for this object as shown in Figure 6 3 b Double click Visible to insert this property into the script c Complete the script line as follows Portal Visible False 4 Enter the command Keywait in the script line as shown in Figure 6 3 Select Keywait and press lt F1 gt to open the Help for this command Getting Started with DIAdem 6 4 ni com Chapter6 Automating Sequences 5 Enter the following script line to redisplay the Data Portal at the end Portal Visible True DiAdem SCRIPT Temporary workspace File Edit Script Settings Window Help NAVIGATOR Data Portal Internal Data Sub InitMyFolders a A ReDim MyFolders 2 ffr Weather Sifir Properties E Date 2 T_max i 2 T min Data Root Clear 12 Precipitation Dim oMyTextQuery F2 T_6 i Set oMyTextQuery Navigator CreateQuery eTextQuery p2 Index i oMyTextQuery Text weather MyFolders 0 C Documents and Settings All Users Documents National Instruments MyFolders 1j C Documents and Settings All Users Documents National Instruments FV T_min_Lin Call Navigator Display CurrDataProvider QueryFor
48. nsacsnaetanne ous waaks wlanutn exe sasan ose sigue suaansaseastadd 6 1 ENE CEI CS as snscacenaneesaccaaas nasa a onaanans 6 4 MC SUNN SOUS 2 cas cotati caren neal ancttadentint dei G ise adetgucisesa louie ede cream apace aaananininaeas 6 5 SUA 52 25 goss aaa tal ata ats oat c Gears ota este Sees Recents aoe anh ees anaca nee saeatoneneemnetseies 6 7 Appendix A Technical Support and Professional Services Getting Started with DiAdem vi ni com About This Manual Conventions lt gt i Ke bold italic monospace You can use this manual to familiarize yourself with DIAdem features and how to use them Each chapter describes a DIAdem panel This manual contains exercises for finding analyzing and presenting data and for automating functions to process your data The exercises do not take long and they make it easier for you to get started with DIAdem Each chapter concludes with a summary of the main points The following conventions are used in this manual Angle brackets indicate a key you press to perform a function for example lt Ctrl gt for the control key The symbol leads you through nested menu items and dialog box options to a final action The settings Help Examples instruct you to open the Help menu and select the menu item Examples DIAdem opens the ExampleFinder where you can run examples for various DIAdem functions This icon denotes a tip which alerts you to advisory information Th
49. o TDM C Program Files National Instruments DIAdem 11 0 Examples Data Weather tE WEATHER TDM C Documents and Settings 4ll Users Documents National Instruments DIAde tE WEATHER TDM C Program Files National Instruments DI4dem 11 0 Examples Data WEATHE t Datat tdm C Documents and Settings All Users Documents National Instruments DIAde fe Data2 tdm C Documents and Settings All Users Documents National Instruments DIAde t Data3 tdm C Documents and Settings All Users Documents National Instruments DIAde t Datad tdm C Documents and Settings All Users Documents National Instruments DIAde File Browser A Search Results Description Channel Preview Select a Channel from the File Browser or the Search Results Figure 2 1 Search Results of the Quick Search Running an Advanced Search To find data with an Advanced Search complete the following steps Getting Started with DIAdem 1 Click the Advanced Search button shown on the left to specify the search results more accurately as shown in Figure 2 2 E DIA dem NA File ANALYSIS Bun ila REPORT SCRIPT VIGATOR oE ly DataFinder Find View Settings Window Help 20s Eh OBRTMACO KEK NAVIGATOR Ce External Data Ss a E Taa Data Portal Internal Data x Search In Property value a E al f EXAMPLE ICi Group Name Weather Properties C2 Channel Name lt Enter a value gt 40 V
50. oes not display the introduction screen when DIAdem launches select Help Introduction to open the introduction screen To run a tutorial complete the following steps 1 Click Tutorials DIAdem at a Glance Use the buttons on the bar at the bottom of the screen to control the tutorials 2 Click the button shown on the left to close the tutorial window and l return to the introduction screen Tip The DIAdem panels contain tutorials in the tutorials function group that complement the respective panel National Instruments Ireland Resources Limited 1 3 Getting Started with DIAdem Chapter 1 Introduction to DIAdem Finding Examples Getting Started with DIAdem The DIAdem Help contains examples for data analysis for report generation and for script generation The examples contain simple solutions as well as extensive applications that you also can use as templates for your own applications Complete the following steps to automatically load and execute examples in DIAdem I Click Examples Examples Gallery in the introduction screen DIAdem closes the introduction screen and opens the ExampleFinder with a preview of the report examples as shown in Figure 1 3 E DlA dem Example Finder gog A Contents Index Search Favorites Bare ft Examples Gallery Sq Examples 5 Open Introduction Screen Use the examples to practice working with DI4dem and to learn more about the options DIAdem offers B E
51. ooming Curve Sections In DIAdem VIEW you can zoom curves with the band zoom or the frame zoom from the axis system toolbar For a close up view of curves complete the following steps ra 1 Click Band Zoom on the axis system toolbar 2 Click the axis system and drag open the band to specify the width of the curve section Thy 3 Click Move on the axis system toolbar and move the curves to the section that you want to magnify 4 Click Zoom In on the axis system toolbar to increase the zoom in the selected section Getting Started with DIAdem 3 2 ni com Chapter 3 Viewing and Evaluating Data f 5 Click Zoom Off to return from the zoomed area to the complete curve Ty 6 Click Move again to disable the move mode and to reactivate the ar cursor Editing Curves In DIAdem VIEW you can measure curves and copy delete and interpolate curve sections Use the curve cursor the maximum values cursor or the minimum values cursor on the DIAdem VIEW toolbar to measure a curve To edit curve sections use the flag functions on the axis system toolbar Measuring Curves To follow the curve points with the curve cursor in an axis system complete the following steps 1 Click Curve Cursor on the toolbar 2 Click the axis system and move the curve cursor along the curve DIAdem displays the x values and the y values of the curve points in a tooltip next to the crosshair cursor that follows the cursor B 3 Click a check
52. r to index data files in networks Users connect DIAdem with a DataFinder server to search for the indexed data Getting Started with DiAdem viii ni com Introduction to DiAdem DIAdem is the interactive National Instruments software for finding and managing technical data for mathematically and graphically interactively analyzing data and for presenting the data in reports In a uniform environment DIAdem offers a unique combination of tools that are tailored to the requirements of technicians engineers and scientists You can adjust all the tools to your tasks and automate them in scripts thereby drastically reducing evaluation times The DIAdem DataFinder enables you to find test data quickly and easily and to identify correlations in the data To use the DataFinder you do not require a database or support from the IT department because the DataFinder is ready for use directly after installation You use the Chart Wizard to create and to modify your diagrams quickly and easily You use video synchronization to evaluate videos and the respective measurement data and 3D models to project data onto the test object Kp Note You have received DIAdem 11 on a DVD If your computer does not have a DVD drive you can download DIAdem 11 at ni com or obtain a CD with DIAdem 11 from our support DIAdem groups functions in panels and function groups Use the panel bar that is on the left of the DIAdem screen to switch panels Each panel o
53. rement values for example the quantity speed and the unit kilometers per hour If you assign the unit mile per hour from the units catalog to the speed channel DIAdem can convert the channel values 2 8 ni com Viewing and Evaluating Data You use DIAdem VIEW to view to analyze and to edit data as curves in axis systems In channel tables you can edit and delete the data and enter new data You synchronize videos with data and project data onto 3D models Viewing Curves To view the loaded data set in an axis system complete the following steps Kp Note If you have not completed the exercise from the previous chapter load the data set Datal tdm located in the DIAdem folder Data This folder is located in the DIAdem NAVIGATOR file browser in the search area National Instruments 1 Select DIAdem VIEW 2 Click New Layout 3 Click Regular Worksheet Partitions on the group bar 4 Click Two Areas in this function group OO HO Kp Note Each panel has its own group bar on the left side When you click a button on the group bar DIAdem opens the function group where you can select a function El 5 Select the Date time channel in the Data Portal pa 6 Click the symbol shown on the left before the channel name to also select the numeric channels T_max and T_min The cursor changes its color and displays a plus sign 7 Drag and drop the three channels selected in the Data Portal into the upper worksh
54. rt a video In model areas you project the measured or simulated data as color shading or as deformation onto a model of the test object For example you display temperatures as color shading on a climate dummy or you display strain on bridge elements as deformation To do so you insert the 3D model of the test object and connect each data channel with the respective model point For model points with no sensor DIAdem interpolates the values from the data of neighboring model points You can display text and variable information in text boxes for example the current date You can drag and drop properties from the Data Portal into the text box Double click a text box to enter text Select Display from the shortcut menu to edit the appearance of the text You illustrate graphics areas with graphics Double click a graphics area to insert a picture 3 8 ni com Analyzing Data with Mathematical Functions You use DIAdem ANALYSIS to analyze data mathematically You can apply predefined standard mathematical functions including basic mathematics curve fitting signal analysis and statistics The dialog boxes for the standard mathematical functions guide you through the calculation so you do not have to enter a formula You select the input data and the settings Use the DIAdem Calculator to define and calculate your own formulas Using Standard Mathematical Functions DIAdem has extensive libraries of standard mathematical fun
55. s Engineers make sure every question submitted online receives an answer Standard Service Program Membership tThis program entitles members to direct access to NI Applications Engineers via phone and email for one to one technical support as well as exclusive access to on demand training modules via the Services Resource Center NI offers complementary membership for a full year after purchase after which you may renew to continue your benefits For information about other technical support options in your area visit ni com services or contact your local office at ni com contact e Training and Certification Visit ni com training for self paced training eLearning virtual classrooms interactive CDs and Certification program information You also can register for instructor led hands on courses at locations around the world e System Integration If you have time constraints limited in house technical resources or other project challenges National Instruments Alliance Partner members can help To learn more call your local NI office or visit ni com alliance National Instruments Ireland Resources Limited A 1 Getting Started with DIAdem Appendix A Technical Support and Professional Services If you searched ni com and could not find the answers you need contact your local office or NI corporate headquarters Phone numbers for our worldwide offices are listed at the front of this manual You also can visit the Worldwi
56. scription ame eather TIS i Description Select a Channel from the File Browser or the Search Results Figure 2 5 Loading Data from the File Browser to the Data Portal Note Ifyou modify data in the Data Portal DIAdem does not save the changes automatically The changes are executed only in the memory and not in the data file from which you loaded the data This enables you to experiment with data without modifying the original data Saving Data Getting Started with DIAdem To save the data in the Data Portal complete the following steps 1 Click the File Browser tab in DIAdem NAVIGATOR 2 Navigate tothe DIAdem folder Data in the National Instruments folder Select the weather channel group in the Data Portal Drag and drop Weather to the Data folder Enter the file name weather data in the Save As dialog box Select the file type National Instruments TDM Files tdm Click Save ao oy ee a 2 6 ni com Chapter 2 Finding Data summary The summary provides an overview of the topics discussed in this chapter It also includes additional information DataFinder In the search input area of the DataFinder you enter search conditions to help you find your data You also can drag and drop properties from the properties window of the Data Portal or of the file browser into the search input area In the logical operations line you connect the search conditions with AND and OR and use parentheses to specify a query more
57. struments Ireland Resources Limited 4 5 Getting Started with DIAdem Chapter 4 Analyzing Data with Mathematical Functions Calculating Formulas with the Calculator Use the DIAdem Calculator to mathematically analyze data with your own formulas Use the Calculator to calculate channels variables and input values DIAdem stores the results in channels or variables To calculate the difference between the monthly maximum temperatures and the average temperatures complete the following steps 1 Click the Calculator on the toolbar 2 Enter the following formula in the Calculator entry field Ch Results TmMax_Diff Ch 1 Tm_max Ch 2 Temperatures To insert the output channels in the formula open the Channels tab and double click a channel DIAdem inserts the channel name with the group index at the cursor position DIAdem displays the Calculator as shown in Figure 4 5 Gk ulator Skal Cht Results TmMax_DifF Ch 1 Tm_max Ch 2 Temperatures nse Result __s lt Basic__ lt Basic Please enter a formula and then start the calculation mian il Lis JL LIL Leis Jie e LOL LILI Lelie m Lobe F Operations channels and variables C Optional parameters Display specific variables x Operations Channel Name fa Abs Number 4ndB 4rg1 4rg2 ArcCos Arg ArcSin Arg 4rcTan Arg ArcTanHfArg ATank Side opposite Si j ba in Li M Num Op KBodl op Ee Channels Scalar Var AVectors
58. t FA f EXAMPLE l oa Ci Group Name Weather Go Properties c2 Channel Name Precipitation oa fff EXAMPLE v B File lt Enter a property gt lt Enter a value gt z E Properties 12 Time P E 123 Speed 123 E rah kion o OR C2 J Revs K amp Torque eis 6 Search Results File Path Tp Noise data t Datal tdm C Documents and Settings All Users Documents National Instruments DIAde E Properties E tet te Data2 tdm C Documents and Settings All Users Documents National Instruments DIAde pe Noise_1 fac E Data3 tdm C Documents and Settings All Users Documents National Instruments DIAde pe Noise_2 REPORT E Data4 tdm C Documents and Settings All Users Documents National Instruments DIAde fr a ee t te WEATHER TDM C Documents and Settings All Users Documents National Instruments DIAde Sffr Fe a sei 7 i roperties te WEATHER TDM C Program Files National Instruments DIAdem 11 0 Examples Data WEATH structure peT ea EXAMPLE Name EXAMPLE Fie Browser h Search Results ee Description DIAdem standard ex vUUUUU UUW UUOUUEUUUUUUUEUUUUNUUUUUUUUNFUUUUUUNUSUSUUUNUUNUEEESUOUWNNUUSEEUN Index 1 Properties E Fata carcass E Channel Preview Select a Channel From the File Browser or the Search Results Figure 2 3 Search Results of the Advanced Search Browsing in Data Sets z lir Getting Started with DIAdem To inspect search results you can open data files in the file browser
59. ted All rights reserved Important Information Warranty The media on which you receive National Instruments software are warranted not to fail to execute programming instructions due to defects in materials and workmanship for a period of 90 days from date of shipment as evidenced by receipts or other documentation National Instruments will at its option repair or replace software media that do not execute programming instructions if National Instruments receives notice of such defects during the warranty period National Instruments does not warrant that the operation of the software shall be uninterrupted or error free A Return Material Authorization RMA number must be obtained from the factory and clearly marked on the outside of the package before any equipment will be accepted for warranty work National Instruments will pay the shipping costs of returning to the owner parts which are covered by warranty National Instruments believes that the information in this document is accurate The document has been carefully reviewed for technical accuracy In the event that technical or typographical errors exist National Instruments reserves the right to make changes to subsequent editions of this document without prior notice to holders of this edition The reader should consult National Instruments if errors are suspected In no event shall National Instruments be liable for any damages arising out of or related to this document or the in
60. teractively in a script lt Ctrl A gt In recording mode DIAdem does not usually record the value assignment for program variables For example press lt Ctrl A gt in a DIAdem REPORT dialog box to record the values of the program variables If DIAdem is not in recording mode copy the value assignments of the program variable with lt Ctrl A gt to the Windows clipboard and then add these assignments to a script Script Editor The script editor displays the program code of scripts While you record actions in the recording mode DIAdem records the commands directly in the script editor Use functions such as line enumeration jump statements bookmarks restoring and find and replace to make script editing easier Use the Microsoft Windows Script Debugger in the script editor to work through scripts step by step and to find errors If you click a command or a variable the tooltip displays the parameters of the command or the value range of the variable Press lt F1 gt to call the Help page of the command or the variable CodeCompletion If you enter the name of an object and complete the entry with a dot the script editor offers the subobjects events properties and methods that are available for this object Add your selection to the object with a double click National Instruments Ireland Resources Limited 6 7 Getting Started with DIAdem Chapter6 Automating Sequences Interaction Mode When you use the interaction
61. ting Scripts The recording mode is the easiest way to create scripts When you enable the recording mode DIAdem creates a new script in the script editor and records the steps you make in this script To create a new script in recording mode complete the following steps 1 Select DIAdem SCRIPT 2 Click Enable Recording Mode on the toolbar to start recording the script 3 Enter DIAdem user as the Author and Manual example as the Comment as shown in Figure 6 1 Configure Recording Mode Comments Author DlAdem user Comment Manual example File reference only Filename Absolute path Path variable Figure 6 1 Configuring the Recording Mode DIAdem writes this information directly into the script code to help you identify the script in the future 4 Click OK The status bar displays the recording mode symbol National Instruments Ireland Resources Limited 6 1 Getting Started with DIAdem Chapter6 Automating Sequences ie NaviGATOR Select DIAdem NAVIGATOR Click Delete Internal Data to delete the data in the Data Portal Enter Weather in the search input area of the quick search Press lt Ctrl A gt to insert DIAdem instructions in the script for the search DIAdem inserts several lines in the recorded script Before you use the script you must edit these lines Kp Note If you do not press lt Ctrl A gt DIAdem does not record the instructions for the search a
62. user interface so that you can quickly find the functions you want Each DIAdem panel has its own group bar to the right of the panel bar as shown in Figure 1 1 Open a group bar click a function group and select a function The workspace also changes with the DIAdem panel and displays a folder hierarchy or a worksheet The toolbars and the shortcut menus contain frequently used functions DIAdem also adjusts the toolbars and the shortcut menus to the selected panel Donem vew Noname ov 7 7 7 7 7 o Fie view Insert Settings Window Help SOR ER ORA DiS A Aa Rhee BREMNER D PHO tH Data Portal Internal Data x lt Se o A K PID EAA 0 FFT_Explt A 9 Properties E AN EH E fp FET_Expl_A nA A AIR Po 6 O ie SS es E Time my A 12 Oscillation a IT 2D Axis Systems Horizontal Axis Systems horizontal i CopyXTime 2 Copy Oscillation 4 12 Frequency 123 AmplitudePeak v Structure A List j 1 Copy Oscillation a Name CopyY Oscillation Description channel values Unit mms Minimum 4 490185546875 Maximum 6 171875 Length 400 NoValues No Flags No Monotony Not monotone Status Calculated Maximum len 400 Index 4 Number 4 Display Format Numeric Data type Float Storage explicit Group name FFT_Expl_1 Data stores Source file FFT_Expl_1 TDM Source file path C PROGRAM FI Data source TOM VIEW FFT_Example Source context FFT_Expl_1 O
63. verage 12 Tj_max_average 12 Tj_average 25 No No Not monotone Daad 22 Figure 6 2 Recording Actions in the Script Editor After the commenting header DIAdem declares the MyFolders path variable and assigns to this variable the paths to the data folder and to the document folder If you want the script to load the data file or the report file from another folder just change the paths at this point in the script National Instruments Ireland Resources Limited 6 3 Getting Started with DIAdem Chapter6 Automating Sequences Editing Scripts In the recording mode you pressed lt Ctrl A gt to record the search for the weather data DIAdem has inserted parts of these lines as comments to allow a search with or without the DIAdem NAVIGATOR interface To allow interactive data selection in the script complete the following Steps 1 Delete the quotation mark at the beginning of the following script line with lt Ctrl Shift gt to convert the comment into a command The command configures the query in the DIAdem NAVIGATOR interface and lists the channels of the channel groups found on the Search Results tab Call Navigator Display CurrDataProvider QueryForm Search 2 Replace the script line for loading the data file Data1 tdm Call DataFileLoad MyFolders 0 amp Datal tdm TDM with the following script lines Call WndShow NAVIGATOR Open Call InteractionOn The first script li
64. with a channel table 3 Select the channels Comments CopyXDate and CopyYT_Max in the Data Portal 4 Drag and drop the channels selected in the Data Portal into the channel table DIAdem displays the columns of the channel table in the order in which you select the channels in the Data Portal Click the cell in the CopyYT_max column row 10 Enter the value 1 and press lt Enter gt DIJAdem also displays the new value in the curve in the bottom axis system on the previous worksheet 7 Right click next to the channel table and select Create New Channel from the shortcut menu a Enter the channel name Generated Channel b Click OK to create the new channel in the channel table and in the Data Portal National Instruments Ireland Resources Limited 3 5 Getting Started with DIAdem Chapter 3 Viewing and Evaluating Data 8 Right click the first cell of the empty column Generated_Channel and select Generate from the shortcut menu a Enter 0 5 as the step width and 100 as the number of values b Click OK to create the channel values DIAdem displays the channel table as shown in Figure 3 3 DiAdem VIEW NONAME TDV H NAVIGATOR SCRIPT view Insert Settings Window Help AAAS BAHN A e a B DMAP Ny Selected Channels Channel Contents Ops oO on Bl oopnye Weather data Daily record CopyxDate 25 60 12 31 2003 00 00 00 0 01 01 2004 00 00 00 0 From 2002 to 2004 01 02 2004 00 00
65. xamples Gallery Click a diagram to start the associated example Sy New Examples lt Ctrl gt click a diagram to open the description of the example Sq New Examples for Version 11 0 B Expanding the Group Bar Non linear Curve Fitting in DiAdem Units in ANALYSIS and REPORT B Sorting the Channels in the f E Converting Units E Non linear Curve Fitting B Check DataPlugins for Time B Dynamic Display of Statistic B Part Average Analysis E Pareto Diagram E Search and Evaluation Fun 5 New Examples for Version 10 2 New Examples for Version 10 1 New Examples for Version 10 0 Mining and Loading Data Viewing and Editing Data Date 09 04 2008 Mathematics Creating a Report Calculations for Process Capability G Creating Scripts Procedures Evaluation of the discharge curve of a rechargeable battery Figure 1 3 The Examples in DIAdem Click the picture Calculations for Process Capability DIAdem loads the data set and the layout of this example and displays the report Click DIAdem ExampleFinder on the Windows task bar to open the ExampleFinder again Navigate the ExampleFinder in the table of contents as shown in Figure 1 3 to find simple solutions as well as more extensive applications for data analysis for report generation and for script generation 1 4 ni com Chapter 1 Introduction to DIAdem 5 Click Open Introduction Screen in the ta
Download Pdf Manuals
Related Search
Related Contents
ENTENTE INTERMINISTÉRIELLE RELATIVE À L`ARPENTAGE DES 取扱説明書 - ミマキエンジニアリング mise en ligne des informations : petit mode d`emploi Samsung Galaxy Note (10.1, 3G) Manual de Usuario(KK) PDF - Takeuchi Italia vera-lift ii™ b350, b450 & b600 maintenance Manual de instalación Descargar manual de usuario Copyright © All rights reserved.
Failed to retrieve file