I was thinking originally of doing a similar thing, except that I
wanted C++ code to do the acquisition as well. In the end, I gave up
because I was never able to find out how to export the
interfaceID/sessionID to my DLL so that it can access the card. It
looks like LV hides it (good programming practice) to prevent other
people from tapping into the board and leaving it in an undefined state.
That said, you can probably pass just a pointer to the raw buffers
themselves. They end up having type (void *) and I've found that I can
work with them just fine. You just have to know the format
(width/height) and the number of bytes per pixel and how they are
formatted. LV probably has other routines that can give you more
standardized format, but that will come at the expense of processing
time.
--
[System info: NI-1429e running in 'Base' CL-mode plugged into an x4 PCI-e slot on a Dell PowerEdge 1800, dual 3.2Ghz Xenon, 6GB RAM, Windows 2003 Server SP1, LV8.0/7.1, IMAQ v3.5, Dell CERC SATA RAID controller card with 4x250GB Seagate HDD, one Seagate 250GB HDD connected to system's primary SATA port for OS.]