Hi,
I am not familiar with your instrument, but is this a functionality that is built into the scope? You may consult the manual for more information on the function you are looking for. There is a driver already created for the IVI driver that can be found in our insturment driver library at www.ni.com/idnet.
Hope this helps out.
Best Regards,
Aaron K.
Application Engineer
National Instruments