"Error -1073807202 : A code library required by VISA could not be located" When Using NI-VISA
LabVIEW Development Systems>>LabVIEW Full Development System
Primary Software Version:
Primary Software Fixed Version:
Why do I receive error -1073807202 : A code library required by VISA could not be located
when attempting to use NI-VISA to communicate with hardware?
This error could occur because of the following reasons:
Related Links: KnowledgeBase 3JHAHIPH: How Do I Resolve VISA Error -1073807202 (0xBFFF009E) on FieldPoint RT Controllers?Drivers and Updates: NI-VISACommon VISA and Instrument Driver Errors (in LabVIEW)
- NI-Serial or NI-VISA Software need to be repaired
The earlier versions of NI-Serial (earlier than 1.6) would occasionally cause an error during reinstallation. When trying to run the program after doing a reinstallation, this error could occur. The solution in such a case would be removing the software completely from the system and performing a reinstallation or upgrading to a newer version of NI-VISA (see link below).
- NI-VISA not installed in the system at all
NI-VISA is required if you want to communicate through the serial port using LabVIEW. To verify if NI-VISA is installed open Measurement and Automation Explorer, expand the "Software" section in the left column, and verify that NI-VISA appears in the list. If NI-VISA does not appear, download the current version of the NI-VISA driver (see link below).
- Visa32.dll missing
This DLL should be located at WINDOWS\system32. If this DLL is missing for some reason, this error could occur. Copy the DLL from some other system when serial communication is working fine and place it here.