Data collection using the LabPro and Excel

Updated 4/24/03
Written by:
    Ray Wisman (rwisman@ius.edu)
    Kyle Forinash (kforinas@ius.edu)

What it does and how it works:

The software available from this web page allows an Excel spreadsheet to collect data from a LabPro (from Vernier Software) connected on a serial port. The Excel and LabPro can be on the same computer or on remote computers connected over the Internet. We have used this arrangement for student labs and an ongoing student research project.

We are providing two pieces of software:

  1. An example Excel spreadsheet -  A Visual Basic (VB) macro controls the LabPro and retrieves data into the spreadsheet. The data can be graphed, analyzed etc. as normal.
  2. A small communications server program - A TCP to serial convertor (TCP2Serial) which facilitates the communication between the spreadsheet macro or other networked application and the serial port where the LabPro is plugged in. TCP2Serial runs in the background on the computer where the LabPro is connected.

Also:

How to set this up:

  1. Download the TCP2Serial source software. Versions choices include:
  2. Download the Excel spreadsheet. Note that Internet Explorer may attempt to execute Excel (use a right click to 'Save As').
  3. Plug your LabPro into the serial port of the computer where the TCP2Serial software is running.
  4. Launch the TCPSerial software on the computer where the LabPro is attached. You may need to modify some parameters for your systems serial port assignments.
  5. Start the DataLogger Spreadsheet by double clicking on it. Say yes to 'Enable Macros'. Don't worry- this is no virus.
  6. Potential problems:

An Example:

For the past few years introductory calculus based physics class here at IUS have done a Fast Fourier Transform lab on sound using a microphone, the LabPro and our software. Students first sampled local sound sources (from instruments which they brought to class) and then (through the Internet) sampled an "unknown" source hidden in my office. Here are the student instructions for the FFT lab and here is how the Excel spreadsheet appears:

Return to the IUS Physics Top Page.
Contact Kyle Forinash, kforinas@ius.edu, for comments/suggestions/corrections.