首页> 外文会议>American Society for Engineering Education Annual Conference and Exposition >A versatile platform for programming and data acquisition: Excel and Visual Basic for Applications
【24h】

A versatile platform for programming and data acquisition: Excel and Visual Basic for Applications

机译:用于编程和数据采集的多功能平台:应用程序的Excel和Visual Basic

获取原文

摘要

We have switched to a new software platform to for instrument interface and data collection in our upper-division Sensor 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.
机译:我们已切换到新的软件平台,在我们的上部传感器实验室课程中进行仪器界面和数据收集。这是在调查若干选择后和与我们的工业咨询委员会的几次会议之后完成的。这种变化是由校园制定的操作系统变革,加上到期的软件许可证的动机。我们决定了Visual Basic for Applications Platform(VBA),它位于Microsoft Office套件(特别是MS Excel)中。这符合我们咨询委员会的建议,强烈敦促我们使用“传统”编程语言,而不是图形,以便为我们的学生提供最广泛的应用程序编程“基础”。此外,它的优点是平台广泛可用,所需的加载项是免费的,因此毕业生(和其他程序)也能够使用它。最后,这种方法具有将学生的先决条件编程扩展到VBA中的额外好处,这与仪器控制和数据采集的领域中有用。本文将描述作者收集和修改的资源,用于VBA,64位编程和访问串行/ USB和GPIB仪器的显然新颖的组合,并提供了实现示例。还将给出VBA的VBA基本原则,以及这种方法的优势和缺点。我们还将报告重新设计课程的首次发行和关于未来改进的评论。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号