是德科技
直播中

李兰英

7年用户 206经验值
私信 关注
[问答]

使用N9000A信号分析仪查询信息超时

您好,我正在尝试编写一个C程序来自动执行某些测试并生成测试报告。
我正在使用N9000A信号分析仪。
我的C程序可以发送SCPI命令,但每当我尝试查询某些内容时,它都不起作用,我收到超时错误。
要测试命令,我使用Keysight Connection 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

回帖(1)

莫循虎

2018-9-12 15:56:31
嗨,我试过命令“:CALC:MARK:FUNC:BAND:SPAN?”
并且“:CALC:MARK1:FUNC:BAND:SPAN 500 kHz”在N9010A Win7上通过USB成功完成。
语法没问题。
你之前激活了标记功能和“BAND / INTERVAL POWER”或“BAND / INTERVAL DENSITY”吗?
关心伊夫

以上来自于谷歌翻译


     以下为原文

  Hi,

I tried command ":CALC:MARK:FUNC:BAND:SPAN?" and " :CALC:MARK1:FUNC:BAND:SPAN 500 kHz" with success via USB on my N9010A Win7.
Syntax was OK. 

Are you activated marker function before and "BAND/INTERVAL POWER" or "BAND/INTERVAL DENSITY"?

Regards
Yves
举报

更多回帖

发帖
×
20
完善资料,
赚取积分