RS485通訊卡獲取卡資料之後怎麼按照時間把它保存到Excel.xls裡去

各位大哥大姐。我是一個初學者,我想知道怎麼從RS485資料獲取卡,怎麼去採集3個溫度錶的PV資料,此部分小弟已知道怎麼寫,但是現在不知道怎麼寫保存.然後是怎麼按照時間關係excel.xls列表把它保存下來.time,tc1,tc2,tc3,然後時間12:35,120’C,139’C,148’C   期待著各位大哥大姐的佳音<o:p></o:p>

祝你們生活愉快。

2009-03-31

您們的學弟:謝海峰

xiehaifeng39903.956412037

使用 Register 再用 Get Date/Time String 與擷取的資料 Build Array

Data Save Examples.vi

< http-equiv=“content-” content=“text/; charset=utf-8”>< name=“progid” content=“word.”>< name=“generator” content=“microsoft word 12”>< name=“originator” content=“microsoft word 12”><!–[if gte mso 9]><>
<w:word>
<w:view>Normal</w:view>
<w:zoom>0</w:zoom>
<w:trackmoves/>
<w:trackatting/>
<w:punctuationkerning/>
<w:drawinggridverticalspacing>7.8 磅</w:drawinggridverticalspacing>
<w:displayhorizontaldrawinggridevery>0</w:displayhorizontaldrawinggridevery>
<w:displayverticaldrawinggridevery>2</w:displayverticaldrawinggridevery>
<w:validateagainstschemas/>
<w:saveifinvalid>false</w:saveifinvalid>
<w:ignoremixedcontent>false</w:ignoremixedcontent>
<w:alwaysshowplaceholdertext>false</w:alwaysshowplaceholdertext>
<w:donotpromoteqf/>
<w:lidthemeother>EN-US</w:lidthemeother>
<w:lidthemeasian>ZH-CN</w:lidthemeasian>
<w:lidthemecomplex>TH</w:lidthemecomplex>
<w:compatibility>
<w:spaceforul/>
<w:balancesinglebytedoublebytewidth/>
<w:donotleavebackslashalone/>
<w:ultrailspace/>
<w:donotexpandshiftreturn/>
<w:adjustlineheightintable/>
<w:breakwrappedtables/>
<w:snaptogridincell/>
<w:applybreakingrules/>
<w:wraptextwithpunct/>
<w:useasianbreakrules/>
<w:dontgrowautofit/>
<w:splitpgbreakandark/>
<w:dontvertaligncellwithsp/>
<w:dontbreakconstrainedforcedtables/>
<w:dontvertalignintxbx/>
<w:word11kerningpairs/>
<w:cachedcolbalance/>
<w:usefelayout/>
</w:compatibility>
<w:browserlevel>MicrosoftInternetExplorer4</w:browserlevel>
<m:mathpr>
<m:mathfont m:val=“cambria math”/>
<m:brkbin m:val=“before”/>
<m:brkbinsub m:val="–"/>
<m:smallfrac m:val=“off”/>
<m:dispdef/>
<m:lmargin m:val=“0”/>
<m:rmargin m:val=“0”/>
<m:defjc m:val=“centergroup”/>
<m:wrapindent m:val=“1440”/>
<m:intlim m:val=“subsup”/>
<m:narylim m:val=“undovr”/>
</m:mathpr></w:word>
</><![endif]–>

<!–[if gte mso 10]>

/* Style Definitions */ table.MsoNormalTable {mso-style-name:普通表格; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes; mso-style-parent:""; mso-padding-alt:0cm 5.4pt 0cm 5.4pt; mso-para-margin:0cm; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:10.5pt; mso-bidi-font-size:14.0pt; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-font-kerning:1.0pt;}

<![endif]–>

謝謝JD這位好大哥,真的是非常的感謝,它讓我想了好久,都沒有想出來。

< http-equiv="content-" content="text/; charset=utf-8">< name="progid" content="word.">< name="generator" content="microsoft word 12">< name="originator" content="microsoft word 12">

你的學弟:謝海峰


<o:p></o:p>

xiehaifeng39905.9873958333