我不确定这是否是LCR设备的正确部分,但我在万用表的另一个帖子中看到了这个设备。
我正在尝试将E4980A LCR编程为在Lp-Rdc模式下读取电感/ DCR测量值,并将结果放在excel
电子表格中。
需要进行许多测量,因此在下一次读数时,应将这些新信息放在相同的列中,一行向下。
一列用于电感,一列用于RDC。
目前我只能切换测量模式,比如Ls-Rdc到Lp-Rdc。
我无法弄清楚将读取测量值转换为VBA变量的语法。
我目前正在使用这种格式的代码:instrument.writestring(“:FETC”)仪器变量已正确定义,我可以从设备获取IDN值,因此这不是问题。
我使用USB连接和Excel 2010与VBA。
我已尝试在数据表和设备的网页中使用提供的程序。
我可以让握手宏工作,但在尝试读取数据时它会停止。
如果需要澄清,请告诉我。
谢谢。
编辑:Lightning Man于2012年8月1日上午5:34编辑:Lightning Man于2012年8月1日上午5:35
以上来自于谷歌翻译
以下为原文
I'm not sure if this is the correct sec
tion for LCR devices but I saw this device in another post under multimeters.
I am trying to program the E4980A LCR to read inductance/DCR measurements in Lp-Rdc mode and place the results in an excel spreadsheet. Many measurements would need to be taken so upon the next reading it should place this new information in the same columns, one row down. One column for inductance and one for RDC. Currently I am only capable of switching the measurement mode, say from Ls-Rdc to Lp-Rdc. I cannot figure out the syntax to take read measurements into VBA variables.
I am currently using code in this format: instrument.writestring (":FETC")
The instrument variable has been defined properly and I can get the IDN values from the device, so that is not an issue. I am using USB for connections and Excel 2010 with VBA.
I have tried using the supplied programs both in the datasheet and the webpage for the device. I can get the handshake macro to work but upon trying to read data it stops.
If clarification is need just let me know.
Thank you.
Edited by: Lightning Man on Aug 1, 2012 5:34 AM
Edited by: Lightning Man on Aug 1, 2012 5:35 AM