The driver comes with a complete set of functions and several high level examples that incorporate them. There's one called HP34970A Advanced Scan Example that will take voltage and/or resistance measurments from a single scan list. It is easily modified to take other measurments. There's another one called HP34970A EZ Scan Example. To use either one as is, open it, specify the address of the instrument, enter a channel list, pick the configuration, and then run it.