I am developing a LabView interface to a legacy device driver which is in the form of a native Windows DLL. The heart of the device driver is a callback function that periodically delivers data (video frames) from the device (a camera). I have a written a wrapper DLL which implements the callback function, puts the frames on a queue, and exports a function that can be called from LV to pop a frame from the queue. On the LV side I have a thread that polls for frames by calling the "pop frame" fu