全國最多中醫師線上諮詢網站-台灣中醫網
發文 回覆 瀏覽次數:721
推到 Plurk!
推到 Facebook!

怎麼將這一段程式由vb轉成bcb

尚未結案
logi
一般會員


發表:4
回覆:4
積分:1
註冊:2002-10-26

發送簡訊給我
#1 引用回覆 回覆 發表時間:2004-09-22 16:44:52 IP:220.142.xxx.xxx 未訂閱
Dim o As Object Dim txt As String Set o = CreateObject("LeCroy.ActiveDSOCtrl.1") Dim deviceAddress As String deviceAddress = "IP: 169.254.248.227" Dim success As Boolean success = o.MakeConnection(deviceAddress) If (success = False) Then MsgBox "DSO not found ! Address may be wrong ..." GoTo 999 End If Call o.SetRemoteLocal(1) Call o.WriteString("buzz beep;*idn?", 1) txt = o.ReadString(500) ' check accumulated error status If (o.ErrorFlag = True) Then MsgBox o.ErrorString End If ' release the control 999 Set o = Nothing
系統時間:2024-07-02 6:27:38
聯絡我們 | Delphi K.Top討論版
本站聲明
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。
2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。
3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇!