LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error code 1074396120 appers when using IMAQ WriteFile.vi

When this VI is run, the error message 1074396120, "not an image", appears.

If the VI is run with highlight button ON, the error message doesn't appear and the images are properly saved.

I want to correct this VI.

 

0 Kudos
Message 1 of 2
(2,358 Views)

Hi Shigeru187,

 

I think there is a good chance that the error is occurring because the IMAQ WriteFile.vi is not able to access the IMAQ memory that it is trying to access. IMAQ WriteFile takes a bit of processing time and there is a possibility that the memory it is referencing is overwritten/deleted during access. Since it works fine in highlight execution, I recommend placing wait functions where it maybe necessary in order to examine the timing of this behaviour.

 

Also, for future reference, we have a Japanese forum available where Japanese customers and NI Japan posts messages in Japanese so please feel free to use the site below if required.

 

NI製品ディスカッション

http://forums.ni.com/t5/NI%E8%A3%BD%E5%93%81%E3%83%87%E3%82%A3%E3%82%B9%E3%82%AB%E3%83%83%E3%82%B7%E...

 

Kind Regards

 

Taiki Hoshi

Applications Engineer

NI Japan

0 Kudos
Message 2 of 2
(2,345 Views)