06-14-2011 09:26 AM
Hey everyone,
I came across a bit of a glitch when I was programming using the NI vision module. Basically I plan on aquiring an array of data from my camera, then converting the array to an image and adjusting various characteristics before saving the original image. However, the program seems to keep reading the same file.
I was wondering if someone could help me by saving the array of data as an image and opening the new image for adjustments. I have attached me code. thanks! =]
06-14-2011 11:51 AM
Current error:
Error code: 1074396154
IMAQ WriteTIFF File The image is not large enough for the operation.
-----------------------------------------------------------------------------------------------------------------------------------------------
I was able to save the image without using the NI vision module, but it says the access is denied when I tried to modify the image
06-14-2011 01:18 PM
06-14-2011 01:38 PM
srikrishnaNF,
Thanks for the response! What exactly do you mean by "create another iamge reference"? Shouldn't I only need to create one image, which is used in the arraytoimage.vi and then writefile.vi?
06-15-2011 02:54 AM
Hi BoilerUp81,
I mean to say use another "Imaq create" function for reading the saved file.In the while loop,place a shift register and wire the image out reference from "imaq read function" to its end and wire the image out reference from bcg lookup.vi to other end.
Thanks and regards,
srikrishna