登录
首页 » C++ » 2路继电器控制程序

2路继电器控制程序

于 2023-08-22 发布 文件大小:58.36 MB
0 102
下载积分: 2 下载次数: 1

代码说明:

一.命令测试工具 CommandApp_USBRelay.exe 使用说明: 命令格式:CommandApp_USBRelay [设备序列号]  [操作类型]  [继电器开关] [参数说明] 设备序列号:每个设备有一个唯一的序列号,可以通过GuiApp_Chinese.exe或者GuiApp_English.exe程序获取 操作类型:  open--打开继电器, close-- 关闭继电器 继电器开关:01表示第一个继电器,02表示第二个继电器,... 255表示所有继电器动作 例如: 1. 打开序列号afEd5设备的第一路继电器 CommandApp_USBRelay  afEd5 open 01 2. 打开序列号afEd5设备的所有继电器 CommandApp_USBRelay  afEd5 open 255 3. 关闭序列号afEd5设备的第一路继电器 CommandApp_USBRelay  afEd5 close 01 4. 关闭序列号afEd5设备的所有继电器 CommandApp_USBRelay  afEd5 close 255 命令行工具执行完命令后,如果没有错误,则返回0, 否则返回 1 调用者可以根据该值判断执行是否正确 二、GuiApp_Chinese.exe或者GuiApp_English.exe 是带界面的测试程序 先使用“查找设备”按钮查询设备,然后从下拉列表框选择你需要操作的设备,然后点击“打开设备”,即可进行操作

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • BindingXML2
    载入xml数据,在wpf中实现导入xml文件(Loading xml data)
    2013-03-03 23:20:11下载
    积分:1
  • solve
    matlab用来解一般线性或者非线性方程的方法及应用公式。(matlab used to solve a general linear or nonlinear equations and application of formulas.)
    2012-06-08 10:42:52下载
    积分:1
  • 利用ADC采集通过USART1输出
    stm32f103 串口发送 adc采集的数据程序(stm32f103 serial send adc data acquisition procedures)
    2020-11-29 22:59:29下载
    积分:1
  • MyJob
    为了显示调试信息的方便,做了这个控件,用Message2Console函数向控件增加消息. 也可用SendMessage的方式向控件增加消息. 本MyBigJob只是为了测试这个控件. 这是我第三次上传这控件,改进了多个相同控件的兼容.(因为之前在响应函数里加了static) 这段代码是我学线程时做的. 线程方面学到的函数有:Sleep,WaitForSingleObject,SetEvent(To display debugging information easy to do this control, add a message to the control Message2Console function can also be used the the SendMessage way to add a message to the control. The MyBigJob just this is the third time I upload this control in order to test the controls. Improved more of the same control compatible (as before in the response function Riga static) this code I do learn thread. threading learned function: Sleep, WaitForSingleObject SetEvent)
    2012-10-01 14:48:48下载
    积分:1
  • code
    A little FAT32 Parser with some fuctions.
    2014-01-31 14:56:02下载
    积分:1
  • SARViewer
    通过GDAL读取常用遥感影像,如img,tiff,可实现读取显示和雷达影像处理的一些基本算法(Read through GDAL common remote sensing images, such as img, tiff, read the display and radar can achieve some of the basic image processing algorithms)
    2013-08-03 19:39:01下载
    积分:1
  • uartEcho
    am335x Startware 串口源码,针对am335x系列芯片(am335x Startware serial source for am335x series chip)
    2013-07-09 17:25:21下载
    积分:1
  • Acess数据库版本 - 副本
    通过串口对温湿度检测,实现对温湿度的检测和读取(The temperature and humidity can be detected and read by serial port.)
    2020-06-17 10:40:02下载
    积分:1
  • AVIh264
    将H264视频和AAC音频封装为AVI文件的源码(The source files to package H264 video and AAC audio into AVI file)
    2020-11-18 10:29:38下载
    积分:1
  • ShutDown
    SYSTEM SHUTDOWN Process
    2015-01-29 14:34:32下载
    积分:1
  • 696516资源总数
  • 106457会员总数
  • 15今日下载