此內容不適用於您所偏好的語言。

此內容已顯示為其他適用語言。 您的瀏覽器可能含有可協助翻譯的套件。

Error -1074397163 When Using NI-IMAQ in LabVIEW

Updated Sep 25, 2025

Reported In

Software

  • LabVIEW
  • Measurement & Automation Explorer (MAX)

Driver

  • NI-IMAQdx
  • NI-IMAQ

Issue Details

I am trying to open a session with my camera in LabVIEW, using the NI-IMAQ VIs available as part of the Vision Acquisition Software. When trying to utilize the IMAQ Init VI, I get the error -1074397163. However, if I try to capture images with my device through NI Measurement & Automation Explorer (MAX), everything works as expected. The error message is presented below: 

 
Error -1074397163 occurred at IMAQ Init.vi
 
Possible reason(s):
 
NI-IMAQ: The passed in interface or session is invalid.

 

 

Solution

Error -1074397163 suggests that the IMAQ Init VI is not being able to identify the correct Interface name for your camera. To solve the issue, please review and verify the steps below:
 

  • Check that the interface name being used with the IMAQ Init VI, matches the one assigned to the camera in NI MAX.  To ensure the correct interface name is utilized, open NI MAX and navigate to My System>>Devices and Interfaces. The name that appears next to the camera model is the one that must be used to control the device in LabVIEW, as shown below.

 

  

 
  • Ensure that your camera and frame grabber (if applicable) are supported by the NI-IMAQ driver. For more information about which NI Vision driver (NI-IMAQ, NI-IMAQdx, or NI-IMAQ I/O) is required by your device, please refer to the following documentation: NI Vision Driver and Vision Acquisition Device Compatibility.