zoukankan      html  css  js  c++  java
  • IOC port

        * If you're using an Ethernet/RS-232 converter or a device which communicates over a telnet-style socket connection you need to specify the Internet host and port number like:

              drvAsynIPPortConfigure("L0","164.54.9.91:4002",0,0,0)

        * If you're using a serial line directly attached to the IOC you need something like:

              drvAsynSerialPortConfigure("L0","/dev/ttyS0",0,0,0)
              asynSetOption("L0", -1, "baud", "9600")
              asynSetOption("L0", -1, "bits", "8")
              asynSetOption("L0", -1, "parity", "none")
              asynSetOption("L0", -1, "stop", "1")
              asynSetOption("L0", -1, "clocal", "Y")
              asynSetOption("L0", -1, "crtscts", "N")

        * If you're using a serial line directly attached to a vxWorks IOC you must first configure the serial port interface hardware. The following example shows the commands to configure a port on a GreenSprings UART Industry-Pack module.

              ipacAddVIPC616_01("0x6000,B0000000")
              tyGSOctalDrv(1)
              tyGSOctalModuleInit("RS232", 0x80, 0, 0)
              tyGSOctalDevCreate("/tyGS/0/0",0,0,1000,1000)
              drvAsynSerialPortConfigure("L0","/tyGS/0/0",0,0,0)
              asynSetOption("L0",-1,"baud","9600")

  • 相关阅读:
    as3.0 网络通信
    flash显示html
    [javascript]对象
    hibernate
    远程服务
    [mysql]笔记1
    [笔记]深入剖析Tomcat-tomcat的默认连接器,servlet容器
    [java]关于访问权限
    [笔记]http权威指南(2)
    [笔记]http权威指南
  • 原文地址:https://www.cnblogs.com/greencolor/p/2507121.html
Copyright © 2011-2022 走看看