LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Read BMP File Requires Absolute Path

I noticed something today regarding the Graphics Formats, Read JPG File, Read PNG File and Read BMP File vi's. It seems that when reading a JPG or PNG file, a relative path is OK, but when reading a BMP file, an absolute path is required. When the path only contains the filename, it returns:

    Error 1430
    "Open/Create/Replace File in Read BMP File Data.vi->Read BMP File.vi->ReadImageFileTest.vi"

I tried a simple test that uses either the relative or absolute path, trying to read 3 different files in the same directory as the VI. Only the Read BMP File errors. Of course, the simple work around is to always use the full pathname to a file. Is this only on my system? Is this a known bug or feature or expected behavior?

I'm using LabVIEW 8.2 on Windows XP.

Thanks!

B-)








Message Edited by LabViewGuruWannabe on 11-05-2007 11:06 PM
0 Kudos
Message 1 of 4
(3,298 Views)
Missed this on the first post:





Message Edited by LabViewGuruWannabe on 11-05-2007 11:10 PM
0 Kudos
Message 2 of 4
(3,292 Views)

Hi LabVIEWGuruWannabe,

This has been previously reported to R&D (CAR ID #48OD9NOR) for further investigation.  It looks like in the meantime you will have to go ahead and provide the absolute path.  I hope this isn't too much of an inconvenience.  Thanks for the feedback!

Have a great day!

Jason W.

National Instruments
Applications Engineer
0 Kudos
Message 3 of 4
(3,252 Views)
Thanks, Jason. That's good news.

B-)
0 Kudos
Message 4 of 4
(3,239 Views)