Hi!
I am using the ":MEASure:DEFine THResholds,PERCent,90,10,9" command, but I am only able to change the thresholds for channel 1. I need to change it for Channel 3. The documentation does not give an option to specify which channel I am adjusting, and the above command only changes threshold for channel 1. Can anyone help?
EDIT: I managed to hack a solution like this:
:MEASure:DELay CHANnel3,CHANnel2
:MEASure:DEFine THResholds,PERCent,90,10,9
:MEASure:CLEar
But still, there has to be a cleaner way of doing this, I consider this an ugly hack. Anyone?
Edited by: mTeilgard on Nov 10, 2014 5:40 AM
I am using the ":MEASure:DEFine THResholds,PERCent,90,10,9" command, but I am only able to change the thresholds for channel 1. I need to change it for Channel 3. The documentation does not give an option to specify which channel I am adjusting, and the above command only changes threshold for channel 1. Can anyone help?
EDIT: I managed to hack a solution like this:
:MEASure:DELay CHANnel3,CHANnel2
:MEASure:DEFine THResholds,PERCent,90,10,9
:MEASure:CLEar
But still, there has to be a cleaner way of doing this, I consider this an ugly hack. Anyone?
Edited by: mTeilgard on Nov 10, 2014 5:40 AM
Automatic delay measurement on Keysight InfiniiVision & InfiniiVision-X (which illustrates the answer)
There are two ways to do this.
First, you could use the built in delay measurement. This will work well for you as long as the channels are different. Basically what you’d want to do is set the thresholds as needed for each of the channels. See first screenshot below. Using the on board measurements, the delay measurement auto selects which edges. When you program it, you should first define the measurement, however. Like this:
:MEASure:DEFine THResholds,ABSolute,2.6,1,0.3,CHAN1 <- defines absolute thresholds of:
Upper = 2.6V
Middle = 1V <- where the measurements is made
Lower = 0.3V
For CH1
:MEASure:DEFine THResholds,ABSolute,2,0.5,.3,CHAN2 <- defines absolute thresholds of:
Upper = 2V
Middle = 0.5V <- where the measurements is made
Lower = 0.3V
For CH2
:MEASure:DEFine DELay,3,-1 <- defines the edges as the 3rd rising edge on the first channel, and the first falling edge on the second channel
*NOTE: if you have an edge close to the left side of the screen, it may not count it…. So do some tests first, of course
And finally:
:Measure: DeLay CHANNEL1,CHANNEL2 <- turns on the delay measurement as per above, so CH1 is the first channel, and CH2 is the second channel.
Then read back with:
:MEASure:DELay?
-----------------
another method
The other method would be to use the markers. The marker time will be with respect to the trigger. Then do a TVLAUE measurement; this measurement is only available through programming. This measurement find the time from the trigger to some event you specify (i.e. channel, edge #, edge direction, and voltage). You would take this answer and then take the difference in it from the marker position. This measurement is not annotated with markers.
For example:
:MEASure:TVALue? 5,3,CHANNEL2
Measures the time from trigger for the 3rd rising edge on ch2, at 5V
MEASure:TVALue? 5,-3,CHANNEL2
Measures the time from trigger for the 3rd falling edge on ch2, at 5V