首页> 外文会议>Measurement Science Conference >Interfacing an Electronic Balance Through the RS232 Serial Port Using the 'C' Programming Language
【24h】

Interfacing an Electronic Balance Through the RS232 Serial Port Using the 'C' Programming Language

机译:使用“C”编程语言通过RS232串行接口电子平衡

获取原文

摘要

In today's world of electronic measurement processes, it is often desirable to automate the process with a computer. Most electronic balances have an RS232 serial port which is easily connected to a computer. The "C" programming language with its modularity is ideally suited to this task. I will show how the balance input/output commands can be grouped into three basic functions. These functions can then be used to develop a sophisticated control program to setup the balance, take weighings and perform analysis of the data and store the data to disk in a retrievable format. This paper will cover the details of breaking the problem down into simple distinct functions, and then putting the functions to work. This will be accomplished by writing a demonstration program. The program will be used to setup the balance, take a series of weighings, calculate the cost of the material weighed and store the results into a file which can be read by most spread sheets.
机译:在当今电子测量过程的世界中,通常希望将过程与计算机自动化。大多数电子余额都有一个RS232串口,可轻松连接到计算机。 “C”编程语言具有其模块化的语言非常适合此任务。我将展示平衡输入/输出命令如何分为三个基本功能。然后可以使用这些功能来开发复杂的控制程序以设置余额,拍摄权衡并执行数据分析,并以可检索的格式将数据存储到磁盘上。本文将介绍将问题破坏到简单的独特功能的细节,然后将功能放在工作中。这将通过写作演示计划来实现。该程序将用于设置余额,拍摄一系列称重,计算重量的重量并将结果存储到可以通过大多数传播纸张读取的文件中。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号