與我們聯絡

與 Tek 業務代表即時對談。 上班時間:上午 6:00 - 下午 4:30 (太平洋時間)

致電

請致電

與 Tek 業務代表即時對談。 上班時間:上午 8:30 - 下午 5:30 (太平洋時間)

下載

下載手冊、產品規格表、軟體等等:

下載類型
機型或關鍵字

意見回饋

Result of measurement command is always zero

Model: MSO5204B | Subject: Troubleshooting | Published: October 2026 | FAQ ID: KB-01142
Q: I'm having troubles getting a useful response from a measurement command.  The result is zero all the time, for every type of measurement.  Here's the setup:

Inject a 10kHz 4Vp-p sine wave from a signal generator into a TEK MSO5204B on channel 4.  Use SCPI commands to turn on CH4 and put the scope in "RUN" mode.

Send these SCPI commands:
MEASUrement:MEAS1:SOUrce CH4
MEASUrement:MEAS1:TYPE FREQUENCY;ACQUIRE:STATE ON
MEASUrement:MEAS1:VALue?

The scope's measurement setup page will show Frequency as measurement number 1 on CH4
The query returns the following result:

:MEASUREMENT:MEAS1:VALUE 0.00000000000 FREQ

I can parse out the value easily enough but the value should be 10 kHz, not zero.

A: 
the solution is to turn on the measurement state, with the commands:

:MEASUrement:MEASx:SOUrce CHchannel;
:MEASUREMENT:MEASx:STATE ON