检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]上海大学机电工程与自动化学院,上海100072
出 处:《工业控制计算机》2015年第12期46-47,共2页Industrial Control Computer
摘 要:Lab VIEW可以实现对串口数据的采集与保存,将其与电子天平相连时,即可记录质量的变化。然而,由于串口的数据是通过字符串的形式输出,因此当将串口读入的数据通过图表来显示时,往往会由于字符串的不完整,使得输出的质量位数缺失,甚至会导致数量级上的误差。这使得输出的图表出现激变。通过对字符串的截取、分割与再拼接,实现数据准确、实时地直观显示。Lab VIEW is a tool that can collect and save data.When connected to balance,it can record the change of the weight.However,the date coming from serial port is given as a string,and the output always presents incompletion,which results in the miss of data bits. The miss could even affect order of magnitude frequently.It is common to find that the output curve changes drastically,when turn the data into graph through Lab VIEW.This paper shows a method to picture the data from balance through serial port,by cutting out,segmenting and splicing the string.
分 类 号:TP274[自动化与计算机技术—检测技术与自动化装置]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.49