I don't know what changes the HP (Agilent) made between the A and B models of that instrument, but if the change wasn't to go from old style GPIB commands to SCPI complient ones it should work. One thing to check is the initialization routine though, sometimes the writer will do an ID of the instrument and expects back the device string, including rev letter (i.e. HP5316A vs HP5316B). To correct that usually only requires changing the comparison string to either match what you have, or drop the revision letter. Try the driver, using all the commands that you expect to use (vs all the possible commands, usually a much bigger superset) and see. If they won't work basically the instrument will just sit there, lights blinking, waiting for you to say something it understands. You may want to research at the Agilent site to try and determine what changed between revs.
P.M.
PutnamCertified LabVIEW Developer
Senior Test Engineer North Shore Technology, Inc.
Currently using LV 2012-LabVIEW 2018, RT8.5

LabVIEW Champion