【正文】
庫(kù)應(yīng)用程序可以在 ODBC 接口中直接調(diào)用函數(shù)進(jìn)行數(shù)據(jù)處理。amp。數(shù)據(jù)讀取有讀取某一行或 者 某 一 列 , 語(yǔ)句 ()。 第二步新建 Excel文件名及路徑,此處程序設(shè)計(jì)為存放于 C盤中,暫定 TestSheet為內(nèi)部表名。 CSpreadSheet 封裝類之所以能夠方便的操作 Excel 表格類數(shù)據(jù)也得歸功于其中Excel 專用函數(shù) : bool ReplaceRows(CStringArray amp。 c) .替代、插入、追加數(shù)據(jù)到 Excel 文件或者文本特征文件中。 圖 表格共 20 行 *4 列數(shù)據(jù),標(biāo)題信息 分別為連接器、連接器端口、測(cè)試箱、測(cè)試箱端口。 軟件系統(tǒng)數(shù)據(jù)清單( Excel 格式)導(dǎo)入的程序設(shè)計(jì) 上位機(jī)應(yīng)用軟件的工作流程一開(kāi)始就是邏輯關(guān)系的導(dǎo)入,首先讀取外部電氣參數(shù)文件,獲取數(shù)據(jù)文件格 式信息 ,或者在監(jiān)控界面上設(shè)置數(shù)據(jù)文件參數(shù)及對(duì)話框,輸入調(diào)整數(shù)據(jù)文件格式信息及數(shù)據(jù)檢測(cè)信息, 之后 開(kāi)始 讀電氣柜邏輯布線連接清單表,對(duì)讀入的數(shù)據(jù)作規(guī)格化處理,正確辨識(shí)各種特殊符號(hào),使其符合程序處理要求,并能識(shí)別錯(cuò)誤的輸入。通過(guò)分塊 ,軟件系統(tǒng)模塊主要分為監(jiān)控模塊、邏輯處理模塊、數(shù)據(jù)庫(kù)管理模塊、通訊控制模塊四個(gè)部 分。電源控制箱采用以 430單片機(jī)為核心的控制電路,實(shí)現(xiàn) 110V測(cè)試電源和 24V測(cè)試電源的通斷控制。該課題主要完成軟件系統(tǒng)設(shè)計(jì)的任務(wù),所以在第三部分給出了設(shè)計(jì)工作的詳細(xì)講解。 電氣控制柜的簡(jiǎn)介 所謂電氣控制柜,是指按照一 定的電氣邏輯關(guān)系,通過(guò)設(shè)計(jì)特定功能的操作軟件系統(tǒng),將電源和開(kāi)關(guān)( 配電部分 ) 、保護(hù)線路部分、斷路器、繼電器以及變頻器等電氣元件組合起來(lái)的一系列成套設(shè)備(低壓、高壓),并且能夠根據(jù)不同的邏輯需求來(lái)設(shè)計(jì)電氣控制柜實(shí)現(xiàn)不一樣的功能。 本設(shè)計(jì)主要解決課題中控制板的軟件設(shè)計(jì)部分工作。 關(guān)鍵詞 : 電氣測(cè)試柜 軟件系統(tǒng)設(shè)計(jì) Excel 清單 CAN通信 畢業(yè)設(shè)計(jì)說(shuō)明書(論文)外文摘要 Title Software Design of main control panel on Electrical Testing cabi Abstract The electrical testing cabi is a kind of cabi which gives equipment output signal that based on logical function of the device and pare the standard to get results at the same time . Its core chip is generally microcontroller, and it bees more intelligent, but also has a good reliability and accuracy because of the development of science and technology . The work solves the design of the main control panel software in the issue . Article briefly describes the electrical cabi hardware and software system architecture , and by checking data on the table with the actual circuit gives meaning to its logical explanation, finally, giving routines about a list of data(Excel format) in the software system and the CAN munication in munication module ,while giving a certain amount of ments about the design part of the program .In a familiar situation to CSS programming environment ,plete the task subroutine design content, and the subroutine does not appear logical error debugging. Keywords : Electrical Test Cabi design of software system Excel data cabi CAN munication 本科畢業(yè)設(shè)計(jì)說(shuō)明書(論文) 第 I 頁(yè) 共 I 頁(yè) 目錄 1 引言 ................................................................................................................................... 1 電氣控制柜的簡(jiǎn)介 ........................................................................................................... 1 電氣控制柜的發(fā)展及展望 ................................................................................................ 1 論文內(nèi)容安排 .................................................................................................................. 2 2 基于地鐵設(shè)備檢測(cè)的電氣柜邏輯測(cè)試儀 ............................................................................... 2 基于地鐵檢測(cè)的電氣控制柜硬件系統(tǒng) ............................................................................... 2 基于地鐵檢測(cè)的電氣控制柜軟件系統(tǒng) ............................................................................... 3 3 電氣控制柜軟件系統(tǒng)設(shè)計(jì) .................................................................................................... 4 軟件系統(tǒng)各模塊功能簡(jiǎn)介 ................................................................................................ 5 軟件系統(tǒng)數(shù)據(jù)清單( Excel格式)導(dǎo)入的程序設(shè)計(jì) ........................................................... 5 電氣柜數(shù)據(jù)清單( Excel格式)基本含義 ..................................................................... 6 采用封裝類: CSpreadSheet讀取 Excel數(shù)據(jù)庫(kù) .............................................................. 7 采用 ODBC的方法讀取 Excel數(shù)據(jù)庫(kù) ........................................................................... 10 小結(jié) ............................................................................................................................ 14 電氣柜通信模塊軟件設(shè)計(jì) .............................................................................................. 14 CAN通信 .................................................................................................................... 15 小結(jié) ............................................................................