Hi athulks555,
This error typically indicates that NI-VISA is either not installed or that there was an error with the install. To remedy the error, try uninstalling any existing versions of NI-VISA on your computer, and then either reinstall the same version or upgrade to the latest version. I’ve provided a link to the NI-VISA download below (be sure to check out your LabVIEW compatibility), as well as links to a couple other forum threads that have addressed this issue/error.
NI-VISA 15.5 (March 2016, Windows/various RT):
http://www.ni.com/download/ni-visa-15.5/5846/en/
NI-VISA and LabVIEW Compatibility:
http://digital.ni.com/public.nsf/allkb/CF4279A34F855AB186257B1F00003B82
Forum threads:
http://forums.ni.com/t5/LabWindows-CVI/Visa-Error-0xBFFF009E-under-devices/td-p/154163
http://forums.ni.com/t5/LabWindows-CVI/code-library-VISA-could-not-be-located-or-loaded/m-p/516534
Ross S.
Applications Engineering
National Instruments