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.
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).
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.
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.
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".