该内容不适用于您选择的语言

该内容将以另一种语言显示出来。 您可使用浏览器的翻译功能查看内容。

Error -1074360316: Invalid Camera Session With NI-IMAQdx

Updated Aug 8, 2023

Reported In

Software

  • LabVIEW

Driver

  • NI-IMAQdx
  • Vision Acquisition Software

Issue Details

  • I'm trying to run my program that requires NI-IMAQdx in LabVIEW, but I receive the following error on startup.
Error -1074360316 occurred at IMAQdx Get Image.vi 

Possible reason(s): 
NI-IMAQdx: (Hex 0xBFF69004) Invalid Camera Session
  • I am using an NI-IMAQdx Ring Buffered Acquisition in LabVIEW and after some time Error -1074360316 occurs.

Solution

This error code can occur if Vision Acquisition Software hasn't installed or activated properly on your PC. If you have installed but not activated it, LabVIEW will still not be able to recognize the NI-IMAQdx driver. This means that if the license issue is resolved and the IMAQdx driver is activated, then the executable will work well.
It can also occur if the IMAQdx Camera Session used by IMAQdx VIs is lost, deleted from memory, closed elsewhere in the program or otherwise affected.

Check Your Licensing & Installation
To check for Vision Acquisition Software licensing:

  1. Navigate to NI License Manager program.
  2. Go to the Local Licenses tab.
  3. Activate the Vision Acquisition Software by right-clicking on it and choose Activate.

Alternatively, if the above steps didn't solve this issue:


Using Ring Buffered Acquisition?
When using Ring Buffered Acquisition, such as in the Stream to TDMS Files (Optimized Performance).vi, the IMAQdx Camera session is passed around in a loop. In some architectures this reference can get lost, so it is recommended to add a feedback node to the Camera Session wire. 

  1. Right click on the Camera Session wire.
  2. Select Insert >> All Palettes >> Programming >> Structures >> Feedback Node.
  3. Complete the red box wiring from image below. (Based on the example mentioned above).

IMAQdx Camera Session FBnode

Additional Information

Activation is only required for the NI-IMAQdx driver, which includes support for FireWire (IEEE 1394), GigE (Gigabit Ethernet), and USB (USB3 Vision or DirectShow compliant) cameras. No activation is required for NI-IMAQ and NI-IMAQ I/O.