你好,我是GPIB编程的E4991A阻抗分析仪。
我想从分析仪读取跟踪数据到我的计算机。
我在使用我的程序同步分析仪扫描时遇到问题。
我首先打电话给分析仪,通过GPIB触发新的扫描。
这很有效。
然后,我调用读取跟踪数据。
就我而言,那个电话是“CALC 4 ATA?FDATA”。
完成此调用后,将从分析仪中读取数据。
但是,触发扫描不一定完成。
我想在程序中添加一些内容,以确保在检索数据之前完成扫描。
在VNA的过去,我会使用OPC或OPC吗?
在检索数据之前确保扫描/命令完成的命令。
我需要一个命令来询问扫描是否完成。
现在,我已经使用了读取扫描时间,只是在检索数据之前睡了一段时间。
我不喜欢那个拐杖。谢谢
以上来自于谷歌翻译
以下为原文
Hello,
I'm GPIB programming the E4991A impedance analyzer. I want to read the trace data from the analyzer to my computer. I'm having problems synchronizing the analyzer sweep with my program. I first make a call to the analyzer to trigger a new sweep via the GPIB. This works. Then, I make the call to read the trace data. In my case, that call is "CALC 4 ATA? FDATA". Once this call is made, the data is read from the analyzer. However, the triggered sweep is not necessarily completed. I want to add to the program something to assure that the sweep is complete before retrieving the data. In the past with VNA's, I would use an OPC or OPC? command to assure a sweep/command is complete before retrieving the data. I need a command to interrogate that the sweep is complete.
Right now, I've resorted to reading the sweep
time and just sleeping for that period before retrieving the data. I don't like having to use that crutch.
Thanks
0