Error -1073807298: Could Not Perform Operation Because of I/O Error Using a Third Party Instrument in LabVIEW

Updated Jan 20, 2023

Reported In

Hardware

  • Serial Cable

Driver

  • NI-VISA

Issue Details

I get an error -1073807298 when I try to run any of the VIs that come with the Instrument Driver for my Third Party Instrument. When I try to run a VI in the driver, I get the driver error 1073807298:

Error -1073807298 occurred at an unidentified location

Possible reason(s):

VISA: Could not perform operation because of I/O error




I have the folder containing the drivers located at C:\Program Files\National Instruments\LabVIEW XX\instr.lib location and hence I see the instrument's VIs in my functions palette under All Functions>>Instrument I/O>>Instrument Drivers. What is causing this and how can I fix it?
 

Solution

First, confirm that the correct instrument driver is being used for your specific hardware by reviewing the driver's ReadMe file. 

In some cases, some of the SubVIs in this program have broken run arrows:


This was because various Call Library Function Node blocks in these subVIs were trying to look for the dll in C:\Program Files\National Instruments\LabVIEW XX\LabWindows XX\Released XXX\ folder. However, the dll should be and was in C:\Program Files\National Instruments\LabVIEW XX\instr.lib\ folder. 

Two things can be done here. You can either point each of the Call Library Function Node in various subVIs to look for the dll where it is located presently, or you can copy and paste the dll in C:\Program Files\National Instruments\LabVIEW XX\LabWindows XX\Released XXX\ folder. 
 

Additional Information

There are other contexts in which error -1073807298 can occur, including the use of VISA Read / Write as well as with devices connected using a USB-Serial Adapter. Reference the following articles in these cases: