re: VISA errors.
I'm new to all of this. I needed to replicate an ATE system that was put together for us by a large US consulting company several years ago (before my time). They were pretty good with their documentation, but they neglected to mention that a VISA run time is needed to be installed before their application would work. Probably because they developed the software on the existing systems and the Labview/CVI development system automatically installed VISA. The system uses instruments from Agilent and Tek, and a Keithley KPCI-488 card as the controller. I installed everything as they described and when I ran the application (that had been developed with CVI), got the now classic error bfff009e, "A code library required by VISA could not be located or loaded".
This has got to be one of the dumbest, least clear error messages I've seen in a long time. Not knowing anything else, an educated guess would indicate that it is VISA itself that is generating this error message. It doesn't tell you what specifically is missing so it is almost usless. However, a search of the NI message boards here indicates that it is actually a total lack of VISA at all that causes this error message. Using the search string "a code library" results in 60 hits, most all for the same issue in one way or another. It would seem to me that an error message that simply states instead "VISA is not installed" or some such thing would have saved hundreds of developers countless debugging hours.
I know this is not NI's fault, I have seen the same error message within an XML file of error messages on Agilent's software as well so it must be a "standard" message.
My 2 cents...
Oh and another thing, the CEC488 driver software that comes with the Keithley KPCI-488 card seems to expect the VISA run time to be in the C:\VXIPNP directory and not the
C:\Program Files\IVI Foundation\VISA directory. This means that you MUST use Version 4.1 or earlier. (Or maybe install one of these earlier ones then install the latest.) I couldn't get an install of 4.2 to work, but 4.1 does. Maybe if I now install 4.2 it will work because it defaults back to the old installation directory. See the readme for version 4.2.-RLL