Showing results for 
Search instead for 
Did you mean: 

Error -1074360317 in IMAQdx Get Image vi

I am receiving an error -1074360317 in IMAQdx Get Image vi. The code is attached for reference. I also found a document regarding error which I am experiencing. But if i try to implement what is mentioned in the document then it gives me another error message which is shown below in image. Please guide how to fix this error. Many thanks.





0 Kudos
Message 1 of 21

You attached a lot of VIs. I tried opening the one in the top folder, but I didn't see the camera functions there. Please tell us what to actually look at.

0 Kudos
Message 2 of 21

I don't have Vision on this computer, but I think you might have to name your IMAQ session when you create it. And if you know the data type of your image you should wire that in too.

0 Kudos
Message 3 of 21

You need to open Video Tx vi whch is located at Data folder inside Transmit folder.

0 Kudos
Message 4 of 21

You never call VideoTX with the Initialize Video State, so the Camera is never initialized.  Duh.


In order to figure out how your code was put together and to find who called what and where, I had to put it all into a LabVIEW Project.  Am I correct that you have not done this?  If so, you are making a very serious mistake, as LabVIEW Project makes it much easier (and, in some cases, is required) to work with "projects" that have multiple VIs.  The only time I do not work withi a Project is when I'm making a tiny Test VI whose name I never change from "Untitled 1" (and which I never save to disk).


Bob Schor

Message 5 of 21

The main purpose of the project is to read avi video from file rather than camera.

0 Kudos
Message 6 of 21

It's your code, and your error.  If the error is caused by something missing from your code (I can't read the error message on the tiny picture in your first post), if the Error involves the Camera, and you aren't using the Camera, remove the Camera VIs from your code and try again.


Is your code in a LabVIEW Project?  If it is not, please put it in one and try again.


Bob Schor

0 Kudos
Message 7 of 21

The screen shot of the error message is attached again.  I also created project as you said.


Please help me to fix this error.



Download All
0 Kudos
Message 8 of 21

Typically when I work with images I have a "session" for my camera and an "image" which I pass into the indicator to display it or functions to manipulate it. You have your "session" going into the IMAQ create (where it looks like it is being coerced into a string) and that's all you do with it, the session is gone. Now both shift registers are holding image pointers. 


Instead, you probably want your "session" to go into the top shift register, and then the output from IMAQ create into the bottom shift register, getting rid of the "image in" control.

0 Kudos
Message 9 of 21

@josephkirmani wrote:

The screen shot of the error message is attached again.  I also created project as you said.


Please help me to fix this error.



Sigh.  Your Zip file, which should include the Project and all of its associated files, contains just the Project declaration.  Where are the associated files?


Try this.  Assume that all of the Files you need are in the folder "Video from file".

  1. Start LabVIEW, click Create Project, and create a Blank Project (named "Untitled Project 1").
  2. In the Project Explorer, right-click My Computer, select Add, Folder (Snapshot), find and click "Video from file", and choose "Current Folder".  A Virtual Folder, "Video from file", should appear under "My Computer".
  3. Now we want to save the Project, renaming it to something sensible, inside the Video from File folder.  Go to File, Save, change the Name shown below to something other than "Untitled Project 1", and save it inside the Video from File folder.  You should have something that looks like this ...Video from File Project.png
  4. Now Compress the Video from File folder and attach it.  It will contain all of your files + the Project specification(s).

Bob Schor

Message 10 of 21