登录
首页 » Java » read-data-from-sarial-port

read-data-from-sarial-port

于 2016-11-21 发布 文件大小:2679KB
0 139
下载积分: 1 下载次数: 2

代码说明:

  使用RXTX技术,pc端接收上位机发送来的二进制数据,进行读取,按照协议进行解析,并进行显示、存储,导出为excel文件。(Use RXTX technology, pc terminal receiving PC to send binary data, read, according to the protocol analysis, and display, storage, export to excel file.)

文件列表:

SarialPort_BMS
..............\.classpath,548,2016-06-02
..............\.project,390,2016-07-01
..............\bin
..............\...\bean
..............\...\....\cellData.class,775,2016-11-04
..............\...\....\PortParameters.class,820,2016-11-04
..............\...\mainFunction
..............\...\............\upperIn$1.class,1250,2016-11-04
..............\...\............\upperIn.class,543,2016-11-04
..............\...\otherComponent
..............\...\..............\batteryPacketInforPanel.class,1879,2016-11-04
..............\...\..............\cellInforPanel.class,1610,2016-11-04
..............\...\..............\cellTableInfor.class,2214,2016-11-04
..............\...\..............\cellTables.class,3752,2016-11-04
..............\...\..............\DataList.class,281,2016-11-04
..............\...\..............\ExportDataPanel$1.class,1627,2016-11-04
..............\...\..............\ExportDataPanel$2.class,3470,2016-11-04
..............\...\..............\ExportDataPanel$3$1.class,1962,2016-11-04
..............\...\..............\ExportDataPanel$3.class,4501,2016-11-04
..............\...\..............\ExportDataPanel$4.class,2424,2016-11-04
..............\...\..............\ExportDataPanel.class,5736,2016-11-04
..............\...\..............\linkPanel$1.class,3561,2016-11-04
..............\...\..............\linkPanel.class,3473,2016-11-04
..............\...\..............\mainFrame.class,1836,2016-11-04
..............\...\..............\myTableCellRenderer.class,885,2016-11-04
..............\...\..............\myTableCellRenderer2.class,973,2016-11-04
..............\...\..............\packetTable.class,2212,2016-11-04
..............\...\pot.properties,42,2016-05-28
..............\...\thread
..............\...\......\modifyCellTable.class,1448,2016-11-04
..............\...\......\modifyPacketData.class,1485,2016-11-04
..............\...\......\SPComm.class,3389,2016-11-04
..............\...\......\Storage.class,1374,2016-11-04
..............\...\......\writeToFile.class,6563,2016-11-04
..............\...\utils
..............\...\.....\potUtils.class,1607,2016-11-04
..............\...\.....\propertiesUtil.class,1764,2016-11-04
..............\...\.....\stringUtils.class,925,2016-11-04
..............\...\.....\txtToExcel.class,6101,2016-11-04
..............\...\.....\txtUtil.class,3311,2016-11-04
..............\...\.....\windowUtil.class,267,2016-11-04
..............\lib
..............\...\jxl.jar,680408,2016-06-02
..............\...\poi-3.11-20141221.jar,2080419,2016-06-02
..............\...\RXTXcomm.jar,60984,2016-05-26
..............\multiplePacketData
..............\..................\2016
..............\..................\....\5
..............\..................\....\.\3
..............\..................\....\.\.\1.txt,28444,2016-06-03
..............\..................\....\.\.\2.txt,15499,2016-06-03
..............\..................\....\.\4
..............\..................\....\.\.\1.txt,12845,2016-06-04
..............\..................\....\.\.\2.txt,7664,2016-06-04
..............\..................\....\6
..............\..................\....\.\21
..............\..................\....\.\..\1.txt,227266,2016-06-21
..............\..................\....\.\..\2.txt,139620,2016-06-21
..............\..................\....\.\22
..............\..................\....\.\..\1.txt,3466,2016-06-22
..............\..................\....\.\..\2.txt,2129,2016-06-22
..............\..................\....\.\24
..............\..................\....\.\..\1.txt,0,2016-06-24
..............\..................\....\.\..\2.txt,0,2016-06-24
..............\..................\....\.\3
..............\..................\....\.\.\1.txt,28444,2016-06-03
..............\..................\....\.\.\2.txt,15499,2016-06-03
..............\..................\....\.\4
..............\..................\....\.\.\1.txt,12845,2016-06-04
..............\..................\....\.\.\2.txt,7664,2016-06-04
..............\..................\....\7
..............\..................\....\.\2
..............\..................\....\.\.\1.txt,0,2016-07-02
..............\..................\....\.\.\2.txt,0,2016-07-02
..............\picture

..............\SinglePacketData
..............\................\2016
..............\................\....\5
..............\................\....\.\3.txt,7744,2016-06-03
..............\................\....\.\4.txt,9760,2016-06-04
..............\................\....\6
..............\................\....\.\21.txt,181404,2016-06-21
..............\................\....\.\22.txt,1208,2016-06-22
..............\................\....\.\24.txt,0,2016-06-24
..............\................\....\.\3.txt,7744,2016-06-03
..............\................\....\.\4.txt,9760,2016-06-04
..............\................\....\7
..............\................\....\.\2.txt,0,2016-07-02
..............\src
..............\...\bean
..............\...\....\cellData.java,406,2016-06-06
..............\...\....\PortParameters.java,508,2016-06-24
..............\...\mainFunction
..............\...\............\upperIn.java,871,2016-07-01
..............\...\otherComponent
..............\...\..............\batteryPacketInforPanel.java,1390,2016-06-06
..............\...\..............\cellInforPanel.java,1187,2016-05-31
..............\...\..............\cellTableInfor.java,1678,2016-06-06

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • cpp
    首先通过文件操作,读取文件内容,把字符逐个提取后统计字符频率,建立哈夫曼树和进行哈夫曼编码,当然这是根据ASCII编码来将字符转换为二进制,然后实现前缀编码,然后把编码后的使用二进制流写入相应文件(First through file operations, read the file content, the characters one by one after extracting character frequency statistics, establish a Huffman tree and Huffman encoding, and, of course, this is according to ASCII code to convert characters to the binary, then realize the prefix encoding, and then the encoded using binary stream into the corresponding files )
    2013-12-01 14:18:04下载
    积分:1
  • DebugScissor
    我想很多程序员都遇到这种情况:新建了很多工程,编译后生成了很多的Debug、Release,想删除的时候一个个文件夹打开,删除,太累啦~~~!!不删又占空间!!我也“深受其害”,今天实在无法忍受了,写个程序,自动删,呵呵。 使用时把它放在你想清理的文件夹里面,运行后它会自动搜索子文件夹,直到完成,使用时请小心,它看见Debug、release就删,呵呵,所以如果不想删除,就不要用这个名字啊!! 主要用了一些文件操作和文件夹操作(I think many programmers have experienced this situation: a lot of new projects has become a much later compiler Debug, Release, would like to delete a folder when opened, deleted, tired啦~ ~ ~! ! Do not cut and space! ! I also " suffer" , this really could not bear, and write a program to automatically delete, huh, huh. Put it in when you want to clean up inside the folder, it will automatically run the search sub-folders until completed, when used with care, it is to see Debug, release on the cut, huh, huh, so if you do not want to delete, do not use name ah! !)
    2009-05-08 20:40:06下载
    积分:1
  • apdlaa
    ANSYS的APDL参数化建模,介绍了ANSYS中用APDL建模的基本思想,提出格式表准化建议(ANSYS APDL parameters of the modeling, using ANSYS APDL model introduced the basic idea, put forward proposals standardized format table)
    2011-01-29 17:23:19下载
    积分:1
  • ReadExcelandPrint
    一个有关EXCEL表打印的和读取的实现程序(an Excel table of the print and read the program to realize)
    2007-03-04 11:12:28下载
    积分:1
  • wenjianweihuyingyong
    说明:  文件维护应用程序(包括文件的拷贝,改名,删除等)(file maintenance applications (including copy paper, renamed, deleted, etc.))
    2006-03-14 14:55:55下载
    积分:1
  • MyLib
    针对Windows下的文件夹,可以创建、删除、复复制、查找、枚举等操作(For Windows folder, you can opetate it as create, delete, multiple copy, find, enumeration and so on)
    2013-02-24 13:47:00下载
    积分:1
  • CPP-File-operation
    C++标准语言中对文件的输入输出控制,也是标准的IO流。(C++ language standard input-output control file is also standard IO streams.)
    2014-07-09 10:34:42下载
    积分:1
  • Encryption-and-decryption
    读入指定的源代码文件,统计输出关键字,并将结果输出到指定txt文件中(Read into the specified source code files, statistical output keywords, and outputs the results to a designated txt file)
    2014-03-19 19:01:12下载
    积分:1
  • CPP
    学习资料标准C++输入输出流和本地化的程序员手册,附有完整相关类、函数、模板和头文件(learning C++ Standard input and output streams and localized Programmer s GuideTemplate function class header file)
    2014-12-11 17:26:15下载
    积分:1
  • hujunhengshijishuju
    时移地震,子波校正,相位校正,振幅校正,频率一致性(Time-lapse seismic, sub-wave correction, phase correction, amplitude correction, frequency, consistency)
    2010-03-08 15:04:16下载
    积分:1
  • 696518资源总数
  • 104287会员总数
  • 49今日下载