How to automate delay (skew) measurements between channels with tm_devices #444
-
|
Hello, I'm trying to automate measurement of the delay (skew) between two channels on the MSO5B oscilloscope and having trouble finding the proper command syntax. Setup: MSO5B oscilloscope with a 100 MHz signal on channels 2 and 3. Channel 1 in this test case is displayed on screen, with a low voltage signal, just to demonstrate that I don't understand the command syntax of the Delay command. The result of this script is that I have two Delay measurements: Meas 1: Channel 1 / Channel 2 Questions: How did Channel 2 get into my delay measurements? There is some modal behavior here that I don't understand that inserts channel 2 into the delay measurement. What is the proper syntax for a delay measurement between two channels? Looking in the MSO5B Programming Manual: I see that there's some DIRECTION and EDGE commands that I'm not specifying anywhere. I would appreciate any help with this command syntax, or pointing to a delay example (which I haven't found). I feel like I'm close to the solution, but maybe someone has already been there. Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
I just figured out that I can select the measurement channels for the delay measurement with a query command: I don't understand why the query command should have any effect on the channel selection of the measurement. |
Beta Was this translation helpful? Give feedback.

The proper form would be the
.write()method..query()always sends a.write()before querying the device, but the.write()is all you need.