I do not very sure what went wrong but does the HP34401A Getting Strated.vi requires "GPIB0::20::INSTR" address string? (didn't the address/ port number will do?)
If you only need to take measurement, you might wanna try using VISA instead of the instr. drivers
I have attached a simple (you may need to modify it) example for your reference. Hope this will help.
ian.f.k