• 2024-05-16ModbusRTU从站扫描工具 python实现
    扫描指定串口下,有哪些modbusRTU服务端[1-247]frompymodbus.clientimportModbusSerialClientasModbusClientfrompymodbus.exceptionsimportModbusIOException,ConnectionException,NoSuchSlaveExceptionimporttimedefread_holding_registers(client,slave_addres
  • 2024-05-16ModbusTCP从站(服务端)扫描工具 python实现
    扫描指定IP网络下,有哪些modbusTCP服务端[1-247]frompymodbus.clientimportModbusTcpClientfrompymodbus.exceptionsimportModbusIOException,ConnectionException,NoSuchSlaveExceptionimporttimedefread_holding_registers(client,slave_address):""&quo
  • 2024-03-22AWTK-MODBUS 客户端工具
    AWTK-MODBUS客户端工具1.介绍AWTK-MODBUS客户端工具是一个用于测试MODBUS服务器的工具。它可以通过配置文件来执行一系列的操作,包括连接、读写寄存器、读写位等。启动方法:./bin/modbus_client./data/tcp.ini1.connect连接参数url:连接地址slave:从机ID(RT
  • 2024-03-09Qt 使用第三方libmodbus库实现Modbus通讯
    之前发表的Modbus通讯程序使用了QT自带的Modbus库,由于QT自带库的数据响应使用的是信号和槽来实现的,所以在一些读写频率较高的场景下,会引发很多异常问题,此篇文章使用C语言写的第三方Modbus库来实现modbus通讯。 经程序运行测试,调用该库进行modbus通讯完虐QT自带mosbus库。
  • 2024-02-02Modbus communication types
    AnIntroductiontotheModbusCommunicationProtocolhttps://www.solisplc.com/tutorials/modbusTheModbusOrganizationhttps://modbus.org/IntroductiontothemodbusprotocolOriginalequipmentmanufacturers(OEMs)allhaveproprietarycommunicationprot
  • 2023-12-10riscv gnu编译器
    官网https://github.com/riscv-collab/riscv-gnu-toolchain编译器基于RISC-V交叉编译器包括32bit和64bit两种类型,其中每种类型又包括裸机版本(newlib)和动态链接库版本(linuxglibc)newlib./configure--prefix=/opt/riscvmakeglibc#默认仅支持64位target./configure--
  • 2023-12-04【算法】远方来信,从数学表达式算法到汇编语法解释器
    在繁华的都市中,小悦作为一名软件工程师,每天都在这座钢筋水泥的森林里忙碌。她的生活似乎被工作和各种琐碎的事情填满了,但在这个繁忙的生活中,她总能在工作之余找到一些小小的乐趣。这天下班后,小悦收到了一封来自国外同学苏菲的email。邮件的内容让她的思绪一下子飘回了那个学习汇
  • 2023-10-24[VM] The JavaScript Virtual Machine
    TableofContentIntroudctiontoVMsCPU-UnderstandingthePysicalMachineVMs-Arrays,Objects,functions,prototypechainsDepotExplorer:collectingdatafromtheVMDeopt:CallingCoventions&InliningMegamohpism&InlineCache:Objectpro
  • 2023-09-16CUDA memories
    GlobalThere'salargeamountofglobalmemory.It'sslowertoaccessthanothermemorylikesharedandregisters.AllrunningthreadscanreadandwriteglobalmemoryandsocantheCPU.ThefunctionscudaMalloc,cudaFree,cudaMemcpy,cud
  • 2023-08-16RCC registers / F411
    RCCclockcontrolregisterRCC_CRRCCclockcontrolregisterRCC时钟控制寄存器RCC_PLLCFGRRCCPLLconfigurationregisterPLL配置寄存器RCC_CFGRRCCclockconfigurationregister时钟配置寄存器RCC_CIRRCCclockinterruptregisterRCC时钟中断寄存器
  • 2023-06-07【FSK通信】调频fsk通信系统附matlab代码
    ✅作者简介:热爱科研的Matlab仿真开发者,修心和技术同步精进,matlab项目合作可私信。
  • 2023-04-18内存屏障--- asm volatile("" ::: "memory")
    转载:(14条消息)内存屏障---asmvolatile("":::"memory")_"asm(:::\"memory\")"_咕噜咕噜斯基的博客-CSDN博客CompilermemorybarrierThesebarrierspreventacompilerfromreorderinginstructions,theydonotpreventreorderingbyCPU.T
  • 2023-01-03LLVM目标无关代码生成器The LLVM Target-Independent Code Generator
    LLVM目标无关代码生成器TheLLVMTarget-IndependentCodeGeneratorIntroductionRequiredcomponentsinthecodegeneratorThehigh-leveldesignofthecodeg
  • 2022-12-14CS:APP--Chapter03 : machine-level representation of program - part 1 basic(2)
    CS:APP--Chapter03:machine-levelrepresentationofprogram-part1basic(2)标签(空格分隔):CS:APP目录CS:APP--Chapter03:machine-levelrepresentationofpro
  • 2022-11-24smali指令设置空的静态方法采坑与解决
    如果直接删除会导致如下错误​​.methodpublicstatica()V​​​方法直接删除会导致如下错误​​anon-abstractmethodmusthaveatleast1instruction​​修改为.lo
  • 2022-08-26【Cortex-M】System Handler Priority Registers(SHRP)寄存器
    【SystemHandlerPriorityRegisters(SHRP)】TheSHPR1-SHPR3registerssettheprioritylevel,0to255,oftheexceptionhandlersthathaveconfigurablepriority