您好,我正在尝试编写一个C程序来自动执行某些测试并生成测试报告。
我正在使用N9000A信号分析仪。
我的C程序可以发送SCPI命令,但每当我尝试查询某些内容时,它都不起作用,我收到超时错误。
要测试命令,我使用Keysight Connec
tion Expert软件并通过USB发送。
这是一个例子:----------------------------------------------
--------------------------------:CALC:MARK:FUNC:BAND:SPAN?
!
VI_ERROR_TMO:发生超时Visa ErrorCode:0xBFFF0015(-1073807339)-------------------------------------
-----------------------------------------我也注意到当我尝试这个命令时
:CALC:MARK1:FUNC:BAND:SPAN 500 kHz信号分析仪说“Undefined header:CALC:MARK”提前感谢您的帮助。
凯文
以上来自于谷歌翻译
以下为原文
Hello,
I'm trying to write a C program to automate some tests and generate a test report. I'm using the N9000A signal analyzer.
My C program can send SCPI commands just fine but whenever I try to query something, it doesn't work, I get a timeout error.
To test the commands I use the Keysight Connection Expert software and send them via USB.
Here's an example:
------------------------------------------------------------------------------
:CALC:MARK:FUNC:BAND:SPAN?
! VI_ERROR_TMO: A timeout occurred
Visa ErrorCode: 0xBFFF0015 (-1073807339)
------------------------------------------------------------------------------
I also noticed that when I try this command :CALC:MARK1:FUNC:BAND:SPAN 500 kHz the signal analyzer says "Undefined header:CALC:MARK"
Thank you in advance for your help.
Kevin