04-22-2011 02:26 AM
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.
04-24-2011 11:44 PM
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製品ディスカッション
Kind Regards
Taiki Hoshi
Applications Engineer
NI Japan