Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

The query command did not return a response.

提供的信息:型号:SDS1202X-C 序列号:SDS1EDEQ4R8883 固件:1.3.27 问题:SCPI 写入成功,读取总是超时(超时时间为 180000 毫秒,尝试使用 Socket/USB,*IDN? 成功,但查询命令未返回响应)。

 
 

image.png

0 Kudos
Message 1 of 4
(175 Views)

Your measurement query is wrong. Go actually read the manual and understand what the command structure actually is instead of doing a direct copy/paste.



There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 4
(156 Views)

Hi crossrulz,

Thank you for your reply and suggestion.

I completely agree that reading the manual is important, and I have done so. The commands I'm using are directly from the official SIGLENT SDS1000X-E Series Programming Guide (PG01-E02D/EN02E), and the syntax is correct.

Here are the key points:

  • IDN? works perfectly and returns the full identification string: Siglent Technologies,SDS1202X-C,SDS1EDEQ4R8883,1.3.27
  • All write operations (non-query commands) succeed: :SYSTem:LOCK OFF → Write Count 16 bytes, No Error :RUN, :STOP, :TRIGger:MODe AUTO, :AUToset all send successfully (Return Count normal).
  • But every query command (commands ending with ?) fails to return any response: :SYSTem:LOCK? → Write succeeds (13 bytes), but Read times out (VISA error 0xBFFF0015) even with Timeout set to 180000 ms. :TRIGger:STATe?, :WAVeform:PREamble? behave the same way — no data returned, always timeout.

I have tried:

  • NI-VISA Test Panel (Timeout up to 180s)
  • EasyScopeX SCPI window (same timeout on queries)
  • Raw Socket (port 5025)
    • Device Clear before each query
    • *RST to reset the instrument
    • Full self-calibration after firmware upgrade to 1.3.27

    Manual operation (front panel buttons) works normally (Run/Stop light changes, waveform appears after Auto Setup), so the hardware is fine.

    The issue seems to be that the instrument receives and executes write commands, but does not send back any response for queries (not even an empty string or error code).

    Is this a known issue with the SDS1202X-C / 1.3.27 firmware? Or is there a specific configuration that disables query responses?

    I have attached screenshots of the VISA log and the Programming Guide page confirming the command syntax.

    Any advice or insight would be greatly appreciated!

    Best regards,

0 Kudos
Message 3 of 4
(131 Views)

The manual is a bit unclear about this but it does show it into the C example.

 

You did not try to append \n in the NI Max Interactive Control. And most likely you might have to append that in LabVIEW too. But watch out that you set the string control/constant to '\'-Code Display mode

Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 4 of 4
(60 Views)