I am not sure whether the R3131 Advantest is the same as the Rhode and Schwartz R3131, but I downloaded the RS driver from the location:
http://www.rohde-schwarz.com/www/dev_center.nsf/show?OpenAgent&form=/www/download.nsf/showDriverFiles&driverNo=R3131LabView
and it seems to have a VI:
AVR3131 Getting Started Function.vi
which inits the analyzer, sets the freq and span, and then reads the trace and displays it. I dont know whether it works but this may help.
Otherwise, I would assume the driver you have must have an init vi, which requires the address info, and then outputs a resource handle and error handle to pass to other vis that are provided to perform the various functions -- I would assume that you could follow the example from the RS VI and replace i
t with the vis provided in your driver.