07-07-2006 12:28 PM
07-08-2006 02:17 PM
Posting the code or image of it would definitely be helpful, and shift registers would be prefereable over locals, but I guess that the problem here that you're trying to pass an IMAQ reference (which is only a pointer to the data and not the data itself) and that might be the source of the problem since either (guessing here) the IMAQ ref becomes invalid or you're not using the right function to extract the data.
To learn more about LabVIEW, I suggest you try searching this site and google for LabVIEW tutorials. Here, here, here and here are a few you can start with and here are some tutorial videos. You can also contact your local NI office and join one of their courses.
In addition, I suggest you read the LabVIEW style guide and the LabVIEW user manual (Help>>Search the LabVIEW Bookshelf).
07-10-2006 12:23 PM
07-10-2006 02:04 PM
I don't use IMAQ, but basically, the image data would be extracted with the various IMAQ VIs.
If the 2 frames of the case structure are really executing in different iterations of a loop, then I would actually expect this to work, but if the program is stopped then the IMAQ reference would lose its meaning. In any case, a program with sequence structures and locals can be a good recipe for race conditions and problems like this. I would suggest that you try to follow the tutorials and simplify the code and, if that doesn't help, post your code so we can have a better look at it.
07-11-2006 01:14 PM