登录
首页 » Others » 电源的上位机程控

电源的上位机程控

于 2021-11-05 发布
0 266
下载积分: 1 下载次数: 1

代码说明:

用VB 实现对电源的上位机控制,采集数据生成数据库

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

发表评论

0 个回复

  • HHT变换的三种方法 Matlab,包含CMD分解,希尔伯特黄方法时频分析
    我已经测试过了,setpath进matlab里,直接调用里面的函数。
    2020-12-11下载
    积分:1
  • Indy10.5.9
    Indy10.5.9 Indy最新版 Indy
    2021-05-06下载
    积分:1
  • ksvd算法代码
    稀疏分解;ksvd算法;matlab代码
    2020-12-12下载
    积分:1
  • PLC通讯实现-C#访OPCUA实现读写PLC
    1、包含C#实现OPCUA的Server和Client的核心代码。2、包含C#统一接口规范封装后的应用代码。
    2021-05-07下载
    积分:1
  • 基于Matlab读取标准RINEX格式的GPS星历数据
    基于Matlab读取标准RINEX格式的GPS星历数据,采用Matlab直接读取Rinex文件张妮,等基于 Matlab读取标准 RINEX格式的GPS星历数据navdata(i). day str2num(line(10: 12));Le Edit yie seb finds Helpnavdata(i). hour=str2num (line(13: 15));navdata(i). minute str2num(line(16: 18))navdata (i).second str2num (line(19: 22));navdata(i). af0= str2num(line(23: 41))2:s10122-0041.4e012]【5.917e012]t30e95a-012navdata(i). afl str2num (line(42: 60));4.480-00navdata(i). af2 str2num (line(61: 79));4.600T+00619.8348←[6.419e007line fgetl(fid); %o second linem…2107007]navdata(i). aode str2num(line(4: 22))205-00【--007[7.2643c0090.9161【0.922】navdata().crs str2num(line(23: 41))navdata (i).dn= str2num(line(42: 60))图3读取星历数据结果navdata(i) Anomaly str2num (line(61: 79))Fig 3 Reading result of ephemeris dat4)关闭文件 status= fclose(fid)。骤,利用 Matlab矩阵的计算优势,很方便地计算不同时刻卫22星历数据的读取星的坐标,此外,还可方便查看卫星导航表层信息,判断导航星历数据的读取采用结构体数组显示的相关命令读取,数据的质量。若要获取某个卫星的相关参数可输入如示例命令:>>navdata(1)。获取结果如图2所示,为1号卫星参数读取结果3结论利用 Matlab以矩阵为单位进行计算的优势对 RINEX文件进行读取,较其他语言简单易行,结果精确,程序可移植性好,便于后续数据处理,同时还可利用 Matlab的仿真功能,实现卫星动态变化的实时模拟afl:1.47T9e-012参考文献:[1]陈东银,刘立龙,陈雷.GPS导航定位技术中面向对象读取 RINEX格式数据!测绘与空间地理信,2009(6):41-43.chen DorInCHen Lei. An ohmethod of reading rineX formatdat in GPS navigation tech-图21号卫星参数读取结果nology [J]. Geomatics and Spatial Information TechnologyFig. 2 Reading result of parameter of satliete NO.2009(6):41-43也可利用 Matlab元包数组,将数据存放并显示出来,具|2 I Gurtner W. RINEX: The receiver independent exchange for体实现代码如下mat: Version 2.10[M] Canada: Astronomical Institute UniverFN=fieldnamesnavdata)sity of Berne, 2002size=size(FN)3]孟广祥,郭标明.CPS接收机(OEM)二进制文件向 RINEXnavdata year;文件的转换[,测绘工程,2009(10:18-21.nav data=cell(oh+1);MENG Guang-xiang. Guo Biao-ming. The transformationsIzefrom GPS receiver (OEM) binary data to RINEX file[J]. Enfor i= 2: noph +1gineering of Surveyying and Mapping, 2009(10): 18-21onavcell=char(navdata year)[4]陈桂珍,戴建军.GPS-OEM原始数据向 RINEX格式转换nav_data(n, 1= char(FN(n));的方法[测绘技术装备,2006(4):26-27nav_data n, i= navdata(i-1).(char(FN(n)))CHENG Gui-zhen, DAI Jian-jun. The transformation fromGPS-OEM orignal data to RINEX Format[J]. Surveying techendnical equipment, 2006(4): 26-27读取结果如图3所示。5]张志涌.精通 Matlab6.5[M]北京:北京航空航天大学出版采用 Matlab软件读 RINEX导航文件,可以将文件所有社,2004的数据用矩阵保存,数据的显示精度不仅不会影响计算精6 Chapman Stephen J. Matlab Programming for engineers [M度,而且可以随时修改,并可根据卫星坐标的计算公式和步北京:科学出版社,200325基于Ma1ab读取标准RINX格式的GPS星历数据旧万据WANFANG DATA文献链接作者张妮,王标标, ZHANG NI, WANG Biao-biao作者单位张妮, ZHANG Ni(西安工业大学北方信息工程学院,陕西,西安,710025),王标标, WANG Biaobiao(中国人民解放军96275部队,河南洛阳,471003)刊名:电子设计工程sTc英文刊名ELECTRONIC DESIGN ENGINEERING年,卷(期):2010,18(8参考文献(6条)1. Chapman Stephen J Matlab Programming for engineers 20032.张志涌精通 Matlab6.520043.陈桂珍;戴建军 GPS-OEM原始数据向 RINEX格式转换的方法[期刊论文]测绘技术装备2006(044.孟广祥;郭标明GPS接收机(OEM二进制文件向 RINEX文件的转换2009(10)5. Gurtner W RINEX: The receiver independent exchange format: Version 2.10 2002陈东银;刘立龙;陈雷GPS导航定位技术中面向对象读取 RINEX格式数据2009(06)本文链接http://d.g.wanfangdata.comcn/periodiCaldzsjgc201008007.aspx
    2020-11-02下载
    积分:1
  • 信息系统安全等级保护基本要求汇总(1级、2级、3级)思维导图
    对应22239-2008信息系统安全等级保护基本要求(1级、2级、3级),汇总为一张思维导图展示
    2020-12-05下载
    积分:1
  • HHT课件——国立中央大学
    很不错的HHT课程介绍以及hilbert-huang程序.
    2020-12-11下载
    积分:1
  • Building Trading Bots Using Java [2016]
    Building Trading Bots Using JavaEnglish | 6 Jan. 2017 | ISBN: 1484225198 | 300 Pages | PDF | 6.22 MBBuild an automated currency trading bot from scratch with java. In this book, you will learn about the nitty-gritty of automated trading and have a closer look at Java, the Spring Framework, event-Building Trading Bots Using Javahekhar VarshneyGrangesSwitzerlandISBN13(pbk):978-1-4842-2519-6ISBN-13(electronic): 978-1-4842-2520-2DOI10.1007/978-1-4842-2520-2Library of Congress Control Number: 2016961228Copyright o 2016 by Shekhar VarshneyThis work is subject to copyright All rights are reserved by the Publisher, whether the wholeor part of the material is concerned, specifically the rights of translation, reprinting, reuse ofillustrations, recitation, broadcasting, reproduction on microfilms or in any other physicalway, and transmission or information storage and retrieval, electronic adaptation, computersoftware, or by similar or dissimilar methodology now known or hereafter developedTrademarked names, logos, and images may appear in this book. Rather than use a trademarksymbol with every occurrence of a trademarked name, logo, or image we use the names, logos,nd images only in an editorial fashion and to the benefit of the trademark owner, with nointention of infringement of the trademarkThe use in this publication of trade names, trademarks, service marks, and similar terms, even ifthey are not identified as such, is not to be taken as an expression of opinion as to whetheror notthey are subject to proprietary rightsWhile the advice and information in this book are believed to be true and accurate at thedate of publication, neither the authors nor the editors nor the publisher can accept any legalresponsibility for any errors or omissions that may be made. The publisher makes no warranty,express or implied, with respect to the material contained hereinManaging Director: Welmoed SpahrLead Editor: Steve AnglinEditorial Board: Steve Anglin, Pramila Balan, Laura Berendson, Aaron Black, Louise Corrigan,Jonathan gennick, Robert Hutchinson, Celestin Suresh John, Nikhil KarkalJames Markham, Susan McDermott, Matthew Moodie, Natalie Pao, Gwenan SpearingCoordinating Editor: Mark PowersCopy Editor: Kezia EndsleyCompositor: SPi GlobalIndexer: SPi GlobaArtist: SPi GlobalDistributed to the book trade worldwide by Springer Science+ Business Media New York,233 Spring Street, 6th Floor, New York, NY 10013. Phone 1-800-SPRINGER, fax(201)348-4505e-mailorders-ny@springer-sbm.comorvisitwww.springeronline.com.ApressMedia,Llcisa California LlC and the sole member(owner) is Springer Science Business Media FinanceInc(SSBM Finance Inc). SSBM Finance Inc is a Delaware corporationForinformationontranslationspleasee-mailrights@apress.comorvisitwww.apress.comApress and friends of ed books may be purchased in bulk for academic, corporate, or promotionaluse eBook versions and licenses are also available for most titles For more information referenceourSpecialbUlkSales-ebookLicensingwebpageatwww.apress.com/bulk-salesAny source code or other supplementary materials referenced by the author in this text areavailabletoreadersatwww.apress.com.Fordetailedinformationabouthowtolocateyourbookssourcecodegotowww.apress.com/source-code/.ReaderscanalsoaccesssourcecodeatSpringerlink in the Supplementary Material section for each chapter.Printed on acid-free paperedicated to the angels in my lifemy mother, my wife Preshita, and my two daughters Mihika and anyaLast but not the least, my college professor, Dr. Rajat Moona,who sowed the seeds of computer programming in my dnaContents at a glanceAbout the authorChapter 1: Introduction to Trading Bota.Chapter 2: Account Management27Chapter 3: Tradeable Instruments47Chapter 4: Event Streaming: Market Data EventsChapter 5: Historic Instrument Market Data aeEERaar75Chapter 6: Placing Orders and trades97Chapter 7: Event Streaming: Trade/Order/Account Events159Chapter 8: Integration with Twitter aamna■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■175Chapter 9: Implementing Strategies.am.203Chapter 10: Heartbeating ammmmmmmmmmmn 219Chapter 11: E-Mail Notifications ammmmatmmammmmmmmnmamman 231Chapter 12: Configuration, Deployment, and Running the Bot 243Chapter 13: Unit Testing■■■■■■■■■■■■口■■■■■■■■■■■■■■■■■■■口■■■■■■■■■■■■■■■■■■口■■■■■263Index…277ContentsAbout the author,i币Chapter 1: Introduction to Trading Bot m mmmemmIRD■■■■■■■■■■■■■■■■■■■■■■■■■What Is a Trading Bot?Why do We need a trading bot?...3The capabilities of the Trading BotDesign goalsCode organization and software Stack Used .OANDA REST API as Reference Implementation.m....ammann. 8Opening an oanda practice Account80 ANDA JS0 N Keys…………Constructor Dependencies for OANDA Implementations15Event-Driven architectureG0 ogle eventBus…18Provider helper Interface20Trading Config class.........mmonann......mtnonnn.......tnn 22Obtaining the Source Code.aaeeaaaee... 24Try It Yourself section..aaaaaa.. 24Chapter 2: Account Managementa27Account provider interface31A Concrete Implementation for AccountDataProvider32Encapsulating Everything Behind a Generic AccountlnfoService37Try It yourself43VIlCONTENTSChapter 3: Tradeable Instruments47InstrumentA Concrete Implementation for InstrumentDataProvider52Encapsulating Everything Behind a Generic Instrumentservice56Try It yourself58Chapter 4: Event Streaming: Market Data Events mmmmmmmmmm. 61Streaming Market Data Interface.A Concrete Implementation for MarketData StreamingService .m..63Downstream Market data event disseminationMarketEventcallback……69Try It Yourself,…70Chapter 5: Historic Instrument Market Data mmmmmmmm 75How to read a candlestick75Enum Defining the Candlestick Granularity76Define pojo to hold candlestick information77Historical Data Provider Interface79A Concrete Implementation for HistoricMarketDataProvidern81Discussion An Alternate Database Implementation85Candlesticks for Moving Average Calculations....88MovingAverage calculation Service89Try lt YourselfChapter 6: Placing Orders and Trades■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■97Order pojo definition98Order Management provider Interface101A Concrete Implementation for Order ManagementProvider,103A Simple orderInfoService,115CONTENTSValidating Orders Before Execution: PreOrderValidationService... 116Putting It All Together in an OrderExecution Service .mmmm... 121Trade pojo definition124Trade Management provider Interface127A Concrete Implementation for TradeManagementProvider129Encapsulating Read Operations Behind TradelnfoService.....m. 136Try It yourself144Chapter 7: Event Streaming: Trade/order/Account Events m 159Streaming Event Interface161A Concrete Implementation for Events StreamingService162Try It Yourself171Chapter 8: Integration with Twitter■■■■■■■■■■■■■■■■■■■■175Creating a Twitter Application175Spring Social180Using and Configuring Spring Social180Harvesting FX Tweets181Tweetharvester Interface wmmm. 185XTWeethandler Interface,,,………AbstractFxtweethandler base class186User-Specific TweetHandlersTry lt Yourself.Chapter 9: Implementing Strategies.aa203Copy Twitter Strategy204Fade the Move Strategy210Try It Yourself214CONTENTSChapter 10: Heartbeating ammammmmmmmmmmmmmmm 219HeartBeatPayload. ..m......m. 219Streaming the Heartbeat Interface220A Concrete Implementation for HeartBeatstreamingService221HeartBeatcallback Interface223DefaultheartBeatservice223Try It Yourself226Chapter 11: E-Mail notifications n231Notification Design.EmailPayLoad poJoEmailContentgenerator interface……232Sample Implementations.EventEmailNotifier service mm...m. 235Try It Yourself.237Chapter 12: Configuration, Deployment, and running the bot m 243Configuring the Trading Bot243Core Beans configuration244Twitter-Related Beans Configuration.....................247Provider Beans Configuration248Strategies configuration…254Services Configuration254Building the Bot...,,,,,…,,……256Running the bot.....,,……259CONTENTSChapter 13: Unit Testinga263Using Mockito as a Mocking Framework.Mocking Http iNteraction..............m....................e........................ 264Mocking Streams.The versatile verify Mockit0…....,.,,…271Mocking Twitter Interaction .EclEmma Code Coverage Tool for Eclipse ide.nDDDDDDDDDm274Index■■■■■■■■■■■■■■■■■■■口En277
    2020-12-07下载
    积分:1
  • M序列 multisim仿真 源文件
    M为7的序列,可用于2DPSK调制的基带信号
    2020-12-09下载
    积分:1
  • dxf参考手册(中文版)
    这是中文版的dxf参考手册,格式为.chm。
    2021-05-06下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载