Hi ceger -
This confusion has been mentioned before, and we're working on a better way to word that documentation for future releases of the driver.
A value of -1 means that the function will
wait for the current buffer being acquired to finish and then return that. A value of -2 to means that it will simply return the the last entire buffer that has already been acquired into memory.
So if you have this function in a loop and give it -1 for the buffer number, the loop will iterate at the rate at which frames are coming in, and each frame will be a new image. If you have -2 for the buffer number, the loop will iterate as fast as it can, and it will get the same image until the next one has been fully acquired.
David Staab, CLA
Staff Systems Engineer
National Instruments