首页 | 本学科首页   官方微博 | 高级检索  
     

基于串口通信的肉牛企业标签打印系统的研究和设计
引用本文:梁林,沈明霞,彭增起,陈士进,吴海娟,王卫,刘超超,谌启亮.基于串口通信的肉牛企业标签打印系统的研究和设计[J].食品工业科技,2012,33(8):339-343.
作者姓名:梁林  沈明霞  彭增起  陈士进  吴海娟  王卫  刘超超  谌启亮
作者单位:1. 南京农业大学工学院,江苏南京,210031
2. 南京农业大学农业部农畜产品加工与质量控制重点开放实验室,江苏南京,210095
基金项目:国家现代农业(肉牛)产业技术体系项目(nycytx-38);农业科技成果转化资金项目(SQ2011ECC100043);江苏高校优势学科建设工程资助项目(PAPD)
摘    要:介绍了现代肉牛企业信息管理系统中实用的串口通信技术和条码标签打印技术。在Visual C++6.0环境中用Microsoft Communication Control控件实现计算机与电子秤的串口通信,使计算机得到牛胴体或牛胴体分割肉的重量信息。然后利用Code128B条码规则实现重量、质量等级等信息的编码,并通过标签打印机把编码得到的条码打印出来。

关 键 词:电子秤  串口通信  Microsoft  Communication  Control  条码  Code128

Label Printing System of the beef cattle business based on serial port communication
LIANG Lin,SHEN Ming-xia,PENG Zeng-qi,CHEN Shi-jin,WU Hai-juan,WANG Wei,LIU Chao-chao,CHEN Qi-liang.Label Printing System of the beef cattle business based on serial port communication[J].Science and Technology of Food Industry,2012,33(8):339-343.
Authors:LIANG Lin  SHEN Ming-xia  PENG Zeng-qi  CHEN Shi-jin  WU Hai-juan  WANG Wei  LIU Chao-chao  CHEN Qi-liang
Affiliation:1.College of Engineering,Nanjing Agricultural University,Nanjing 210031,China;2.Key Laboratory of Agricultural and Animal Products Processing and Quality Control,Ministry of Agriculture,Nanjing Agricultural University,Nanjing 210095,China)
Abstract:The practical serial port communication and barcode in Information Management System for beef cattle business was introduced.The serial port communication between computer and electronic weighter was realized by Microsoft Communication Control,which was supplied by Visual C++6.0.Then,the weight data of beef carcass or beef carcass cut was received by the computer.Applying the rule of Code128B,the data of weight and quality grade was coded to barcode.Finally,the barcode could be printed by label printer.
Keywords:electronic weighter  serial port communication  Microsoft Communication Control  barcode  Code128
本文献已被 CNKI 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号