QUOTE(Neville D @ Oct 26 2007, 03:08 PM)
Attached in the previous Comment by me is a screenshot of the IMAQ JPEG Demo Code with a while loop. After your suggestion about killing the buffer after decode, then using a fresh buffer on the next iteration. I have implemented that concept (I think!) and have uploaded that code. See attached .zip file.
Also noteworthy is the fact that I do not have NI Vision Module, so I had to slightly Modify the JPEG code by deleting the IMAQ Cast.vi inside JPEG Decode.vi I don't think that doing this would cause my memory error though.
And noteworthy is the fact that the code from NU does not come with the current image datatype. I have tried converting the datatype with the utility provided by NI for this, and have tried just copying and pasting the new image datatype. I don't know if one works better than the other.
I could save the string to a file then open the file, but that to me seems to involve an unnecessary step. What I am doing is recieving a JPEG Encoded String over a UDP connection. On the recieving end I, I simply want to view the imagery. This imagery comes across the UDP connection at a rate of ~3 frames / second.
Thanks for your help, Neville
What I would like is for someone to verify that I am performing the Imaq Functionality correctly, and am not missing something small. Also, If someone could verify or not verify that the JPEG Decode.vi is working correctly with RGB images.
Ben