DELPHI盒子
!实时搜索: 盒子论坛 | 注册用户 | 修改信息 | 退出
检举帖 | 全文检索 | 关闭广告 | 捐赠
技术论坛
 用户名
 密  码
自动登陆(30天有效)
忘了密码
≡技术区≡
DELPHI技术
lazarus/fpc/Free Pascal
移动应用开发
Web应用开发
数据库专区
报表专区
网络通讯
开源项目
论坛精华贴
≡发布区≡
发布代码
发布控件
文档资料
经典工具
≡事务区≡
网站意见
盒子之家
招聘应聘
信息交换
论坛信息
最新加入: cuiqingbo
今日帖子: 18
在线用户: 10
导航: 论坛 -> DELPHI技术 斑竹:liumazi,sephil  
作者:
男 fcrane (F_C_R_A_N_E) ★☆☆☆☆ -
普通会员
2019/6/8 9:53:14
标题:
nrCommLib Pro v 9.48  delphi10.3下可用 浏览:1667
加入我的收藏
楼主: nrCommLib是个好东西
我只是拿来做串口通讯使用,发现比其他很多控件都好用

在网上找了好久,都没找到适合delphi 10.3下使用的,无奈只能自己一步步编译。
费了不少劲,终于成功了。
希望对大家能有帮助。

链接:https://pan.baidu.com/s/1xlshsS8QeERQNGfCN6QsQw  密码:zw23
----------------------------------------------
-
作者:
男 glwang (glwang) ★☆☆☆☆ -
盒子活跃会员
2019/6/10 11:14:50
1楼: 谁有这个控件串口收发16进制字符串,例如:$FE $51 $28的示例啊?官方自带的sendstring函数发送后没效果按此在新窗口浏览图片
----------------------------------------------
作者:
男 dmzn (dmzn) ★☆☆☆☆ -
盒子活跃会员
2019/6/10 11:32:27
2楼: //Date: 2019-06-03
//Parm: 以空格分隔的十六进制字符串
//Desc: 使用nHex构建字符串
class function TStringHelper.ByHex(const nHex: string): string;
const cChars = [#32, #13, #10]; //spit char
var nStr: string;
    nIdx,nHi,nPos: Integer;
begin
  Result := '';
  nHi := High(nHex);
  if nHi < cFI then Exit;

  nPos := cFI;
  for nIdx:=cFI to nHi do
  begin
    if not CharInSet(nHex[nIdx], ['0'..'9','a'..'f', 'A'..'F'] + cChars) then
    begin
      nPos := nIdx + 1;
      Continue;
    end;

    if CharInSet(nHex[nIdx], cChars) or (nIdx = nHi) then
    begin
      if not CharInSet(nHex[nPos], cChars) then
      begin
        if CharInSet(nHex[nIdx], cChars) then
          nStr := Copy(nHex, nPos, nIdx - nPos)
        else nStr := Copy(nHex, nPos, nIdx - nPos + 1);

        if Length(nStr) = 2 then
          Result := Result + Char(StrToInt('$' + nStr));
        //xxxxx
      end;

      nPos := nIdx;
    end else
    begin
      if CharInSet(nHex[nPos], cChars) then
        nPos := nIdx;
      //xxxxx
    end;
  end;
end;
----------------------------------------------
生活愉快.
作者:
男 bigboy2050 (bigboy2050) ★☆☆☆☆ -
普通会员
2019/6/10 14:29:03
3楼: 俺用免费开源的 tcomport 也很爽。。。
----------------------------------------------
kittyapp
作者:
男 lilicai (llc) ★☆☆☆☆ -
普通会员
2019/10/23 23:56:42
4楼: 10.3.2安装错误
----------------------------------------------
能严重看待问题,就能严肃对待问题!http://www.qicaisoft.com
作者:
男 emailx45 (emailx45) ▲▲▲▲△ -
普通会员
2019/10/24 9:13:41
5楼: http://dl.downloadly.ir/Files/Software2/nrCommLib_Pro_9.48_Delphi_10.3_Rio_Full_Source_Downloadly.ir.rar
----------------------------------------------
The higher the degree, the greater the respect given to the humblest!RAD 11.3
作者:
男 yaodp (sxxdl) ▲▲△△△ -
普通会员
2020/9/17 23:13:36
6楼: 我的也是sendstring没反应,接收没有问题,不知道什么问题
----------------------------------------------
-
作者:
男 yaodp (sxxdl) ▲▲△△△ -
普通会员
2020/9/18 9:32:09
7楼: 说明:用emailx45发布的下面控件测试sendstring不成功;
http://dl.downloadly.ir/Files/Software2/nrCommLib_Pro_9.48_Delphi_10.3_Rio_Full_Source_Downloadly.ir.rar
----------------------------------------------
-
作者:
男 yaodp (sxxdl) ▲▲△△△ -
普通会员
2020/9/18 16:04:05
8楼: 更正一下:sendstring可以发送成功,我的控件设置不对,需要把streamprotoc0l设置为none
----------------------------------------------
-
作者:
男 xhl (xhl) ★☆☆☆☆ -
盒子活跃会员
2020/9/20 17:07:02
9楼: 标记下
----------------------------------------------
-
信息
登陆以后才能回复
Copyright © 2CCC.Com 盒子论坛 v3.0.1 版权所有 页面执行62.5毫秒 RSS