StartU2741A()在测量周期开始时调用一次。在测量周期结束时调用一次.UpdU2741A()为什么GetDCV()似乎需要430毫秒(不包括对StartU2741A()和StopU2741A的调用(
))?有没有办法提高性能?使用Agilent.AgilentU2741A.Interop;私有静态AgilentU2741A u2741a;私有const字符串U2741A_OP
tiONS =“QueryInstrStatus = true,Simulate = false,DriverSetup = Model =,Trace = false”; private void
StartU2741A(){u2741a = new AgilentU2741AClass(); u2741a.Initialize(“U2741A”,false,true,U2741A_OPTIONS);} private void StopU2741A(){u2741a.Close();} private void GetDCV(){u2741a.DCVoltage。
测量(100,0.0000015);}
以上来自于谷歌翻译
以下为原文
StartU2741A() is called once at the start of a measurement cycle.
StopU2741A() is called once at the end of a measurement cycle.
Why does GetDCV() seem to take 430 milliseconds (not including the calls to StartU2741A() and StopU2741A())?
Is there a way to increase the performance?
using Agilent.AgilentU2741A.Interop;
private static AgilentU2741A u2741a;
private const string U2741A_OPTIONS =
"QueryInstrStatus=true, Simulate=false,DriverSetup= Model=, Trace=false";
private void StartU2741A()
{
u2741a = new AgilentU2741AClass();
u2741a.Initialize("U2741A", false, true, U2741A_OPTIONS);
}
private void StopU2741A()
{
u2741a.Close();
}
private void GetDCV()
{
u2741a.DCVoltage.Measure(100, 0.0000015);
}