Hello, I programmed the 3562A for use over GPIB control when the screen went dead on the unit we had. Over GPIB, using the drivers from HP, there is a "button" mode where each command mimics pressing a button on the device. I suggest you develop a sequence of buttons that you press to take the measurement, then code in that sequence and verify that is works correctly. That will set up the machine to take the measurement. Then there are commands to read out the data. Once the data is read out, probably into an array, you can use the "array to spreadsheet file.vi" to save the data in a text file. You may have to transpose the data before it is written to get columns instead of rows.
Good Luck!
-Andrew