DCS系统模块卡件DS200TBQAG1A1RST终端板

413 篇文章 0 订阅
377 篇文章 0 订阅

 

                                     产品详情资料

DS200TBQAG1A DS200TBQAG1

读取字符串函数(4403)此函数导致从***端口读取字符,直到接收到***的终止字符。字符从内部输入缓冲区中读取并放置在***的输入数据区中。该函数返回检索到的字符数和仍在输入缓冲区中的未处理字符数。如果请求输入的字符为零,则只返回输入缓冲区中未处理的字符数。如果终止字符不在输入缓冲区中,则在接收到终止字符或超时间隔到期之前,操作状态不会完成。在这两种情况中,端口状态都表示读取操作完成的原因。如果超时间隔设置为零,COMMREQ将保持挂起状态,直到它接收到请求的字符串,并以***的结束字符终止。DS200TBQAG1A DS200TBQAG1

                                产品英文详情料:

DS200TBQAG1A DS200TBQAG1Read String Function (4403) This function causes characters to be read from the specified port until a specified terminating character is received. The characters are read from the internal input buffer and placed in the specified input data area. The function returns both the number of characters retrieved and the number of unprocessed characters still in the input buffer. If zero characters of input are requested, only the number of unprocessed characters in the input buffer is returned. If the terminating character is not in the input buffer, the status of the operation is not complete until either the terminating character has been received or the time-out interval expires. In either of those conditions, the port status indicates the reason for completion of the read operation. If the time-out interval is set to zero, the COMMREQ remains pending until it has received the requested string, terminated by the specified end character.DS200TBQAG1A DS200TBQAG1

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值