摘要:
针对传统上位机和下位机串行通信设计中,MCU数据处理能力不强和上位机程序设计复杂、开发时间长、调试和维护不易的问题,提出了一种基于LABVIEW和DSP的串行通信设计方案。该方案以DSP作为下位机控制核心,设计了串行通信硬件插口和下位机串行通信软件,采用PC机作为上位机,基于LABVIEW2012开发环境,进行了上位机串行通信软件开发,并进行了集成测试与验证。实践结果表明,该方案具有运行稳定可靠、可扩充性强、成本低、便于维护等优点。
关键词:DSPLABVIEW串行通信;VISA;RS232RS485
DOI:
基金项目:
ResearchofSerialCommunicationBasedonDSPandLABVIEW
()
Abstract:
Inordertosolvetheproblems,suchaslow-leveldataprocessingabilityofMCU,complextprogramdesign,longdevelopmenttimeanddifficultdebuggingandmaintenanceofthehostcomputerserialcommunication,onesolutionoftheserialcommunicationdesignwasputforwardonthebasisofDSPandLABVIEW.TheDSPwasselectedasthelowercomputercontrolcore,theserialcommunicationhardwareinterfaceandsoftwareweredesigned.BasedontheLABVIEW2012,theserialcommunicationsoftwarewasdesignedwiththecomputerastheuppercomputer.Finally,thesystemwastestedandverified.Bytesting,thesystemhastheadvantagesofhigherstability,betterreliability,strongexpansibility,lowcostandconvenientmaintenance.
Keywords:DSPLABVIEWserialcommunicationVISARS232RS485