随笔 - 435  文章 - 0  评论 - 110  阅读 - 62万 
02 2020 档案
仪表通讯中数字的几种表示方法
摘要:1. 用32位表示浮点数 vb 16进制和浮点数互相转换的方法 'IEEE754 浮点数 http://www.doc88.com/p-9902813307216.html, 0.98=3F 7A E1 47 'http://lostphp.com/hexconvert/ Private Funct 阅读全文
posted @ 2020-02-28 17:30 Gu 阅读(467) 评论(0) 推荐(0) 编辑
安装osTicket 工单系统
摘要:安装php/Apache是个痛苦的工作, 在win2008 32bit怎么也装不上. 改用Xampp,但win2008还是不行,我先在本地win7安装 下载了osTicket 放在C:\xampp\htdocs\osTicket http://localhost/osticket/ //GitExt 阅读全文
posted @ 2020-02-20 15:20 Gu 阅读(1273) 评论(0) 推荐(0) 编辑
电机知识
摘要:选择电机类型和型号时,设计师要考虑三个首要的因素 1.电机的最小和最大转速(还有加速度); 2.电机可以提供的最大扭矩,以及扭矩和速度曲线的关系; 3.电机操作(不用传感器和闭环控制时)的精确性和重复性; dc电机(有刷) 无刷直流电机(BLDC) PID(比例-积分-微分)校正算法 电机的接线方法 阅读全文
posted @ 2020-02-17 16:45 Gu 阅读(1360) 评论(0) 推荐(0) 编辑
Startup Survival Tips (转 )
摘要:I’m going to take the top reasons and make a series of posts which act as a postmortem of sorts. Hopefully, they can also serve as tips for anybody wh 阅读全文
posted @ 2020-02-17 15:21 Gu 阅读(162) 评论(0) 推荐(0) 编辑
删除SQL用户时,提醒 拥有一个或多个数据库。在删除该登录名之前,请更改相应数据库的所有者
摘要:在删除数据库用户时,提示: 标题: Microsoft SQL Server Management Studio登录名 '***' 拥有一个或多个数据库。在删除该登录名之前,请更改相应数据库的所有者。 (Microsoft SQL Server,错误: 15174) 解决办法: 假设要删除的用户名为 阅读全文
posted @ 2020-02-12 00:06 Gu 阅读(1090) 评论(0) 推荐(0) 编辑
serialport DataReceived事件
摘要:serialport DataReceived事件, 默认是收到一个byte就触发事件. lock (thisLock) { int len = sp.BytesToRead; if (len > 0) { Byte[] data = new Byte[len]; try { sp.Read(dat 阅读全文
posted @ 2020-02-06 13:43 Gu 阅读(1853) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示