05-25-2010 08:40 PM
Hi,
I have some questions about saving images to bmp(or jpg) or avi.
I just began to use LabVIEW Machine Vision, so please understand if my questions are somehow ridiculous.
I am working with NI PXI 1409 analog frame grabber and CCD monochrome camera.
Since the 1409 is attached to PXI chassis, I use Vision Acquisition Express vi in RT(Real Time) level.
So, when I try to save a single image or continuous image to file in my PC, it shows an error.
I am wondering if there is a way to save images to file on my PC hard drive.
When I set the path like C:\acquired image.bmp, no error occured and I think the bmp file is saved on the RT computer, not on my PC.
So, I am also wondering how I can access the directories of RT computer.
Thank you very much, in advance.
JY
Since I am just a beginner, I am looking into the labVIEW Machine Vision and Image Processing Course Manual.
Solved! Go to Solution.
05-26-2010 12:02 AM
05-26-2010 09:38 AM
Hi JY,
Can you FTP to the directories? If you open a web browser and type FTP://ip address from your host machine, you should be able to navigate directories of your RT target.
05-26-2010 11:51 AM
Hi Muks,
Yes. And also I'd like to save a single image to a file(bmp or jpg) too on my PC hard drive.
When I try to save a snapped image to a file, I could do it on the RT-target(not on my PC) and find the bmp file by FTPing the directory of RT-target. However, When I try to save continuous images to avi file(simple vi below), it gives me an error which I attach below.
Also, I wondering if there is a way to save images to file on my PC hard drive, not on the RT-target.
Thank you.
05-27-2010 03:27 AM
05-27-2010 05:05 PM
Hi JY,
That error is being thrown because you cannot use AVI VI's on a RT Target. That's because these VI's use DirectX, which is no available on RT. You can take a look at the following article for more details. There is also a workaround where you stream the data to your local machine and then save to AVI.
http://digital.ni.com/public.nsf/allkb/5C7A6FE2C2D49BE286256FE8007FDC35?OpenDocument
I hope this helps!
05-28-2010 10:28 AM