09-02-2009 08:51 PM
Hi I need to grab an image from a camera and save it in a known format (such as TIF). What is the best way to do this in LabView. We are using an EDT camera via a PCI DV C-Link http://www.edt.com/pcidv_cl.html. Appreciate any help/ guidance.
09-03-2009 02:25 AM
EDT says:
Not directly. Our API is designed to allow programmers to build functionality into their applications, and all hooks are available to make EDT API subroutine calls from drivers for third party packages, but we do not provide the drivers ourselves. Some drivers are available from other providers; see our Partners page.
So you will need to use the Call Library Function Node to integrate their Drivers DLL into your LV. How to save the images then in a standart format depends on the data format you get from their driver.
Using an NI Framegrabber would be easier
Christian
09-03-2009 03:34 PM
We are using a LabView 2D array of unsigned short of camera pixel data filled in from a DLL. How do I convert this LabView 2D array into a known lossless format such as TIF?
09-04-2009 03:51 AM
If its not necessary to have .TIF, you can use the Flatten Pixmap.vi to convert your U8 Array into a pixmap and then use the Write JPG File.vi to save it as JPG or the Write PNG File.vi to save it as PNG.
Otherwise search under ni.com or within the forums for an example how to convert whatever format into the .TIFs and save it with binary file I/O VIs.
Christian
09-07-2009 10:13 PM - edited 09-07-2009 10:15 PM