NPORT5230编程要点

更新时间:2023-05-17 08:52:04 阅读: 评论:0

NPORT5230编程要点:
服务器控制:
一、 初始化:Declare  Function nsio_init “IPSerial.dll” () as  long
          NSIO_OK(0): OK;
石油是怎么形成的NSIO_SOCK_INIT_FAIL(-201):    Socket initialize error.
          NSIO_THREAD_ERR-3):Create background thread fail.
二、 结束:Declare Function nsio_end "IPSerial.dll" () As Long
          NSIO_OK(0): OK;
          NSIO_SOCK_ERR(-202):Communication with NPort error
三、 复位:Declare Function nsio_retrver "IPSerial.dll" (ByVal rver_ip As String, ByVal        password As String) As Long
房屋交易合同
          NSIO_OK(0): OK;
          NSIO_TIMEOUT(-203):Communication with NPort timeout
          NSIO_NOT_ALIVE(-102):NPort is not alive. Maybe the NPort is power down or network cable is disconnected  天人互动
          NSIO_SOCK_ERR(-202):Communication with NPort error
四、 是否活动:Declare Function nsio_checkalive "IPSerial.dll" (ByVal rver_ip As String, ByVal 党风廉政谈心谈话timeout As Long) As Long
          rver_ip: NPort IP address, specified by null terminated string. Ex: "192.168.127.254".
timeout: The timeout value for connecting NPort in milliconds. 
NSIO_OK(0): OK;
NSIO_SOCK_ERR(-202):Communication with NPort error
NSIO_TIMEOUT(-203):Communication with NPort timeout
恋空电影NSIO_NOT_ALIVE(-102):NPort is not alive. Maybe the NPort is power down or network cable is disconnected
端口控制:
一、 打开端口:Declare Function nsio_open "IPSerial.dll" (ByVal rver_ip As String, ByVal port_index As Long, ByVal 与的拼音timeouts As Long) As Long
      rver_ip: NPort IP address, specified by null terminated string. Ex: "192.168.127.254".
port_index: The rial port number of the NPort. 1 for 1st port, 2 for 2nd port, and so on. 
Timeouts: The timeout value for communicate with NPort in milliconds. 
Succeed:Port id.
活字开头的成语NSIO_BADPARM(-2):Bad parameter
NSIO_MEMALLOCERR(-4):memory allocate error
NSIO_SOCK_INIT_FAIL(-201):    Socket initialize error.
NSIO_CONNECT_FAIL(-200):Connect to NPort fail. Maybe the NPortis power down or network cable is disconnected.
樱花的季节NSIO_SOCK_ERR(-202):Communication with NPort error
NSIO_TIMEOUT(-203):Communication with NPort timeout

本文发布于:2023-05-17 08:52:04,感谢您对本站的认可!

本文链接:https://www.wtabcd.cn/fanwen/fan/82/665553.html

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

标签:端口   控制   活字
相关文章
留言与评论(共有 0 条评论)
   
验证码:
推荐文章
排行榜
Copyright ©2019-2022 Comsenz Inc.Powered by © 专利检索| 网站地图