CONTEC牌子的数字量输入输出模块DIO-0808RN-USB,现我想用vb来驱动此通信模块,不知道如何驱动编写代码,求请教!谢谢!

解决方案 »

  1.   

    要用此模块来进行通信,比如程序测试结果OK给此通信模块发送OK字符,NG则发送NG字符,该如何编写相互间的通信代码,对串口通信不熟悉,所以请教
      

  2.   

    看来这个设备应该有个光盘,或者官网上有下载一个接口程序,是个dll,通讯用这个dll来实现的
    ========================================================================
    Windows version of digital I/O driver API-DIO(WDM) 
    [Stored on the bundled CD-ROM driver library 
    API-USBP(WDM)] 
    It is the library software, and which supplies command of 
    hardware produced by our company in the form of standard 
    Win32 API function (DLL). Using programming languages 
    supporting Win32API functions, such as Visual Basic and 
    Visual C++ etc., you can develop high-speed application 
    software with feature of hardware produced by our company. 
    In addition, you can verify the operation of hardware using 
    Diagnostic programs. 
    < Operating environment > 
    OS Windows 7, Server 2008, Vista, XP, 
    Server 2003 .etc 
    Adaptation language Visual Basic, Visual C++, Visual C# .etc 
    You can download the updated version from the CONTEC’s 
    Web site (http://www.contec.com/product/device/apiusbp/). For 
    more details on the supported OS, applicable language and 
    new information, please visit the CONTEC’s Web site. 
    Data acquisition VI library for LabVIEW VI-DAQ (Available 
    for downloading (free of charge) from the CONTEC web 
    site.) 
    This is a VI library to use in National Instruments LabVIEW. 
    VI-DAQ is created with a function form similar to that of 
    LabVIEW's Data Acquisition VI, allowing you to use various 
    devices without complicated settings. 
    See http://www.contec.com/vidaq/ for details and download of 
    VI-DAQ.