LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How to read data directly into an image, etc.

I am writing an interface (API) for our own video hardware.  I am using a wrapper DLL to interface into a lower-level DLL.  This wrapper DLL is called from LabVIEW using CLFN.  I have the basic stuff working, but now I need to do some *serious* image data I/O.  This not strictly for real-time apps,  but time is critical so minimizing data copies is a high priority.

 

I need to be able to perform the following:

1. Transfer raw video data directly from the card into a LabVIEW Image or Pixmap (I will need a pointer to the image data for my DMA memory transfer).

2. Display the LabVIEW Image or Pixmap.

3. Convert the LabVIEW Image or Pixmap into an AVI file.

4. Transfer data directly from a LabView Image or Pixmap into the card (I will need a pointer to the image data for my DMA memory transfer).

 

Optional but desired:

1. Load a BMP file into a LabVIEW Image or Pixmap. 

2. Save to BMP file from a LabVIEW Image or Pixmap.

 

I've been looking at the LabVIEW image and picture functions, and the answer is not "jumping and biting me in the butt" yet.  I sure could use some direction.  What's the best way to approach this?  I can put some (or most) of the code into my wrapper DLL. 

 

I would greatly appreciate your ideas!

 

I should add the the data from our card is 32-bit unsigned pixels.  I can do transformations in the wrapper DLL, but since time is critical, avoiding that is a priority as well.

 

 

Message Edited by garya505 on 03-29-2010 04:10 PM
0 Kudos
Message 1 of 3
(3,036 Views)

It seem you have posted this questio in the wrong board: since it refers entirely to labVIEW you should post it in the appropriate board.



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 3
(3,016 Views)
Oops, my bad!  Thanks.
Message Edited by garya505 on 03-30-2010 12:22 AM
0 Kudos
Message 3 of 3
(3,011 Views)