Content area

Abstract

A versatile platform for programming and data acquisition: Excel and Visual Basic for Applications We have switched to a new software platform to for instrument interface and data collection in our upper-­‐division Sensors Laboratory course. This was done after investigating several options and after several meetings with our industrial advisory board. This change was motivated by a campus-­‐mandated change in operating system, plus expiring software licenses. We decided on the Visual Basic for Applications platform (VBA), which resides in the Microsoft Office suite (in particular, MS Excel). This meets the recommendations of our advisory board, which strongly urged that we use a “traditional” programming language, as opposed to a graphical one, in order to provide our students the broadest possible applied programming “base.” Further, it has the advantage that the platform is widely available and the required add-­‐ins are free, so that graduates (and other programs) are able to use this as well. Finally, this approach has the added benefit of extending the students’ prerequisite computer programming into VBA, which is useful beyond the realm of instrument control and data acquisition. This paper will describe the resources that were collected – and modified – by the author, for the apparently novel combination of VBA, 64-­‐bit programming, and access to both serial/USB and GPIB instrumentation, and provides examples of implementation. The basic principles of VBA for non-­‐experts will also be given, as well as strengths and drawbacks of this approach. We will also report on the first offering of the redesigned course and remark on future improvements.

Details

Title
A Versatile Platform for Programming and Data Acquisition: Excel and Visual Basic for Applications
Source details
Conference: 2014 ASEE Annual Conference & Exposition; Location: Indianapolis, Indiana; Start Date: June 15, 2014; End Date: June 18, 2014
Pages
24.125.1-24.125.12
Publication year
2014
Publication date
Jun 15, 2014
Publisher
American Society for Engineering Education-ASEE
Place of publication
Atlanta
Country of publication
United States
Source type
Conference Paper
Language of publication
English
Document type
Conference Proceedings
Publication history
 
 
Online publication date
2015-07-02
Publication history
 
 
   First posting date
02 Jul 2015
ProQuest document ID
2317709398
Document URL
https://www.proquest.com/conference-papers-proceedings/versatile-platform-programming-data-acquisition/docview/2317709398/se-2?accountid=208611
Copyright
© 2014. Notwithstanding the ProQuest Terms and Conditions, you may use this content in accordance with the associated terms available at https://peer.asee.org/about .
Last updated
2025-11-15
Database
ProQuest One Academic