行业新闻

MCGS 问题:在运行的时候是否可以查看设备的通讯状态?

问题:
<div .="" ..="" _version="1.0.6" );"="" background-attachment:="" background-clip:="" background-origin:="" background-position:="" background-repeat:="" background-size:="" body="" class="questions-ask-main" div="" float:="" id="cke_pastebin" img="" right="" style="border: none; margin: 0px; padding: 0px; border-collapse: collapse; background-image: url(" width:="">在运行的时候是否可以查看设备的通讯状态?
回答:
在MCGS所有的非板卡类的设备(部分定制设备除外)中,第一个通道都是通讯状态通道。就是说,在进入运行环境后,设备驱动程序开始工作后,此通道内返回的是设备的通讯状态,例如0表示设备通讯正常,非0表示不正常。