Hi Xiang,<br>
<br>
I don't think yuou want to use the pulse width measurement for that and I don't think that's how the reference levels work.<br>
Instead I'd suggest you use the High Time and Low Time measurements.<br>
<br>
In terms of the SCPI commands to control these and other measurements, they should all be documented in the measurement chapter of the programmer's manual.