Open access peer-reviewed chapter

Analyzing and Presenting Data with LabVIEW

By Ahmet Mavi, Ahmet Özmen and Mehmet Ertuğrul

Submitted: October 15th 2020Reviewed: January 21st 2021Published: February 24th 2021

DOI: 10.5772/intechopen.96130

Downloaded: 227

Abstract

LabVIEW is an abbreviation for Laboratory Virtual Instrument Engineering Workbench and allows scientists and engineers to develop and implement an interactive program. LabVIEW has been specially developed to take measurements, analyze data, and present the results to the user. You determine what the device looks like, rather than the manufacturer of the device. LabVIEW has a very large library of functions and subprograms (subVIs) that can help you during your programming and use without occupying memory. Hidden programming problems that you may encounter in traditional programming languages are less common in LabVIEW. LabVIEW also includes different applications such as serial device control, data analysis, data presentation, data storage and communication over the internet. Analysis library; It includes versatile and useful functions such as signal generation, signal processing filters, Windows statistics and regressions, linear algebra and array arithmetic. Due to the graphical nature of LabVIEW, it is an innate data presentation package. You can view the data in any form you want. Chart, graph and user-defined graph are among the output options that can be used. As a scientist or an engineer, you frequently measure physical changes such as temperature, pressure, time, mass, electric current, light intensity, radioactivity etc. You generally need to analyze and present the data. When you have large amounts of data, you need to use software to analyze and present the data. LabVIEW makes these actions easy for you. Because LabVIEW includes hundreds of built-in and add-on functions you need that make it easy to create a user-friendly interface. In this chapter, we focus on data analysis and presentation.

Keywords

  • data analysis
  • data presentation
  • report generation
  • DIAdem
  • OriginPro

1. Introduction

Almost all LabVIEW applications include 3 steps: (1) acquiring data, (2) analyzing and processing the data, and (3) presenting the data in a report or on a chart/graph (Figure 1).

Figure 1.

Common steps in a VI.

Acquire:NI (National Instruments) is a global leader in computer-based data acquisition. More than millions of data acquisition devices have been sold by NI. LabVIEW developed by NI is a user friendly programming interface and easily communicates to NI devices. Therefore, most of the scientists and engineers choose LabVIEW for programming and NI devices for measurements.

Analyze:LabVIEW software has more than 600 built-in functions for signal synthesis, frequency analysis, probability, statistics, math, curve fitting, interpolation, digital signal processing, and more. You can also reach more functions from additional modules. Unfortunately, some modules are not free.

Present:After you acquire and analyze data, you generally want to present your data. Data presentation means data visualization, report generation, data storage, Web publishing, database connectivity, data management, and more. The LabVIEW includes hundreds of functions and tools for data presentation. These allow you to visualize data in a very simple and effective manner.

Advertisement

2. Analyze with LabVIEW

2.1 LabVIEW data analysis and math libraries

LabVIEW presents the VIs and functions on the Functions palette using menus. When LabVIEW is installed, built-in menus appear on the Functions palette. Some of them do not contain functions by default. After installed certain modules, toolkits, and drivers, functions appear in the built-in categories. For example, Measurement I/O menu does not contain NI DAQmx by default. If you want to utilize its function, you must install NI DAQmx.

LabVIEW includes hundreds of built-in and add-ons functions for analysis. You can find a short list of analysis functions below [1].

Measurement.

Waveform-Based**.

Averaged DC-rms.

Cycle average and rms.

Pulse transition (rise, slew, overshoot).

Pulse width/period/duty.

Pulse amplitude and levels.

Signal noise and distortion (SINAD) analyzer.

Harmonic distortion analyzer.

Cross spectra Sine tone measurement.

FFT spectrum.

Frequency response function.

Power spectrum.

Power spectral density.

Array-Based.

AC and DC Estimator.

Amp and frequency estimate.

Amp and phase spectrum.

Auto power spectrum.

Cross power spectrum.

Harmonic analyzer.

Impulse response.

Network functions (avg).

Power and frequency estimate.

Power spectrum.

Scaled time-domain window.

Spectrum unit conversion.

Transfer function.

Signal Monitoring/Triggering.

Waveform-Based**.

Basic level trigger detection.

Limit testing.

Limit specification.

Limit specification by function.

Waveform peak detection.

Array-Based.

Peak detection.

Pulse parameters.

Threshold peak detector.

Signal Generation.

Windowing.

Digital Filters.

2.2 Statistics

1D, 2D, and 3D ANOVA.

Chi square distribution.

Contingency table.

erf(x) and erfc(x).

F distribution.

T distribution.

General histogram.

Histogram*.

Inverse chi square.

Distribution.

Inverse F distribution.

Inverse normal distribution.

Inverse T distribution.

Mean*.

Median*.

Mode*.

Moment about mean.

Mean squared error (MSE).

Normal distribution.

Polynomial interpolation.

Rational interpolation.

Root mean square (rms).

Spline interpolant/interpolation.

Standard deviation*.

Variance.

Signal Processing.

Autocorrelation.

Convolution.

Cross power.

Cross correlation.

Decimate.

Deconvolution.

Derivative x(t).

Fast Hilbert transform.

Fast Hartley transform.

Integral x(t).

FFT/Inverse FFT (Re + Im).

Inverse fast Hilbert transform.

Unwrap phase Y[i] = Clip{X[i]} Y[i] = X[i-n].

Curve Fitting.

Exponential fit.

General least squares linear fit.

General polynomial fit.

Linear fit.

Nonlinear Lev-Mar fit.

1D and 2D linear evaluation*.

1D and 2D polynomial evaluation*.

Numeric integration.

Polar to rect/rect to polar.

Scale 1D/2D.

Find polynomial roots.

Mathematics/Numerical Methods.

Digital Waveform Analysis.

Digital signal subset.

Invert digital signal.

Uncompress digital signal.

Compress digital signal.

Digital signal size.

Search for digital pattern.

Compare digital signals.

Append digital signals.

Append digital samples.

Digital waveform to Boolean array.

Boolean array to digital waveform.

Waveform Conditioning.

*Denotes VIs that are shipped with the Base package of LabVIEW for Windows.

**Waveform VIs input a time-domain signal and output a scaled measurement.

We highly recommend that check the examples located in LabVIEW before starting to create a VI for analysis. You can access the examples from NI Example Finder (Help>> Find Examples…). You can search the examples with keyword(s) in NI Example Finder. It also allows you to visit ni.com for more examples.

We also recommend that if possible you should choose Express VIs for analysis. An Express VI is a VI, which can be configured interactively through a dialog box. Express VIs are user friendly. You can easily configure your analysis parameters. To access to the dialog box, double-click to corresponding Express VI.

For analysis, you will frequently use Mathematicspalette and Signal Processingpalette (Figure 2).

Figure 2.

Mathematics palette and signal processing palette.

Statisticsand HistogramExpress VIs are located in Probability & Statisticssubpalette of Mathematicspalette (Figure 3).

Figure 3.

Probability & Statistics palette.

In the following example, VI simulates a DC signal with noise (Figure 4). VI also generates a histogram and result of basic statistical analysis.

Figure 4.

Statistics and histogram express VIs in a VI.

Mathematicspalette also contains Fittingsubpalette (Figure 5). This palette contains the following fitting VIs.

  • Linear Fit VI

  • Exponential Fit VI

  • Power Fit VI

  • Gaussian Peak Fit VI

  • Logarithm Fit VI

  • General Polynomial VI

  • General Linear Fit VI

  • Cubic Spline Fit VI

  • Nonlinear Curve Fit VI

Figure 5.

Fitting VIs.

You can use curve fitting for several reasons. For example, to reduce noise, to find mathematical relationships among variables, to estimate the variable value between data samples or out of data sample range.

The following simple VI plots data and Exponential fit (Figure 6). You can use the other fitting VIs with the same manner.

Figure 6.

Exponential fit.

You can use the Signal ProcessingVIs for spectrum analysis, signal generation, digital filtering, and data windowing (Figure 7). It is located in Functionspalette.

Figure 7.

Signal processing palette.

In Signal Processingpalette, Waveform Measurementspalette contains Tone Measurementsand Spectral MeasurementsExpress VIs (Figure 8).

Figure 8.

Waveform measurements palette.

The following example in Figure 9, Tone MeasurementsExpress VI finds amplitude, frequency and phase of a signal which is generated by Simulate SignalExpress VI. In this example, Spectral MeasurementsExpress VI generates the power spectrum of the signal.

Figure 9.

Tone measurements and spectral measurements express VIs.

3. Present with LabVIEW

3.1 Visualize your data

LabVIEW includes tools for charting and graphing, 2D and 3D visualization (Figure 10) [2].

Figure 10.

2D and 3D visualization palettes.

LabVIEW has two ways to display data in 2D. These are Chart and Graph (Figure 11).

Figure 11.

Chart and graph.

A Waveform Chart remembers and displays a certain number of points by storing them in a buffer. Waveform Chart displays received data in addition to already existing data.

A Waveform Graph accepts arrays of data in various forms, e.g. array, waveform, or dynamic data. It plots all the received points at once.

You can visualize more than one data source on a chart or graph. In the following example DAQ Assistanttake data from two channels. You can see data from all channels on a chart as shown in Figure 12.

Figure 12.

Visualization of data acquired from 2 channels of a daqcard.

A multi-plot chart can be displayed as overlaid plot or stacked plot (Figure 13). To select Stack Plotsor Overlay Plotsright-click on the chart. Overlay Plotsmode overlays all plots on the same y-axis. Stack Plotsmode gives the each plot its own y-axis.

Figure 13.

Overlay plots (left) and stack plots (right) modes.

To plot y values in a chart/graph you should wire only the y array data (y values) to the Waveform Chart or Waveform Graph. LabVIEW assumes that you sample y values at regular intervals, and thus creates x values at regular intervals. If you want to specify x and y values for a plot, you can use XY Graph. In the following example we plot multiple circles in a XY Graph (Figure 14).

Figure 14.

Multiple plots in a XY graph.

If you want to display both analog and digital signals together in a graph, use a Mixed Signal Graphlocated in the Graphpalette. A Mixed Signal Graph is made by bundling multiple graphable data types. You can add plot area from the pop-up menu of an existing plot area by selecting Add Plot Area. You can also remove a plot area by selecting Remove Plot Area. In the following example, you can see both analog and digital signals together in a Mixed Signal Graph with two plot area (Figure 15).

Figure 15.

Mixed signal graph with three plots.

LabVIEW allows you to use 3D graphs to plot data in three dimensions. 3D graphs are located in Controls> > Modern> > Graph> > 3D Graph. LabVIEW allows you eleven types of 3D graphs: The Scatter, Bar, Pie, Stem, Ribbon, Contour, Quiver, Comet, Surface, Mesh, and Waterfall graphs. You can see some of them in Figure 16. However, to study with 3D graphs you must have learned basics of vector and matrix.

Figure 16.

3D graph examples.

Plot Helper.vi is automatically created in the block diagram when you drop any of the 3D graph. Plot Helper.viis a polymorphic VI and thus it can accept Matrix or Vector inputs according to your selection (Figure 17).

Figure 17.

Plot helper.Vi.

You can find the two examples of 3D graphs, below.

In the following example we created a cylinder combining 5 circles whose z axis points are different from each other. Note that i(iteration number) generates z matrix (Figure 18).

Figure 18.

Creating a cylinder in 3D counter.

The following VI generates a sphere and visualizes it in 3D Parametric Graph(Figure 19). Here radius of sphere is 5 and sphere is generated by 20 circles. A sphere is a collection of circles. You can see from XY Graph that each circles are individual size.

Figure 19.

Drawing a sphere.

3.2 Publishing information to the web

LabVIEW can publish any application to the Web with Remote Panels. Therefore, you can easily make your VI reachable as a Web page. Thus, clients can control the VI or view generated data by using their web browsers. Clients must use a version of the LabVIEW Run-Time Engine compatible with the version of LabVIEW. NI recommends that customers use the supported browser (Internet Explorer). Google Chrome version 42 and later, Mozilla Firefox 52 and later, Safari 12.1 in macOS Mojave 10.14, and Microsoft Edge are notsupported browsers. Before view and control a front panel remotely, the Web Server must be enabled on the server computer where the VI or application wanted to view and control is located. Follow the steps below to learn how you can do it.

  1. Create a VI. We created a VI named Remote Panel Example.vi (Figure 20).

  2. Open block diagram and click to Tools»Options»Web Server

  3. Under the Remote Panel Server section, check Enable Remote Panel Server(Figure 21).

  4. Under the Visible VIssection, enter the name of the VI (Remote Panel Example.vi) in the Visible VIfield and press the Addbutton (Figure 22).

  5. Under the Browse Accesssection, enter the network name of the computer and press the Addbutton. Allow viewing and controlling option must be selected (Figure 22).

  6. Click OK and exit out of the Optionsdialog box.

  7. Navigate to Tools»Web Publishing Toolto open the Web Publishing Tooldialog box.

  8. Under Select VI and Viewing Optionssection, select the VI. After selecting appropriate Viewing Modeclick Next (Figure 23).

  9. Fill Document title, Header and Footer sections and click Next(Figure 24).

  10. Under the Save the New Web Pagesection, select where to save the HTML file and choose the file name and press Save to Diskbutton (Figure 25).

  11. Click Connectbutton in Document URLwindow (Figure 26). Ensure that default browser is Internet Explorer. If not, copy URL address and paste it to Internet Explorer.

Figure 20.

Remote panel example.Vi.

Figure 21.

Options»web server.

Figure 22.

Visible VIs and browser access list.

Figure 23.

Select VI and Viewing options.

Figure 24.

Document title, header and footer.

Figure 25.

Save the new web page.

Figure 26.

Document URL window.

You will see the following Internet Explorer page (Figure 27). In this page, clients must click Run button to control the VI from their computer.

Figure 27.

Viewing and controlling front panels remotely with internet explorer.

3.3 Report generation

LabVIEW includes Report Generationtoolkit to present your data in a Microsoft Office Word and/or Excel file. To use LabVIEW Report Generation Toolkit, it must be installed. Then corresponding functions will be located in Functions> > Report Generationpalette (Figure 28).

Figure 28.

Report generation palette.

3.3.1 Microsoft office word and excel reports

Report Generation palette contains many functions. Therefore, it is not easy to understand their properties. We recommend that you examine first the report generation example VIs in LabVIEW (Help>> Find Examples>> Search). You can modify them according to your purpose. These VIs generally generate reports based on templates. Using a template, allows you to generate standard reports for each execution of a VI. In the following example we generate a report for Microsoft Office Word (Figure 29). The example draws a circle and paste the circle to a Ms. Office Word document (Figure 30). You can determine color, size, graph type, marker style etc. by using the functions in Word Specific palette (Figure 31). Similarly, you can use Excel Specificpalette to generate programmatically an Excel report (Figure 31).

Figure 29.

Word report example VI.

Figure 30.

Circle created by the VI.

Figure 31.

Word specific and excel specific palettes located in report generation palette.

When you execute the VI you see the following picture in an automatically created Word document.

3.3.2 HTML report

LabVIEW has the ability to programmatically create html reports. Html files can be read by web browsers. We highly recommend you to present your data as a html file. Because reading an html file is not effected by version of web browsers. On the contrary, current version of Microsoft Office Word or Excel in your computer may not be compatible with LabVIEW Report Generationtoolkit you installed.

The following VI generates an html report (Figure 32). Here, Random Numberfunction generates Y array. X Array is generated by absolute time values.

Figure 32.

VI generating an html report.

When you execute the VI above the following report will be generated (Figure 33).

Figure 33.

The html report generated by functions in report generation toolkit.

Report Generation toolkit also contains ReportExpress VI and MS Office ReportExpress VI (Figure 34). These Express VIs allow you to present data in form of html, MS Office Word or Excel.

Figure 34.

Report express VI (left) and MS Office report express VI (right).

In the following example, we use ReportExpress VI to present data in html format (Figures 35 and 36). You can also send data to printer or present data in MS Office Word or Excel format with the same VI. To do this double click ReportExpress VI and select the corresponding line from Destinationtab in Configuration Reportwindow.

Figure 35.

Report express VI and Configuration report window.

When you execute the VI above you will see the following report.

Figure 36.

The html report generated by report express VI.

3.4 Save data

You can create folder, file or path, write and read data by using the File I/OVIs and functions (Figure 37). LabVIEW allows you to save data with different data formats.

Figure 37.

File I/O palette.

Write Delimited Spreadsheet.viconverts a 2D or 1D array to a text string and writes the string to a new byte stream file or appends the string to an existing file. Both 2D and 1D arrays can be strings, signed integers, or double-precision numbers.

You should put Write Delimited Spreadsheet.viout of the loop (Figure 38). Putting the VI inside the loop is not the good way of using it. Because LabVIEW at every iteration would open-write-close the file if it is inside the loop. This is not good in terms of VI efficiency.

Figure 38.

VI can save data after loop is stopped.

You can also write date/time information for each data point. In the following example (Figure 39), data consist of time and random number.

Figure 39.

Write delimited spreadsheet.Vi and resulted txt file.

Read Delimited Spreadsheet.vireads a specified number of lines or rows from a numeric text file beginning at a specified character offset and converts the data to a 2D, double-precision array of numbers, strings, or integers. In the following example VI writes and reads data by using Write Delimited Spreadsheet.vi and Read Delimited Spreadsheet.vi (Figure 40). Note that we formatted time and random number by using Format Into String.

Figure 40.

Write and read data by using write delimited spreadsheet.Vi and Read delimited spreadsheet.Vi.

Another way to write and read data is to use Write To Measurement Fileand Read From Measurement File(Figure 41). It can only accept numeric or waveform data although Write To Spreadsheet Filecan accept array of strings, signed integers, or double-precision numbers. We recommend that you use Write To Measurement Fileto write data on disk. Because this Express VI allows you to save data as text (LVM), binary (TDMS), binary with XML header (TDM) and Microsoft Excel (.xlsx) formats.

Figure 41.

Write to measurement file and read from measurement file.

Write To Measurement Fileis an Express VI. When you double-click to the Express VI Configure Write To Measurement Filewindow opens (Figure 42). Here, you can configure writing.

Figure 42.

Configure write to measurement file.

As you see in Figure 42Configure Write To Measurement Filewindow allows you to change settings. It may be difficult to understand how you can configure this Express VI for the first time. To understand the function of each setting, we suggest that you individually experience with each setting.

In the following example we add time values (x) to the signal (random numbers, y) by using Write To Measurement File(Figure 43). Time data must be connected to Commentterminal of Write To Measurement File.

Figure 43.

Write to measurement file with time information.

You can also save string data using Write to Text File. In the following example, VI saves date with time information (Figure 44).

Figure 44.

Write to text file and resulted txt file.

Similar to examples above you can write and read data by using Write Binary Fileand Read Binary File(Figure 45). Binary files use less data storage. Therefore, it is useful when you have large data. However, Write To Measurement Filesave data as binary format, too. You may not need to use Write Binary Fileand Read Binary File.

Figure 45.

Write to binary file and read from binary file.

You can write and read waveform data by using the function of Waveform File I/Oin File I/O(Figure 46).

Figure 46.

Waveform file I/O.

The following VI generates two waveform sinus signals and write-read them (Figure 47).

Figure 47.

Write-read waveforms.

NI has created a technical data management (TDM) solution. TDM Streamingis located in File I/Opalette (Figure 48).

Figure 48.

TDM streaming.

NI recommends costumers to use TDMS file format because it combines the advantages of several data storage options in one file format (Table 1). You can also work with TDM and TDMS files in Excel by utilizing the free TDM Excel Add-in for Microsoft Excel (supported Excel version: from 2007 to Excel 2016). You can take additional information from the following link [3].

ASCIIBinaryXMLDatabaseTDMS
Exchangeable
Small Disk Footprint
Searchable
Inherent Attributes
High-Speed Streaming
NI Platform Supported

Table 1.

Advantages of TDMS file format.

https://www.ni.com/en-tr/support/documentation/supplemental/06/the-ni-tdms-file-format.html.

3.5 Interactively manage data

3.5.1 National instruments DIAdem

DIAdem is a software to manage large amounts of data for measurement data aggregation, inspection, analysis, and reporting (Figure 49). With DIAdem, extraction of information from data can be efficiently performed. DIAdem is well adapted to LabVIEW. You can transfer your data from your LabVIEW application to DIAdem. With DIAdem, DataPlugins can be used to read, inspect and search different kinds of custom file formats. NI supplies free downloadable DataPlugins for hundreds of the most commonly used data file formats.

Figure 49.

DIAdem.

3.5.2 LabVIEW and OriginPro

National Instruments engineers have created various NI LabVIEW add-ons which contain many functions and subVIs to meet the required functionality. Besides the add-ons developed by NI engineers, add-ons have been developed for some other applications such as Origin. Origin or OriginPro is a powerful data analysis and graphics software preferred by scientists and engineers in industry, academia and research laboratories around the world [4]. Once the data collected by LabVIEW, the end-user will need to analyze the data and generate reports for presentation. Origin provides powerful analysis and graphing tools to reanalyze and present data. The ability to communicate easily between LabVIEW and Origin is a good platform that can greatly increase its efficiency in terms of data analysis and presentation [5]. There are studies in the literature using Origin and LabVIEW for this purpose [6]. Origin provides subVIs to make work in LabVIEW environment. These subVIs allow to data transfer from LabVIEW to Origin and the data to be analyzed and presented in the Origin environment. This subVIs can be accessed from the folder where OriginPro is installed (Samples\COM Server and Client\LabVIEW). Also, in order to quickly access these subVIs in the LabVIEW environment, the subVIs can be copied from the installed folder and then pasted into a folder named OriginPro in vi.lip\addons folder where LabVIEW is located [7]. OriginPro library can be accessed from the menu opened by right-clicking on add-ons in the Block Diagram window in LabVIEW as shown in Figure 50.

Figure 50.

LabVIEW library of OriginPro.

After adding the subVIs provided by OriginPro to LabVIEW, you can see subVIs as shown in Figure 51. There are four sections under Origin function palette. These are

  • OriginApp: Basic VIs that handles the Origin OPJ files, worksheet and columns,

  • OriginAppClassics: Older VIs existed before Origin 8 (deprecated),

  • OriginWave: VIs that handles Origin matrix objects,

  • OriginMatrix: VIs that handles LabVIEW Waveform data.

Figure 51.

Palette section.

In the following example, the measured temperature values are transferred and plotted in OriginPro. In this example, first, add OA_ConnectToOrigin.vito the Block diagram so that LabVIEW can connect to OriginPro. Once the link between LabVIEW and OriginPro is established, add OA_NewWorksheet.vito the Block diagram to open a new worksheet in OriginPro. This also creates the name and details of the worksheet to use the entries of VI. After that, you use OA_GetColumn.vito select a column. Then, you send the information of this column via OA_Col-Setting.vi. You will have to pay attention to two important points while filling in the entries of this VI. The first is the Data Format. This is the part where you need to write the format of the data. The second is the column type. Here we can determine the axis of the column to use in the chart. You can specify an axis such as X, Y, or Z, as in the example shown in Figure 52. After this process is completed, you will be able to transfer your data to the worksheet by using OA_Col-SetData.vi. You can use the Read Delimited Spreadsheet.viin ​​the File I/O menu to send the data to worksheet created in the Origin environment as in the example shown in Figure 52. You should pay attention for the correct format of the data. In addition, if you are working with data consisting of a single data created in certain periods of time such as the data used in this example, and if you are going to plot these data versus time, you will need to use OA_Col-SetEvenSampling.vi. Finally, VI in Figure 52 plots the temperature data at 0.5 ms intervals as shown in Figure 53 by using OA_NEWEmptGraf.viand OA_PlotWksCols.vi.

Figure 52.

Sending data from LabVIEW to OriginPro.

Figure 53.

The output of the OriginPro.

Similarly, another example is to use the template you created in the OriginPro. For this, you must first create a template in the OriginPro. Save this template in Documents\OriginLab\2015\User Files folder in your computer. In this case, it will be easy for you to access this template from LabVIEW. For an example application, a template has been prepared in OriginPro as in Figure 54. Now add OA_ConnectToOrigin.vito the Block Diagram for the connection between Labview and OriginPro. OA_AddOriginPath.vicreates the file path. Then, use OA_Load.vito upload file. OA_FindWorksheet.viis to select worksheet. After this step is completed, since you defined Voltage for the X axis and Current for the Y axis in the template, you need to send your data to OriginPro accordingly. For this, you can use OA_GetColumn.vito select column. You can send your data to these columns with the help of OA_Col-SetData.vi. These steps are given in Figure 55. Here, the data you previously saved in the LabVIEW environment is opened again and drawn in OriginPro [8].

Figure 54.

Origin template.

Figure 55.

Utilization of origin templates in LabVIEW.

4. Conclusion

The scientist and engineers frequently need to measure physical changes, analyze them, and present data from the measurement. LabVIEW includes hundreds of built-in and add-ons functions for analysis and presentation of data. If you do not know LabVIEW well, you should check the examples in LabVIEW and ni.com. This is the easiest way to learn how you can analyze and present your data.

LabVIEW has effective 2D (Charts and Graphs) and 3D visualization tools for data presentation. Graphs accept only array data. It plots all the received points at once. Charts attach received data to already existing points. When an array of points is wired to a chart or graph, LabVIEW assumes the points are equally spaced out. If you also want to define X axis values, you should use XY Graph.

LabVIEW allows you to present your data html, Microsoft Office Word or Excel. LabVIEW also allows you to publish any application to the Web with Remote Panels. Therefore, your VIs can be reachable as a Web page. You can control a remote device from your home. It is interesting, right?

Generally, you want to save and read your data. There are different ways to do it in LabVIEW. We recommend you to use Write To Measurement Fileand Read From Measurement File. These supports data as text (LVM), binary (TDMS), binary with XML header (TDM) and Microsoft Excel (.xlsx) formats.

DIAdem software is a NI product to manage data for measurement data aggregation, inspection, analysis, and reporting. Interestingly, DIAdem can use more than one thousand data file formats by utilizing DataPlugins.

More than 500,000 clients in the world use OriginPro to import, graph, explore, analyze interpret their data. If you are a user of OriginPro software, you can integrate it with LabVIEW. When you install Origin add-ons for LabVIEW you can easily communicate with OriginPro.

Thanks

We thank to Serdar Bölükbaşıoğlu, manager of Ludre Softwarecompany, for his contribution.

© 2021 The Author(s). Licensee IntechOpen. This chapter is distributed under the terms of the Creative Commons Attribution 3.0 License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

How to cite and reference

Link to this chapter Copy to clipboard

Cite this chapter Copy to clipboard

Ahmet Mavi, Ahmet Özmen and Mehmet Ertuğrul (February 24th 2021). Analyzing and Presenting Data with LabVIEW, LabVIEW - A Flexible Environment for Modeling and Daily Laboratory Use, Riccardo de Asmundis, IntechOpen, DOI: 10.5772/intechopen.96130. Available from:

chapter statistics

227total chapter downloads

More statistics for editors and authors

Login to your personal dashboard for more detailed statistics on your publications.

Access personal reporting

Related Content

This Book

Next chapter

TeraVision: A LabVIEW Software for THz Hyper-Raman Spectroscopy

By Rohit Kumar, Qiucheng Yu, Domenico Paparo and Andrea Rubano

Related Book

First chapter

Avanced Total Lab Automation System (ATLAS)

By Christoph Wagner, Andreas Genner, Georg Ramer and Bernhard Lendl

We are IntechOpen, the world's leading publisher of Open Access books. Built by scientists, for scientists. Our readership spans scientists, professors, researchers, librarians, and students, as well as business professionals. We share our knowledge and peer-reveiwed research papers with libraries, scientific and engineering societies, and also work with corporate R&D departments and government entities.

More About Us