您好我对这个
论坛的新用户我遇到万用表34420A的问题我首先用万用表上的显示器进行阻抗读数,然后使用GPBI端口用excel进行相同的电阻测量,我得到差不多20%的误差
这是否意味着我的编程代码错误或数字界面与它有关?我的代码:Private Sub cmdSingleReading_Click()delay 1000'在活动单元格中放置一个读数Dim Address As String Address = Agt3494A1.Address If
Len(地址)地址=“GPIB0 :: 22”Agt3494A1.Address =地址结束如果txtAddress.Text =地址Dim结果为Double Agt3494A1.Output“Read?”
Agt3494A1。输入结果Dim contador As Double contador = Cells(2001,1)+ 1 Cells(contador,1).Value = result End SubThanks提前
以上来自于谷歌翻译
以下为原文
Hi im new to this forum
I'm having a problem with a mul
timeter 34420A I first take a resistence reading with the display on the multimeter and then I take the same resistance measurement with excel using the GPBI port and I get an error of almost 20% does this means something on my programing code is wrong or the digital interface has something to do with it?
My code:
Private Sub cmdSingleReading_Click()
delay 1000
' Places a single reading in the Active cell
Dim Address As String
Address = Agt3494A1.Address
If Len(Address) < 4 Then ' no address
Address = "GPIB0::22"
Agt3494A1.Address = Address
End If
txtAddress.Text = Address
Dim result As Double
Agt3494A1.Output "Read?"
Agt3494A1.Enter result
Dim contador As Double
contador = Cells(2001, 1) + 1
Cells(contador, 1).Value = result