Hi Gary,
Unfortunately there is no function in LabVIEW that does any IVI setup. All of the configurations for your driver sessions and logical names need to be set in MAX, and saved. So while you can change the driver session a logical name uses, you can only do this through MAX.
Kind regards,
Sheela Sujeeun
Applications Engineer
National Instruments UK