Error -1074395995 at IMAQ ReadFile or IMAQ Write File 2 on Real-Time Target

Updated Jan 9, 2026

Reported In

Software

  • LabVIEW Real-Time Module
  • Vision Development Module

Driver

  • NI-IMAQ
  • NI-IMAQdx

Operating System

  • NI Linux Real-Time

Issue Details

  • I have a LabVIEW VI that accesses an image file using IMAQ ReadFile VI or IMAQ Write File 2 VI. The VI works fine on my Windows PC. However, when I deploy it on my Real-Time (RT) target, the function outputs error -1074395995.
  • What causes error -1074395995 to appear on my Linux RT device but not on my Windows PC?
  • The IMAQ ReadFile VI generates the below error when running on a RT target. How can I fix this?


Error -1074395995 occurred at an unidentified location
Possible reason(s):
File not found.




Solution

This error appears due to an incorrect file path structure on the Real-Time (RT) target, causing LabVIEW to think that the file does not exist.

IMAQ ReadFile VI and IMAQ Write File 2 VI requires a path similar to /home/lvuser/xxx.jpg.

Additional Information

On NI Linux RT targets, the root file path is / and forward slashes serve as delimiters between directories. NI Linux RT targets do not have a C drive. However, for convenience, the directories /c and /c/ni-rt exist, and /c/ni-rt/startup redirects to /home/lvuser/natinst/bin, which is the recommended path for startup applications on NI Linux Real-Time targets.

 

Refer to Working with File Paths on NI Real-Time Targets for LabVIEW coding considerations when using file paths on different operating systems.