“感谢您的回复,但使用int 32 i降低了S21参数的准确性。此外,我尝试使用Matlab和Labview,使用这两个软件,获取数据的速度相对于VEE更快
非常奇怪,因为在VEE的情况下我使用仪器的驱动程序,而在matlab和labview的情况下没有。所以它不是过时的仪器和界面的问题,但可能是我的旧版本的VEE。我不知道是否
新版本有同样的问题!!!!!!任何额外的建议???“我在这个帖子中找到了你的程序...脑海中出现了两个主要问题:1)你说你试图与MatLab和Labview集成
“获取数据更快”。
每次你从一种语言跳到另一种语言,你的速度会慢下来。
这就像使用电池给电机充电发电一样,在这种情况下,你的效率会降低10%.2)看完你的程序后,我发现50行内有40个效率低下......如果你可以在没有VEE的情况下访问你的驱动程序
,我会推荐它。
否则,尝试进行一些VEE培训。
尝试摆脱遗留组件驱动程序并使用非传统gpib。
我不确定8510C是否支持SCPI。
如果确实如此,请认真考虑直接I / O而不是组件驱动程序命令。一般情况下,只需尝试减少“直到中断”之后的所有混乱(在您的情况下可以用“For Count”替换,因为这就是你的全部
'干嘛)。
您应该能够将其缩小为:“For Count”>“MARKER_VALUE_1”>“Collector”>“Logging AlphaNumberic”
以上来自于谷歌翻译
以下为原文
"
Thank you for your response but using int 32 i reduce the the accuracy of the S21 parameter.
Moreover in this day i try to use Matlab and Labview and with this two software the speed to acquire the data is faster with respect to VEE and this is very strange because in the case of VEE i use the instrument's driver while in the case of matlab and labview no.
So it's not a problem of the obsolete instruments and interface but probably of my old version of VEE.
I don't know if the new version have the same problem!!!!!!
Any additional suggestion???
"
I found your program in this thread... Two major issues come to mind:
1) You say your trying to integrate with MatLab and Labview to "acquire the data is faster". Every time you jump from one language to another, your going to slow down. It's like using a battery to charge a motor to generate electricity in which case you get less that 10% efficiency.
2) After looking over your program, I see about 40 inefficiencies within 50 lines... If you can access your drivers without VEE, I would recommend it. Otherwise, try to get some VEE training. Try to get away from the legacy component drivers and use non-legacy gpib. I'm not sure if the 8510C supports SCPI. If it does, seriously consider Direct I/O instead of component driver commands.
In general, just try to reduce all the clutter after the "Until Break" (which in your case could be replaced by a "For Count" because that's all you're doing).
You should be able to reduce it to: "For Count" > "MARKER_VALUE_1" > "Collector" > "Logging AlphaNumberic"