Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

How to write a sequence of 4 IMAQ IEEE 1394 images to a hard drive?

I have a Foculus FO322B 1394 camera.
I was able to acquire 4 images using the IMAQ1394 "Sequence.vi" (attached), but I don't know how to save these 4 images (8-bit or 14-bit mono). I tried "IMAQ Write File 2.vi" and "IMAQ AVI Write Frame.vi" but was unsuccessful. 
 
Any help or advice is appreciated.
 
jun
0 Kudos
Message 1 of 2
(3,187 Views)
I have attached a simple VI which should aid you in your solution.  I am using the AVI functions within LabVIEW to accomplish this.  Because you have a 14-bit monochrome image, I am converting it to a U32 RGB image.  The output looks exactly the same.  This is because the monochrome pixel values are copied three times into the Red, Blue, and Green pixel values.  Since therefore the ratio of RGB values is always 1:1:1, the image is always gray, although it is technically an RGB image.  This should preserve your resolution and provide a means store your images.  Before running the VI, you may need to change the camera settings to be compliant with your particular camera. I hope this helps!

Wes P
Applications Engineer
National Instruments
Wes Pierce
Principal Engineer
Pierce Controls
0 Kudos
Message 2 of 2
(3,165 Views)