Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

|| Data Acquisition & Analysis in Excel & Capstone

Purpose

Throughout this lab, you will perform measurements and interpret the results by using spreadsheets and a variety of measurement tools and sensors, some of which are controlled and monitored by PASCO’s Capstone software. When appropriate, data analysis will entail conducting calculations, finding averages, uncertainties, standard deviations, or other error estimates.

Our experiments will often require many trials or multiple cases that require similar calculations. Spreadsheets and other computer programs can make these repetitive tasks more reliable, faster, reproducible, and presentable. The effort to set up the calculation is more than compensated by the subsequent ease of repeating calculations. Several experiments will make use of sensors connected to the lab computers to aid in measurements and data gathering. You can use Capstone to organize, analyze, and display that data.

This section presents:

Microsoft Excel Spreadsheets --- How to Access

Throughout the course, we will use Microsoft Excel for all spreadsheets. To access Excel, you can do so through the browser with your Fairfield U. student login. We recommend doing your work in a browser to work with your lab group members on a shared Excel sheet, as that appears to be the most reliable and quick way to edit the same Excel spreadsheet. Follow the instructions here to access:

Access Office 365 in a browser at Fairfield University with your student login.

Alternatively, you should be able to go to:

http://excel.cloud.microsoft/ to Access Excel directly in a browser, use your Fairfield University student login.

Data Analysis with Spreadsheets

Spreadsheet Orgnaization

A spreadsheet is a grid of cells organized into rows and columns where you can enter text, numerical values, or formulas. Spreadsheet programs provide all the mathematical functions, formatting, and graphing tools that you need for this lab course. They provide structure to data analysis that reduces calculation errors and repetitive typing.

You will often have multiple data tables within your speadsheet labeled with names and units including:

For every data table, you will enter descriptors and values in different cells, NEVER PLACE A NUMBER AND TEXT IN THE SAME CELL, otherwise the spreadsheet won’t be able to run calculations on that “string” of text:

Suggested use of separate rows and columns are:

Cell & Value Referencing

When you need a value for a calculation in a different cell, reference the value’s cell rather than repeatedly, and sometime erroneously, typing in the same value:

Equations & Functions Syntax

You will create your own equations and use many built-in functions that exist in Excel and other spreadsheet programs to perform specific tasks on the input and return some output. Functions are often similar between spreadsheet programs, but not always, make sure to double check your syntax as needed. To start an equation or use a function in any given cell, you must first enter the equals sign: =. Say you wanted some simple addition, you would input =3+5 and press enter at which point the cell would show a returned value of 8.

Examples of other common functions are:

You can copy formulas to other cells by using the spreadsheet’s “fill down” capability. Select an individual cell or a set of cells in a row and fill down by dragging with the little square in the bottom-right corner of the selected cell(s). Formulas will copy and the row numbers of referenced cells that are not preceded by $ will increment automatically.

Trigonometric Functions

Plotting in Excel & LINEST

Unless otherwise stated, use Excel for graphs and for fitting data:

Capstone

Many of our experiments use the Capstone program to communicate with measurement hardware and collect data. This section is a very brief introduction to using the Capstone software. Additional tools and tips can be found in || Capstone Tools & Tips.

Setting up Hardware

Once you have opened the program you will notice a button labeled Hardware Setup on the left-hand side of the main window. If you click on the button you will get a list of all sensors that are currently connected to the computer. In almost all cases the program will recognize the connected sensor automatically and load a standard setup for the corresponding sensor. In a few cases you will be required to provide the program with certain values needed to determine the value of the quantity the sensor is supposed to measure. In the specific instructions for the experiment you will be told what values to provide. If you do not see the sensor try to dis- then reconnect the sensor to the computer or ask for help.

Collecting Data

Upon opening the Capstone program you have the choice of several display modes for the data you will be collecting. The exact choice depends on the experiment you will be performing and detailed instructions will be provided if they deviate from the description below. In the simplest of all cases you will be using the Table & Graph display. If you click on this option the program will create a data table and a graph on the main canvas of the program. By default the measurements will be undetermined, but you can choose any variable that is allowed by the sensor to be displayed in the data table columns or on the graph axes. Clicking with the cursor onto the Select Measurement in the data table headers or on graph axes will allow you to chose the variable to display. At times a mathematical equation using the actual measured quantities can be defined by selecting the Create New → Calculation (data table) or Add Similar Measurement (graph axes) option in the pulldown menus.

To start collecting data you need to press the red Record button on the bottom of the Capstone window. The program will then record all data being collected by the sensors and display them as numbers in the data table and points on the graph. The data collection can be stopped by pressing the red Record button a second time. After collecting all the data the information can then be analyzed.

Analyzing Data

Data can be analyzed by exporting the collected data into a data file, that can be read by Excel (or other mathematical program). An easier way to analyze the data is often to interpret the graph that has been produced by the Capstone program. Tools to analyze the graph are very readily available in the menubar above the graph window. The most important tools are discussed in more detail below: