:MEASure:TDR:LIST:MOVe
Command Syntax
:MEASure:TDR:LIST:MOVe <source index>, <destination index>
<index> is an int.
Query Syntax
:MEASure:TDR:LIST:MOVe?
Description
In TDR/TDT Mode's Results table, moves the specified measurement to another position in the table. Both the <source index> and <destination index> arguments are required. The indexes are integers that identify a measurement position in the table. The measurement list is indexed starting at 1 which is the first (top most) measurement in the list. The second measurement from the top is identified as 2, and so forth.
To get the index value for a listed measurement, use the measurement's :LOCation? child command. For example, use for a Fall Time measurement, you would send :MEASure:TDR:FALLtime:LOCation? to return the index. Use this index as the <source index> for the move. In your program, you do not need to first select the measurement before you send this command to move the measurement.
Example Command Sequence
This script assumes that Oscilloscope Mode's Results table is displayed with the Fall Time measurement listed. The script locates the Fall Time measurement and moves the measurement to the top of the table (index 1).
Moving a Measurement Result
import pyvisa as visa # import VISA library
rm = visa.ResourceManager()
FlexDCA = rm.open_resource('TCPIP0::localhost::hislip0,4880::INSTR')
FlexDCA.timeout = 5000 # Set connection timeout to 5s
FlexDCA.read_termination = '\n'
FlexDCA.write_termination = '\n'
index = FlexDCA.query(':MEASure:TDR:FALLtime:LOCation?')
print('Fall Time index: ' + index)
FlexDCA.write('MEASure:TDR:LIST:MOVe ' + index +', 1')
index = FlexDCA.query(':MEASure:TDR:FALLtime:LOCation?')
print('New Fall Time index: ' + index)
FlexDCA.write(':SYSTem:GTLocal')
FlexDCA.close()