06-19-2017 04:14 AM
I am using the overlay oval to mark a colored oval on a gray scale imaq image (I16). That works fine. When I try to save this image with the info i get the above error. I tried to flatten the image that gave the same error. casting the image to RGB resulted with same error. I also tried saving the image as tiff/png prior to the overlay and got the same error. Any ideas what am i doing wrong?
The problem is in the event structure ((1) mouse down).
Thanks 🙂
Solved! Go to Solution.
06-22-2017 08:13 AM
Dear Edith,
the vi you provided includes Several Race Conditions that prevent a proper operation of your vi. Even after cleaning up some of them there is still an error remaining, which differs from the one you are referring too. Please provide a very small example vi that reproduces the error you are talking about.
06-26-2017 08:00 AM
Here is a small vi (test), which opens a float array (mean_processed), converts it into an image, displays the image and then when I try to save it I get the error message again.
06-27-2017 05:29 AM
Dear Edith,
in the vi you attached you are trying to write the png to a folder and not to a file itself. Your filepath "C:\data\170615\testing" should be named something like "C:\data\170615\testing\test.png". If you give the correct filepath, your error should vanish.
Cheers