(单独发送到VRF)附件是一个代码片段,用于测量Agilent 5071C ENA的占空比。
也就是说,在连续内部触发时刷新所有迹线所花费的时间。
我把它连接到一个多端口测试装置,所以我不能只使用扫描时间来了解占空比。当使用Agilent 82357A USB到GPIB转换器时它可以工作。
给出一个可信的循环时间,可以通过坐在那里用秒表和计数测试装置面板LED闪烁来验证。但是当我使用Agilent 82350B PCI GPIB接口时,它不起作用。
它总是说零周期时间,或偶尔大约16ms这太小而不能正确。任何想法?程序的要点是:设置操作状态使能寄存器位4(测量)设置服务请求使能寄存器位7(操作状态)
寄存器摘要)然后重复清除状态字节,然后串行轮询第7位设置,测量Spoll对象触发的频率.Cheers,Warren
以上来自于谷歌翻译
以下为原文
(Sent separately to VRF)
Attached is a code snippet which is supposed to measure the duty cycle of an Agilent 5071C ENA. That is, the
time taken to refresh all traces when in continuous internal trigger. I have it attached to a multiport test set, so I can't just use sweep time to give an idea of the duty cycle.
It works when using Agilent 82357A USB to GPIB converter. Gives a believable cycle time which can be verified by sitting there with a stopwatch and counting test set panel LEDs flashing.
But when I use Agilent 82350B PCI GPIB interface, it doesn't work. It always says zero cycle time, or occasionally about 16ms which is way too small to be correct.
Any ideas?
The gist of the program is:
Set operation status enable register bit 4 (Measure)
Set service request enable register bit 7 (operation status register summary)
Then repeatedly clear status byte and then serial poll for bit 7 set, measuring how frequently the Spoll object fires.
Cheers,
Warren
附件