Here is some Python code that might more in line with what you are trying to do.<br>
I will upload an image of the outputs I get.  I have been feeding a 500Hz sine wave to the DMM7510.
<pre class="linenums prettyprint">debug = 1
NUM_SAMPLES = 100
my_instr.write('*RST')
my_instr.write(':TRACe:MAKE "voltDigBuffer",' + str(NUM_SAMPLES))
my_instr.write(':DIG:FUNC "VOLTage"')
my_instr.write(':SENS:DIG:VOLT:INP AUTO')
my_instr.write(':SENS:DIG:VOLT:RANG 10')
my_instr.write(':SENS:DIG:VOLT:SRATE 5000')   #5KHz sample rate
my_instr.write(':SENS:DIG:VOLT:APER AUTO')
my_instr.write(':SENS:DIG:COUN ' + str(NUM_SAMPLES))
my_instr.write(':TRAC:POIN ' + str(NUM_SAMPLES))
my_instr.write(':TRAC:CLE')
my_instr.write(':TRAC:TRIG:DIG "voltDigBuffer"')
# wait for done before asking for the data
time.sleep(1)  #pause before asking for data
if debug == 1:
    my_instr.write(':TRAC:DATA? 95, 100, "voltDigBuffer", REL, READ')
    print("****** response to last five points query *************")
    print(my_instr.read())
#split, parse, etc.
"""
raw_data will be comma delimted string of 
timestamp, reading, timestamp, reading,... etc.
"""
#ask for all the data
#TODO:  adjust for NUM_SAMPLES
raw_data = my_instr.query(':TRAC:DATA? 1, 100, "voltDigBuffer", REL, READ')
raw_data_array = raw_data.split(',')
timestamps = []
Digitized_V = []
# use step of 2 because there are two elements per reading
for i in range(0, len(raw_data_array), 2):
    if len(raw_data_array[i]) > 0:
        timestamps.append(float(raw_data_array[i]))
        Digitized_V.append(float(raw_data_array[i+1]))
if debug == 1:
    print("******* Timestamps *******************")        
    print(timestamps)
    print("******** Voltage ******************")
    print(Digitized_V)
    print("**************************")
    print()
#graph it
plt.autoscale(True, True, True)
#plt.axis([0, 0.2, 0, 50e-6])
plt.plot(timestamps, Digitized_V, 'c--')
plt.show()
</pre>